Commit Graph

4531 Commits

Author SHA1 Message Date
Ralph Giles
104d30ab53 Bug 1300219 - Update mp4parse to v0.5.0. r=kinetik
Result of running the update script and updating gecko's
integration crate for the layout change.

MozReview-Commit-ID: GaIMFKmPmtf

--HG--
extra : rebase_source : 0d3a2f1d211840879e562cb56afcc9ef7e38c730
2016-09-02 14:27:50 -07:00
Ralph Giles
3985298455 Bug 1300219 - Update mp4parse vendoring script for v0.5.0. r=kinetik
This release splits the capi into a separate crate and adds
mp4parse_is_fragmented() for vp9 support.

MozReview-Commit-ID: JkwylmdfPa9

--HG--
extra : rebase_source : b74b7e20aaf49fe1b2b7121562352c755db3aff3
2016-09-02 14:04:38 -07:00
Gerald Squelart
df2f457e83 Bug 1298710 - Remove ByteReader::DiscardRemaining and AutoByteReader - r=jya
DiscardRemaning was needed to prevent debug-time assertion that the buffer was
read completely or explicitly discarded.

However this required extra work in cases where buffer didn't need to be read
to the end.
And also it could cause crashes (in debug versions) if a buffer was not fully
read, be it because the parser was incorrect or because the media file itself
was wrong (though possibly still readable despite that).
Finding parser issues is still possible by manually instrumenting ByteReader
during development.
And reading media file with small recoverable errors is a bonus.

MozReview-Commit-ID: 2RUYzaYAeRW

--HG--
extra : rebase_source : 26c41758b1b2c87542bf4e41d08e361198ca5b13
2016-09-04 18:33:30 +10:00
Nils Ohlmeier [:drno]
02dde2e10d Bug 1298991: only create candidate pairs from STUN response when needed. r=bwc
MozReview-Commit-ID: KpqNyi0FVb3

--HG--
extra : rebase_source : 8bde1830fa0a37205f647a4d594583e4641d041a
2016-08-29 16:34:22 -07:00
Wes Kocher
08fbeaaf2e Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Ryan VanderMeulen
f55f7d9df3 Backed out 3 changesets (bug 1286041) for crashtest failures.
Backed out changeset 5e08455b6011 (bug 1286041)
Backed out changeset 25dd85b13da9 (bug 1286041)
Backed out changeset 48bb5e3170a0 (bug 1286041)

--HG--
extra : rebase_source : 303a619a5be40f81fcd1a418f0b5253c1e34c2d0
2016-08-29 17:05:33 -04:00
Michael Froman
0ba5cd3741 Bug 1298189 - implement logging in FakeLogging.h so we get logs when running tests. r=drno
MozReview-Commit-ID: HKY0VW4FYz2

--HG--
extra : rebase_source : 31089dc477a07a37ab7da8b3810c1dd955526137
2016-08-25 21:54:18 -05:00
Alex Chronopoulos
37e0260ff1 Bug 1286041 - Cubeb PulseAudio wait to drain when stop during draining. r=kinetik 2016-08-26 04:23:00 -04:00
Gerald Squelart
d56f52d1c6 Bug 1298271 - Make BoxReader use AutoByteReader - r=jya
This is done by moving FlacFrameParsers' AutoByteReader to a more public spot
in libstagefright's bindings.
Using AutoByteReader means there is no more need for explicit calls to
DiscardRemaining(); which means our parsers relying on BoxReader will be more
lenient about boxes that are larger than needed.

MozReview-Commit-ID: 3EERU749WYB

--HG--
extra : rebase_source : 6deba02ac553303b0a2b694c24bfcb54c2e732b1
2016-08-26 18:14:24 +10:00
Gerald Squelart
2088a45732 Bug 1298275 - Make ~AutoByteReader non-virtual - r=jya
Also ByteReader and AutoByteReader are marked RAII, to help prevent misuses.

MozReview-Commit-ID: 7oklXs4QMnq

--HG--
extra : rebase_source : 54fca3168a70d951e6012baea4bf0544827cae11
2016-08-26 17:27:23 +10:00
Ryan VanderMeulen
4a76c08262 Merge m-c to autoland. a=merge 2016-08-26 09:38:49 -04:00
Dan Minor
2e990bcf42 Bug 1255371 - Invalid RTCP SR sent by Firefox when h264 is used; r=jesup
Setting the capture_time_ms to -1 causes RTCPSender::SetLastRtpTime to ignore
it and use the current clock time. The default value of 0 will be used in the
the calculation in RTCPSender::BuildSR and cause mismatched timestamps.

MozReview-Commit-ID: IK8lLK8Rmla

--HG--
extra : rebase_source : 6aac4f8f2a5336280c6c0c36386f990b490bff2c
2016-08-23 09:46:23 -04:00
Alex Chronopoulos
ff133bd20d Bug 1286041 - Cubeb PulseAudio backend stop calling callback before stream start. r=kinetik 2016-08-04 03:32:00 -04:00
Randell Jesup
a974d905be Bug 1297808: Limit combined size of RTCP APP packets r=drno 2016-08-29 13:23:51 -04:00
Glenn Randers-Pehrson
54a06def18 Bug 1296946 - Move enabling ARM-NEON PNG from old-configure.in to libpng/moz.build. r=jrmuizel
DONTBUILD

--HG--
extra : source : 7785b40af14f91910ad30c731212e5bdbb50bb09
2016-08-24 15:44:00 -04:00
Ryan VanderMeulen
fef63c9543 Backed out changeset 7785b40af14f for landing with the wrong bug number in the commit message. 2016-08-25 21:45:15 -04:00
Glenn Randers-Pehrson
85000b8d09 Bug 1295671 - Move enabling ARM-NEON PNG from old-configure.in to libpng/moz.build. r=jrmuizel
--HG--
extra : rebase_source : c4f10bd0eb20bfe7420016d02d6b2254dcbbccf1
2016-08-24 15:44:00 -04:00
Wes Kocher
f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Ryan VanderMeulen
e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Ryan VanderMeulen
520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Andreas Pehrson
83dcc7266e Bug 1259788 - Break out AddTrackInternal() from DOMMediaStream::CreateDOMTrack. r=jesup
Sometimes a track is added to a stream synchronously (before the stream is
exposed to script), and sometimes asynchronously (see the mediacapture-main spec
on the "addtrack" event).

In the latter case we might still need to create the MediaStreamTrack object
synchronously for tracking purposes. CaptureStream of Media element playing a
MediaStream wants this.

MozReview-Commit-ID: 7me8xzN7rwj

--HG--
extra : rebase_source : 4f129b127b855e47aad2ae9ab3981ffde057412d
2016-08-12 13:50:41 +02:00
Michael Froman
d81f5eab06 Bug 1295552 - restart ice ctx needs stun/turn/dns setup to match original ctx. r=drno
MozReview-Commit-ID: H8o3gEnFfzQ

--HG--
extra : rebase_source : 59a5b05cf14da6492f4edaba6e3d7d18cf8ca242
2016-08-18 17:29:49 -05:00
Adam Roach [:abr]
f4b965fbf1 Bug 1279065: Part 1 - SDP Changes for dtls-message attribute r=bwc 2016-08-24 09:11:28 -05:00
Ryan VanderMeulen
2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Matthew Gregan
94df8b79e6 Bug 1296988 - Update libnestegg. r=rillian 2016-08-25 13:49:22 +12:00
Gerald Squelart
7002e12f9f Bug 1296473 - Add test case to gtest. r=jya
MozReview-Commit-ID: A5eKRkh3tgx

--HG--
extra : rebase_source : 608b4b4e2779d22a9e8da1cf85490f47a7409e8c
2016-08-22 12:15:56 +10:00
Gerald Squelart
d2dc14aefa Bug 1296473 - Check stagefright memory allocations. r=jya
Memory allocations for which the size is based on media data are now fallible,
and therefore no OOM should happen there.

MozReview-Commit-ID: BGWOPDcBbLw

--HG--
extra : rebase_source : 1a30c68135ff46b5f2ca02bd7a40dd27cbb8eac8
2016-08-21 15:45:49 +10:00
Ryan VanderMeulen
d63783b351 Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
Ryan VanderMeulen
82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Jean-Yves Avenard
51fc514176 Bug 1195723: [flac] P7. Add flac demuxer. r=kamidphish
MozReview-Commit-ID: 5db0hAsDjji

--HG--
extra : rebase_source : 976dbcbcb46b82a7e09a38106df9ad7d2578f829
2016-08-17 15:40:14 +10:00
Jean-Yves Avenard
0160e2fd09 Bug 1195723: P5. Add BitReader class. r=kamidphish
Extracted from the H264 codec and using the stagefright one.

MozReview-Commit-ID: ENjsDvB9MYp

--HG--
extra : rebase_source : 293d8e184cc7b326e6b84d038fd98ff94703f31e
2016-08-17 15:27:43 +10:00
Igor
71691f0323 Bug 1197328 - Remove PR_snprintf calls in media/{webrtc,mtransport}/. r=froydnj
--HG--
extra : rebase_source : fec06fd57c8142008e9c2978ed685ce6811e9750
2016-08-16 19:54:00 -04:00
Kan-Ru Chen
b4cf4bec61 Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Jean-Yves Avenard
a18ecfafaa Bug 1280346: [mp4] Always use SPS dimensions if available. r=gerald,rillian
H264 decoders always use those anyway, so may as well use them in the demuxer if SPS NAL is available.
This guarantees that we have correct dimensions when reading the MP4 metadata, and will have the side benefit that when loadedmetadata is fired, the dimensions provided at the time will be final; not having to wait to decode the first frame.

MozReview-Commit-ID: 3j70Xqw8jJY

--HG--
extra : rebase_source : 6bc0f1fa1c2db35bcaa683cc1a68042d122e2892
2016-08-22 06:39:41 +10:00
Iris Hsiao
1637787858 Backed out changeset e7b0bdaa0661 (bug 1295552) for GTest crashed @mozilla::NrIceCtxHandler::CreateCtx 2016-08-22 11:11:05 +08:00
Michael Froman
8c9dbf602e Bug 1295552 - restart ice ctx needs stun/turn/dns setup to match original ctx. r=drno
MozReview-Commit-ID: H8o3gEnFfzQ

--HG--
extra : rebase_source : d5b1d8a4beb7f2ad1cb76391c09efc01735771ad
2016-08-18 17:29:49 -05:00
Jean-Yves Avenard
58c41caa45 Bug 1270016: P1. Add FLAC support to our ffmpeg extract. r=kentuckyfriedtakahe
Code was extracted from FFmpeg 3.1.

MozReview-Commit-ID: FgySRWoGMB5

--HG--
extra : rebase_source : cf15573de36faa3e286b1886062d9a7222c534e7
2016-08-02 22:51:41 +10:00
Nils Ohlmeier [:drno]
178cc778e6 Bug 1293457: stop printing gathering results on shutdown. r=mjf
MozReview-Commit-ID: LubRuNsaHBZ

--HG--
extra : rebase_source : 2a56762b3b6d740d9ed2a2c8d122507c00931622
2016-08-22 00:14:59 -07:00
Wes Kocher
9c3d37e549 Backed out 3 changesets (bug 1270016) for various media test failures/unexpected-passes a=backout
Backed out changeset 9178e6e14a5a (bug 1270016)
Backed out changeset 8359b182bb99 (bug 1270016)
Backed out changeset 8a0f3231b43e (bug 1270016)
2016-08-22 10:07:57 -07:00
Wes Kocher
24cb21d4f6 Backed out 15 changesets (bug 1195723) for various media test failures/unexpected-passes a=backout
Backed out changeset 2a3b10281c9c (bug 1195723)
Backed out changeset c3775a6225d8 (bug 1195723)
Backed out changeset ba0aeb71c672 (bug 1195723)
Backed out changeset 894061e6037e (bug 1195723)
Backed out changeset 4637f8be98bb (bug 1195723)
Backed out changeset c2664064fa55 (bug 1195723)
Backed out changeset 39908ea4c390 (bug 1195723)
Backed out changeset 3fcb5682049a (bug 1195723)
Backed out changeset 867d6507a381 (bug 1195723)
Backed out changeset c938ad9dd11c (bug 1195723)
Backed out changeset 7bdb9540b60f (bug 1195723)
Backed out changeset a4f7a73c04fa (bug 1195723)
Backed out changeset 7f86beff4263 (bug 1195723)
Backed out changeset efb6bcf743e7 (bug 1195723)
Backed out changeset 04eceefa54c7 (bug 1195723)
2016-08-22 10:07:25 -07:00
Jean-Yves Avenard
28274a3ea1 Bug 1195723: [flac] P7. Add flac demuxer. r=kamidphish
MozReview-Commit-ID: 5db0hAsDjji

--HG--
extra : rebase_source : e9c316502f2a4cd7bb06796a43f4c4807d5ac6f3
2016-08-17 15:40:14 +10:00
Jean-Yves Avenard
6a9478d232 Bug 1195723: P5. Add BitReader class. r=kamidphish
Extracted from the H264 codec and using the stagefright one.

MozReview-Commit-ID: ENjsDvB9MYp

--HG--
extra : rebase_source : 51b92215622df8cdcb65453013ab8022923dd9e8
2016-08-17 15:27:43 +10:00
Jean-Yves Avenard
3aef074dd4 Bug 1270016: P1. Add FLAC support to our ffmpeg extract. r=kentuckyfriedtakahe
Code was extracted from FFmpeg 3.1.

MozReview-Commit-ID: FgySRWoGMB5

--HG--
extra : rebase_source : cf15573de36faa3e286b1886062d9a7222c534e7
2016-08-02 22:51:41 +10:00
Sebastian Kaspari
9afd64fd90 Bug 1292500 - Notify WebrtcUI when video capturing is paused/resumed. r=gcp
MozReview-Commit-ID: UkJVR7zCbI

--HG--
extra : rebase_source : cf18e6d233d3cdda42d363d240f5375e79ef356d
2016-08-23 12:36:17 +02:00
Kan-Ru Chen
b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Phil Ringnalda
62d1bf1089 Merge m-c to a CLOSED TREE m-i 2016-08-23 22:57:10 -07:00
Myk Melez
c1a667e1dc Bug 1296798 - provide PYTHON value to run sub-commands with same Python; r=ted
MozReview-Commit-ID: 4fLNhPLk5fu
2016-08-23 14:58:25 -07:00
Myk Melez
023745dee7 Bug 1296798 - upgrade gyp from upstream; r=ted
MozReview-Commit-ID: GeVBrUGbaFU


--HG--
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
2016-08-23 14:58:20 -07:00
Ryan VanderMeulen
cd2e02c188 Merge m-c to inbound. a=merge 2016-08-23 10:06:36 -04:00
Dan Minor
e76acbd376 Bug 1297058 - Don't send FEC for H.264 with NACK enabled; r=jesup
MozReview-Commit-ID: KbGqXDOwGT2

--HG--
extra : rebase_source : 0eaff592520d8611b9a01deeba22fd529660802b
2016-08-22 14:06:17 -04:00
Michael Froman
a4e474f4a2 Bug 1295690 - Fix red/ulpfec codec detection. r=drno
MozReview-Commit-ID: 4aBZ9OvDix4

--HG--
extra : rebase_source : 352e0d226fc04f7ae59b5c1940b16c81a6dd5442
2016-08-17 22:20:08 -05:00
Ryan VanderMeulen
01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Wes Kocher
a58f8b89a0 Merge m-c to inbound, a=merge 2016-08-18 16:32:58 -07:00
Munro Mengjue Chiang
4eb2d3e90d Bug 1286429 - implement mediaDevices.ondevicechange for Mac OSX; r=jib,smaug
MozReview-Commit-ID: D1Jr6I4qPyr

--HG--
extra : rebase_source : 0f4a97da80d25923c9b6f6550b94039aefa88de5
2016-08-12 01:04:49 +08:00
Michael Niedermayer
70bc041bc4 Bug 1289280 - Check the input frame sizes for being consistent. r=jya
Imported from:
77b0f3f26d
Suggested-by: BBB
Fixed-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

MozReview-Commit-ID: DmBS93ydeuT
2016-08-01 13:50:21 +02:00
Wes Kocher
37a02d441d Backed out 6 changesets (bug 1264642) for marionette failures a=backout CLOSED TREE
Backed out changeset f0067001c059 (bug 1264642)
Backed out changeset 078e5c447f21 (bug 1264642)
Backed out changeset 7c60fc4144fb (bug 1264642)
Backed out changeset 9f434697ef2e (bug 1264642)
Backed out changeset 06fc278fcedf (bug 1264642)
Backed out changeset 162098402acc (bug 1264642)
2016-08-17 10:49:25 -07:00
Wes Kocher
45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Igor
175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Matthew Gregan
d586aee8fd Bug 1278612 - Use DefaultOutputUnit as the default output device. r=jesup
https://github.com/kinetiknz/cubeb/commit/6b2c610 changed the output unit
from kAudioUnitSubType_DefaultOutput to kAudioUnitSubType_HALOutput because
capture is never available on the DefaultOutputUnit.  For the case where
we're doing output only to the default device, this regressed the automatic
device switching when the output device was changed in the Sound system
preferences.  Reverting to the DefaultOutputUnit for this case restores the
previous behaviour.  This addresses BMO #1278612.
2016-08-15 13:07:50 +12:00
Gerald Squelart
43add788a7 Bug 1296532 - Use fallible arrays in MoofParser - r=jya
Use fallible allocations for arrays that could get arbitrarily long
(independant of the media file size.)

MozReview-Commit-ID: LWiKFVpYK5d

--HG--
extra : rebase_source : bc603c30214768b9a39c83bd92bc0df31d1498e4
2016-08-25 16:41:50 +10:00
Gerald Squelart
98b9185e70 Bug 1296532 - Added test case to stagefright gtest - r=jya
Only added the new test case, but it actually works fine, so the test will need
to be extended to cover the failure found in that bug.

MozReview-Commit-ID: FAU5UvkyOfD

--HG--
extra : rebase_source : fbdddecf6058662ae850366bb5f0c3afb691dd10
2016-08-25 10:58:36 +10:00
Gerald Squelart
8c865a9a89 Bug 1296532 - Fix MoofParser tests - r=jya
Well, this is embarrassing: The MoofParser test was not parsing anything,
because it was given an empty byte range!
Also HasMetadata() has to run before RebuildFragmentedIndex(), because the
latter moves the offset and would then leave nothing for the former to read.

MozReview-Commit-ID: ZB35lc8iaE

--HG--
extra : rebase_source : feff313beb159c6b22361fabc188d33fa4b93220
2016-08-25 16:58:52 +10:00
Gerald Squelart
9619c66f7b Bug 1296532 - Optionally allow crypto in stagefright gtest - r=jya
MozReview-Commit-ID: 9PhlaMm9X9o

--HG--
extra : rebase_source : 5417415eae819aae75cf9f1557fa542c17173ca5
2016-08-25 11:16:13 +10:00
Gerald Squelart
81f1aedf91 Bug 1298259 - better saio check - r=jya
MozReview-Commit-ID: 62nzw9h1f1X

--HG--
extra : rebase_source : 1eb533811082b72e4a1459bb796f1706a570ec3e
2016-08-26 13:01:32 +10:00
Daniel Holbert
65347007cd Bug 1295687: Cherrypick -Wunused-private-field warning fix from upstream gtest into our gtest clone for webrtc. r=jesup
MozReview-Commit-ID: Jz3baQ3smFY

--HG--
extra : rebase_source : f8b754afa6f0fc591a5e3377dc2895fc15f0747c
2016-08-16 11:53:10 -07:00
Glenn Randers-Pehrson
dc0ab41166 Bug 1288588 - Exit on bad CRC in fcTL or fdAT chunk in an APNG file. r=jrmuizel 2016-08-12 21:31:31 -04:00
Wes Kocher
e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Glenn Randers-Pehrson
f072d9f55e Bug 1276127 - Add SSE support to in-tree libpng. r=jrmuizel 2016-08-11 09:50:00 -04:00
Byron Campen [:bwc]
fe142cf303 Bug 1280443: Copy this the hard way. r=drno
--HG--
extra : rebase_source : d3ad50a2fb57bdaab31e53188d918ed8d6d1daa7
2016-08-10 11:51:28 -05:00
Nicholas Nethercote
bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote
d1b1a7d71d Bug 1293117 (part 3) - Remove some unnecessary |virtual| annotations. r=froydnj.
This patch changes |virtual NS_IMETHODIMP| occurrences to |NS_IMETHOD|, which
is equivalent and the more standard way of marking in-class virtual XPCOM
methods.

--HG--
extra : rebase_source : c0ad273d8e341a7601466f33420a62742130e4a6
2016-08-08 10:45:56 +10:00
Dan Minor
cd36d5b8e3 Bug 1274340 - Call SetReceiveCodec for RED and ULPFEC when FEC is enabled; r=jesup
We need to call SetReceiveCodec for RED and ULPFEC so we know how to handle
those packets when received.

MozReview-Commit-ID: A9EluM7p2NH

--HG--
extra : rebase_source : 14033558254e7b8c7bc8dc38c1b77ad371b4e6a5
2016-06-30 12:20:19 -04:00
Dan Minor
05fc0cdaee Bug 1274340 - Make RED and ULPFEC payload type match sdp values; r=jesup
To be able to send and receive video with FEC enabled it appears we need to
have matching constant values here and in sdp/sipcc/ccsdp.h.

MozReview-Commit-ID: LZzAyMW9eEu

--HG--
extra : rebase_source : 1b0588b53c3906659711ab39d51533ae38db2568
2016-06-30 12:20:04 -04:00
Glenn Randers-Pehrson
2a7cababba Bug 1291986 - Part 01 (libpng) Update embedded libpng to version 1.6.24. r=seth 2016-08-04 20:10:00 +02:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Carsten "Tomcat" Book
d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Nils Ohlmeier [:drno]
f8f35e1df4 Bug 1293172: improve DTLS handshake error message. r=mt
MozReview-Commit-ID: GM28RvCQ3O4

--HG--
extra : rebase_source : 690ec762844950c7aff2f7382d48de67a7f5e786
2016-08-07 22:34:41 -07:00
Sebastian Hengst
d307cb8dab Backed out changeset 4361c6f3b915 (bug 1289968) for failing encrypted-media-generate-request-disallowed-input.html. r=backout 2016-08-08 15:28:12 +02:00
Chris Pearce
a41f94398b Bug 1289968 - Ensure ClearKey doesn't assume keyIds can only be 16 bytes. r=gerald
I also added more testing around ClearKey's base64 decoding, since that affected
how keyIds were handled.

MozReview-Commit-ID: 2UH1JNT4NC3

--HG--
extra : rebase_source : 8e2c861e6b030d7e4a1378d3fafed7630324d940
2016-08-01 16:28:10 +12:00
Wes Kocher
83c7e63697 Merge m-c to inbound, a=merge 2016-08-05 14:06:00 -07:00
Nathan Froyd
f7fb6722a6 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-06 00:49:26 -04:00
Wes Kocher
ac0a6fd9e6 Backed out 2 changesets (bug 1286041) for asan failures in cubeb_pulse.c
Backed out changeset 72e5792fe990 (bug 1286041)
Backed out changeset 14d4b1e011ad (bug 1286041)

--HG--
extra : rebase_source : 1db28655abbb337e537a67d09e2af243ae94f081
2016-08-05 11:05:33 -07:00
Jean-Yves Avenard
b390a15468 Bug 1292039: [ffmpeg] P1. Remove unused options and dictionary features. r=kentuckyfriedtakahe.
Saving is disappointing, only 41kiB out of a 2222kiB

MozReview-Commit-ID: JNz9PxHTLUp

--HG--
extra : rebase_source : b68ed5c3784c76d840438d1d5e369c95a8abd9a7
2016-08-04 16:55:15 +10:00
Carsten "Tomcat" Book
cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Nils Ohlmeier [:drno]
b3a05a317c Bug 1290365: add TURN TCP socket to read poll after connect. r=bwc
MozReview-Commit-ID: FLITvQCt9Xq

--HG--
extra : rebase_source : 8346b3b8e1655882584bdf1a60a8af75fc1da1bf
2016-08-02 10:58:55 -07:00
Alex Chronopoulos
b8d6550755 Bug 1286041 - Cubeb PulseAudio backend stop calling callback before stream start. r=kinetik
--HG--
extra : rebase_source : cf6f9603d9b069477be572a04b7d2e0999a72d2f
2016-08-04 03:32:00 +02:00
ctai
749ec15b11 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : transplant_source : %0By%B5%91Fr%5B%BA%F7%D4%EE%FBs7%0C%F2%84%EC%5C5
2016-05-31 14:59:13 +08:00
Wes Kocher
a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Randell Jesup
c6f55e903d Bug 1294407: Clean up H264 STAP-A handling r=pkerr 2016-08-17 16:31:58 -04:00
Wes Kocher
ae855cdb28 Merge m-c to inbound, a=merge 2016-08-03 16:47:07 -07:00
Wes Kocher
9605851be0 Backed out 7 changesets (bug 1231764) for apparently causing linux debug wpt bustage
Backed out changeset 4b71272c92cf (bug 1231764)
Backed out changeset 234d8a930afa (bug 1231764)
Backed out changeset f9b204c2f5a7 (bug 1231764)
Backed out changeset f933119e57e4 (bug 1231764)
Backed out changeset e3af0b1d3473 (bug 1231764)
Backed out changeset 643b03aae1dd (bug 1231764)
Backed out changeset a945dbf63410 (bug 1231764)

--HG--
extra : rebase_source : e71360fa4b5e3e74859c82e74e183e13e6211c4c
2016-08-03 16:27:06 -07:00
Sebastian Hengst
a27be4decf Backed out changeset 0d2c395386ba (bug 1201363) 2016-08-03 19:33:24 +02:00
Nathan Froyd
6b2618fb44 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-03 19:40:41 -04:00
Dan Minor
a096887e44 Bug 1279135 - Reattach Pipeline to PipelineTransport in AttachTransport_s; r=jesup
When we call MediaPipeline::UpdateTransport_s we in turn call DetachTransport_s
which detaches the pipeline from PipelineTransport. The subsequent call to
AttachTransport_s does not currently reattach the pipeline, causing
subsequent sends to fail due to a detached pipeline. Since
PipelineTransport::SendRtpRtcpPacket_s returns NS_OK if a send fails due to a
detached pipeline, this failure is not straightforward to detect.

This patch adds an Attach() method to PipelineTransport and calls it from
AttachTransport_s.

MozReview-Commit-ID: Kfc3TH1YOno

--HG--
extra : rebase_source : 91dbb07973b62e410541150805a918e4375643af
2016-07-29 11:04:49 -04:00
Carsten "Tomcat" Book
2bcc300cca Backed out changeset 12e3777de139 (bug 1274626)
--HG--
rename : dom/media/platforms/ReorderQueue.h => dom/media/platforms/apple/ReorderQueue.h
2016-08-02 17:47:29 +02:00
Carsten "Tomcat" Book
bd81ddd0b0 merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
Carsten "Tomcat" Book
9211a18088 Backed out changeset f239b2ba9c46 (bug 1201363) 2016-08-02 12:53:48 +02:00
Jean-Yves Avenard
7f1f8deb8b Bug 1290710: [ffmpeg] Resync ffvpx with 3.1 branch. r=gerald
Sync at version n3.1.1-6-g86f9228

MozReview-Commit-ID: Qp8OxKkDHu

--HG--
extra : rebase_source : 39367dcc0ed471c65acd611eb1787fed86f261d8
2016-08-01 14:05:13 +10:00
Wes Kocher
b2fb9f514e Backed out changeset 11b27019a256 (bug 1290710) for PGO build bustage in media/ffvpx/libavcodec/target a=backout 2016-08-01 09:43:07 -07:00
Jean-Yves Avenard
ff62e39fd8 Bug 1290710: [ffmpeg] Resync ffvpx with 3.1 branch. r=gerald
Sync at version n3.1.1-6-g86f9228

MozReview-Commit-ID: Qp8OxKkDHu

--HG--
extra : rebase_source : d05415b5fad36c533ce8d900723bc360ad097598
2016-08-01 14:05:13 +10:00
ctai
93fd7395d3 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : amend_source : 19b5fca8cc2ca10d58bd8b2add9363ff9bd42b62
2016-05-31 14:59:13 +08:00
ctai
06b9cfbf60 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : transplant_source : U4%AC%EA%CA%CE%15%D6%F6%F8%05%F5%ED%FB%8EF%EF%E1X%13
2016-05-31 14:59:13 +08:00
Jan-Ivar Bruaroey
23c8aa8b52 Bug 1290625 - Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. r=achronop
MozReview-Commit-ID: AvYa8ylsdOf

--HG--
extra : rebase_source : 111b2954a089fcacc530f7d9babed5de298b5b78
2016-07-29 20:03:35 -04:00
Paul Adenot
f6b4822250 Bug 1290425 - Update cubeb to e40741 to fix bustage. 2016-07-29 14:04:09 +02:00
Alex Chronopoulos
ae1e3599d8 Bug 1290425 - Update cubeb to revision 6278ef2f73. r=padenot 2016-07-29 13:40:52 +02:00
Carsten "Tomcat" Book
8c47612fee merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02:00
Wes Kocher
97868e2577 Merge m-c to inbound, a=merge 2016-07-28 17:04:59 -07:00
Carsten "Tomcat" Book
99e55461fb Merge mozilla-central to autoland 2016-07-28 17:46:12 +02:00
Carsten "Tomcat" Book
37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Nils Ohlmeier [:drno]
650d5a0e64 Bug 1289984: fix Windows compiler warnings. r=bwc
MozReview-Commit-ID: EWSJZdxPzQk

--HG--
extra : rebase_source : 5d5c2e088c6e0dffcba9d8692d4e1a878b24ae44
2016-07-27 17:13:43 -07:00
Alexandre Lissy
ceb1dc3eac Bug 1290073 - Remove ICS Gonk widget support r=sotaro
MozReview-Commit-ID: JOWaHvPwnZI

--HG--
extra : rebase_source : 1f9c81b0bb79572365d98944fc8923f1859540c1
2016-07-28 14:38:07 +02:00
Chris Pearce
a2a8662207 Bug 1289931 - Fire InvalidAccessError instead of AbortError when ClearKey's generateRequest is passed invalid initData. r=gerald
Google's Web Platform EME test expects this, and it makes sense.

MozReview-Commit-ID: CCuEHYintob

--HG--
extra : rebase_source : 7b2a9f38b5c22ecb0af8b9a2e270eaa7d0bf2da0
2016-07-28 11:08:27 +12:00
Byron Campen [:bwc]
38b1158591 Bug 1287874: Add missing math.h include. r=drno
MozReview-Commit-ID: APRXVtWHlBX

--HG--
extra : rebase_source : fe8e299f81d4623456c28e2b5aca76b1e29b4503
2016-07-27 14:21:58 -05:00
Michael Froman
089e002c9b Bug 1275360 - Add sdp handling for video FEC (red/ulpfec). r=drno
MozReview-Commit-ID: BIt7SkSEquj

--HG--
extra : transplant_source : %A9%27%7B%D7%AA%FBI%94%9D%EC%9E%A2%2C%ED%3D%06%2C%90f%DB
2016-06-30 00:40:40 -05:00
Glenn Randers-Pehrson
fe2ffde0f8 Bug 1283961 - Part 1: Remove limits on PNG image dimensions (libpng). r=seth
--HG--
extra : rebase_source : 400ad744e14fbecd9b1aac784124df4c86078dbe
2016-07-21 11:13:00 -04:00
Sotaro Ikeda
d32193d4c6 Bug 1284803 part 11 - Fix build failure of Android 4.2 x86 opt r=jrmuizel 2016-07-26 00:02:40 -07:00
Sotaro Ikeda
061a24e917 Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-26 00:01:53 -07:00
Sotaro Ikeda
370a3052df Bug 1284803 part 8 - Disable AVX2 asm if the compiler/assembler don't support it r=jesup 2016-07-26 00:01:24 -07:00
Sotaro Ikeda
5559ef24fa Bug 1284803 part 7 - Disable assembly if toolchain doesn't support ssse3/sse4.1 r=jesup 2016-07-26 00:00:55 -07:00
Sotaro Ikeda
9318820ace Bug 1284803 part 6- Suppress MJPEG fprintf() warnings in libyuv r=jesup 2016-07-26 00:00:29 -07:00
Sotaro Ikeda
6e390ec855 Bug 1284803 part 5 - Enable JPEG r=jesup 2016-07-25 23:59:57 -07:00
Sotaro Ikeda
269febc2cc Bug 1284803 part 4 - Change libyuv.gyp for fixing build failure r=jesup 2016-07-25 23:59:37 -07:00
Sotaro Ikeda
0a44b692d9 Bug 1284803 part 3 - Change basic_types.h for fixing build failure r=jesup 2016-07-25 23:59:08 -07:00
Sotaro Ikeda
84091e6396 Bug 1284803 part 2 - Update moz.build for fixing build failure r=jesup 2016-07-25 23:58:44 -07:00
Sotaro Ikeda
9952d80a52 Bug 1284803 part 1 - Update libyuv to rev 1602 r=jesup 2016-07-25 23:58:15 -07:00
Iris Hsiao
2841a7655a Backed out changeset 65ee637b7e20 (bug 1284803) 2016-07-26 10:22:51 +08:00
Iris Hsiao
601f1a35d5 Backed out changeset 612297895009 (bug 1284803) 2016-07-26 10:22:33 +08:00
Iris Hsiao
fa93094e1e Backed out changeset ccf9a31fe40d (bug 1284803) 2016-07-26 10:22:24 +08:00
Iris Hsiao
1e7d1b9424 Backed out changeset 78a10fc91b52 (bug 1284803) 2016-07-26 10:22:12 +08:00
Iris Hsiao
3c90304714 Backed out changeset ac2f07864fb1 (bug 1284803) 2016-07-26 10:21:57 +08:00
Iris Hsiao
eb8a627097 Backed out changeset 6dbd0dee3572 (bug 1284803) 2016-07-26 10:21:47 +08:00
Iris Hsiao
23fba109c8 Backed out changeset f7f503edb55b (bug 1284803) 2016-07-26 10:21:32 +08:00
Iris Hsiao
98d8a805d6 Backed out changeset 24ebb285aff3 (bug 1284803) 2016-07-26 10:21:23 +08:00
Iris Hsiao
1b709aa294 Backed out changeset faf44eac1bb7 (bug 1284803) 2016-07-26 10:21:09 +08:00
Iris Hsiao
551b7cb0bc Backed out changeset d1cbc5eeb8c8 (bug 1284803) 2016-07-26 10:20:46 +08:00
Sotaro Ikeda
2046c24f35 Bug 1284803 part 11 - Fix build failure of Android 4.2 x86 opt r=jrmuizel 2016-07-25 18:23:33 -07:00
Sotaro Ikeda
b2ca5d6504 Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-25 18:22:51 -07:00
Sotaro Ikeda
b06f82b5a2 Bug 1284803 part 8 - Disable AVX2 asm if the compiler/assembler don't support it r=jesup 2016-07-25 18:22:30 -07:00
Sotaro Ikeda
23690a63d3 Bug 1284803 part 7 - Disable assembly if toolchain doesn't support ssse3/sse4.1 r=jesup 2016-07-25 18:22:07 -07:00
Sotaro Ikeda
9576c29de5 Bug 1284803 part 6- Suppress MJPEG fprintf() warnings in libyuv r=jesup 2016-07-25 18:21:45 -07:00
Sotaro Ikeda
c9561f4a18 Bug 1284803 part 5 - Enable JPEG r=jesup 2016-07-25 18:21:21 -07:00
Sotaro Ikeda
7478ce273d Bug 1284803 part 4 - Change libyuv.gyp for fixing build failure r=jesup 2016-07-25 18:20:55 -07:00
Sotaro Ikeda
313787e05a Bug 1284803 part 3 - Change basic_types.h for fixing build failure r=jesup 2016-07-25 18:20:29 -07:00
Sotaro Ikeda
5051f3b012 Bug 1284803 part 2 - Update moz.build for fixing build failure r=jesup 2016-07-25 18:19:58 -07:00
Sotaro Ikeda
538b6113e6 Bug 1284803 part 1 - Update libyuv to rev 1602 r=jesup 2016-07-25 18:19:33 -07:00
Chris Pearce
30716f1d57 Bug 1278198 - Adapt Adobe GMP's obsolete GMPDecryptor interface to new interface. r=gerald
The Adobe GMP only supports up to GMPDecryptor version 7. We're now up to
version 9.  So we need to provide an adaptor to convert the old version to run
with the new interface.

MozReview-Commit-ID: 5dKreev7JMv

--HG--
extra : rebase_source : b9aa1b66ad23e9f7ddbe60b71c94c161ad974818
2016-07-14 13:33:48 +12:00
Chris Pearce
f49856bc79 Bug 1278198 - Pipe through distinctive identifier and persistent state allowed. r=gerald
MozReview-Commit-ID: A92e0XGp5s4

--HG--
extra : rebase_source : 09f7ba18c9b81263aa345cc7f34f0ef2a2548482
2016-07-07 17:26:15 +12:00
Chris Pearce
1ea9b742f5 Bug 1278198 - Update EME code to reflect new WebIDL name changes. r=gerald
MozReview-Commit-ID: EssCsJxBBwt

--HG--
extra : rebase_source : 154746eca911e2250f3fa94a6a2d4b2624910e50
2016-07-04 14:14:01 +12:00
Paul Adenot
6c72456425 Bug 1285541 - Update cubeb to revision 2a5fd74b. r=padenot,achronop
Patches by padenot and achronop.

MozReview-Commit-ID: G00OFgHdKne

--HG--
rename : media/libcubeb/src/cubeb_audiounit.c => media/libcubeb/src/cubeb_audiounit.cpp
2016-07-20 15:02:29 +02:00
Paul Adenot
6100b0f94e Bug 1285541 - Update moz.build and update.sh for the new version of cubeb. r=achronop
MozReview-Commit-ID: 27b5L7ilGEg
2016-07-20 15:02:23 +02:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Paul Ellenbogen
332fcd9fc9 Bug 1204099 - RTP payload type validation. r=docfaraday
MozReview-Commit-ID: LYNcxKqKwiC

--HG--
extra : transplant_source : %16c%B5%CF%0C%20%05Rn%AB4%F4e%B9%EF%E7%0A%09%FDR
2016-07-19 13:56:29 -07:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Iris Hsiao
371d555f4a Backed out changeset 656b778e0f15 (bug 1278198) 2016-07-22 12:06:50 +08:00
Iris Hsiao
b2381608d3 Backed out changeset af577b7547c4 (bug 1278198) 2016-07-22 12:06:00 +08:00
Iris Hsiao
8494189c07 Backed out changeset c9e56c91112e (bug 1278198) 2016-07-22 12:05:35 +08:00
Chris Pearce
831d889b55 Bug 1278198 - Adapt Adobe GMP's obsolete GMPDecryptor interface to new interface. r=gerald
The Adobe GMP only supports up to GMPDecryptor version 7. We're now up to
version 9.  So we need to provide an adaptor to convert the old version to run
with the new interface.

MozReview-Commit-ID: 5dKreev7JMv

--HG--
extra : rebase_source : f944a40e2287c7a7dd01a2fb145a9e5882dd2368
2016-07-14 13:33:48 +12:00
Chris Pearce
06a7c88a23 Bug 1278198 - Pipe through distinctive identifier and persistent state allowed. r=gerald
MozReview-Commit-ID: A92e0XGp5s4

--HG--
extra : rebase_source : 6bf51883e4236a0dff1485c4335578f38debdc09
2016-07-07 17:26:15 +12:00
Chris Pearce
bc86455eb5 Bug 1278198 - Update EME code to reflect new WebIDL name changes. r=gerald
MozReview-Commit-ID: EssCsJxBBwt

--HG--
extra : rebase_source : 5ac95874355dd70d97f6749143542b5cfb5abfc8
2016-07-04 14:14:01 +12:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Iris Hsiao
cb196ead23 Backed out changeset 9fa64e0224e2 (bug 1204099) for bustage JsepSessionImpl.cpp 2016-07-21 16:13:50 +08:00
Paul Ellenbogen
050f67b249 Bug 1204099: check payload type. r=bwc
MozReview-Commit-ID: 1QEDswjrGuo

--HG--
extra : rebase_source : f77de71a1b8231c5b005abd2b5bba6d28ba71469
2016-07-12 11:15:10 -07:00
Carsten "Tomcat" Book
e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Jim Chen
78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Wes Kocher
1097e0c131 Backed out 3 changesets (bug 1285541) for frequent m(gl) failures CLOSED TREE
Backed out changeset b9f44fd406a3 (bug 1285541)
Backed out changeset 0173124d4d31 (bug 1285541)
Backed out changeset 982597fcf17f (bug 1285541)

--HG--
rename : media/libcubeb/src/cubeb_audiounit.cpp => media/libcubeb/src/cubeb_audiounit.c
2016-07-20 15:07:52 -07:00
Ralph Giles
cf08cc2a13 Bug 1288091 - Update to libopus 1.1.3. r=jmspeex
New upstream release.

This is a minor release focusing mainly on optimizations and bug fixes.

- Neon optimizations inproving performance on ARMv7 and ARMv8 by up to 15%
- Fixes some issues with 16-bit platforms (e.g. TI C55x)
- Fixes to comfort noise generation (CNG)
- Documenting that PLC packets can also be 2 bytes
- Includes experimental ambisonics work (--enable-ambisonics)

MozReview-Commit-ID: IcdnCok500X
2016-07-20 13:18:35 -04:00
Paul Adenot
dd64e90915 Bug 1285541 - Update cubeb to revision e2d399. r=padenot,achronop
Patches by padenot and achronop.

MozReview-Commit-ID: G00OFgHdKne

--HG--
rename : media/libcubeb/src/cubeb_audiounit.c => media/libcubeb/src/cubeb_audiounit.cpp
2016-07-20 15:02:29 +02:00
Paul Adenot
b6fefb7013 Bug 1285541 - Update moz.build and update.sh for the new version of cubeb. r=achronop
MozReview-Commit-ID: 27b5L7ilGEg
2016-07-20 15:02:23 +02:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Randell Jesup
734482b5f4 Bug 1042631: Bustage fix for typo when resolving nits rs=bustage 2016-07-19 17:13:01 -04:00
Randell Jesup
1c7377b2ae Bug 1042631: Fix Linux mouse position when sharing a window in WebRTC screensharing r=ng 2016-07-19 16:07:32 -04:00
Iris Hsiao
b3cb3cf81f Backed out changeset 128c1454e51f (bug 1280346) for Mochitest failed 2016-07-19 13:01:53 +08:00
Jean-Yves Avenard
e1a20915fc Bug 1280346: Only consider a video info as invalid if image dimensions are null. r=rillian
Display dimensions are actually determined from the SPS NAL with h264 and as such we don't really care on what is found in the container (which may be incorrect).

MozReview-Commit-ID: 7JmxIawNOOn

--HG--
extra : rebase_source : 9454b07742af880cd992a92517880788bd18a712
2016-07-12 16:46:33 +10:00
Nathan Froyd
82f3460a41 Bug 1288390 - avoid a few more warnings in third-party code when compiling with clang; r=mshal 2016-07-21 18:58:37 -04:00
Dan Minor
3559474034 Bug 1293422 - Add PacketizeMode0 to RtpPacketizerH264; r=jesup
We were previously using PacketizeFuA which stripped the NAL header. Since the
fragment fit in a single packet it would then be sent without any header
causing difficulties on the receiving side. This adds a PacketizeMode0 which
leaves the header intact.

MozReview-Commit-ID: 91rbveSuXtT

--HG--
extra : rebase_source : 95092f5e3cbb31f9c4697ed4fd272cd458eb4e94
2016-08-09 15:59:48 -04:00
Wes Kocher
02224536e4 Merge m-c to autoland, a=merge 2016-08-10 16:56:26 -07:00
Nils Ohlmeier [:drno]
69df337992 Bug 1293206: cancel TCP connect callback after connect. r=bwc
MozReview-Commit-ID: 6hczFqHMBNA

--HG--
extra : rebase_source : 90a352c0bcf8e9d3b14f62a27c76160272cd45bb
2016-08-09 15:55:37 -07:00
Kaku Kuo
3ea8ae9a44 Bug 1274626 part 3 - make the blank video decoder return samples in PTS order; r=jya
MozReview-Commit-ID: EULu34WIcw0

--HG--
rename : dom/media/platforms/apple/ReorderQueue.h => dom/media/platforms/ReorderQueue.h
extra : transplant_source : %05%DF%05%26%B4B%CF%CEv_%A7%3C9%EDo%1B%C6%B0%1Eh
2016-08-03 15:22:49 +08:00
Kaku Kuo
d22560cfe6 Bug 1274626 - Part 3 - make the blank video decoder return samples in PTS order; r=jya
MozReview-Commit-ID: EULu34WIcw0

--HG--
rename : dom/media/platforms/apple/ReorderQueue.h => dom/media/platforms/ReorderQueue.h
extra : transplant_source : %3F%DF%9F%E7%C8%AC%9F%3B%FB%94%8C%09%0A%16%D8%9F%0D%1F%9F%3E
2016-08-01 19:04:30 +08:00
Jan-Ivar Bruaroey
9e1ebfb7eb Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Chris Pearce
b6c7bf750a Bug 1287000 - Ensure ClearKey's CENC PSSH parser can handle PSSH boxes with a 0 size field. r=jwwang
Google's Web Platform EME tests contain a CENC PSSH box with a 0 size field.
Our existing PSSH parser in our ClearKey plugin doesn't handle this well, it
gets stuck in an infinite loop. We should really handle everything that Chrome
handles, so we should handle this input.

We also shouldn't really be using raw pointers in the PSSH parser.

So rewrite the PSSH parser to use a ByteReader, and handle an invalid 0 sized
common SystemID box.

Also add gtests for the parser, and skip over PSSH boxes with unknown SystemIDs
(if they have valid sizes that is).


MozReview-Commit-ID: CdVPpphAJV

--HG--
extra : rebase_source : e9a1b439f8b371653c2c97322a2db64cafef6dd8
2016-07-15 09:31:07 +12:00
Iris Hsiao
3366ed3525 Backed out changeset 015cb0829df5 (bug 1213517) 2016-07-18 15:41:47 +08:00
Jan-Ivar Bruaroey
9f04ae2af4 Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Boris Zbarsky
e84fe03fe3 Bug 933378 part 3. Fix the ErrorResult usage in PeerConnectionImpl to not use ErrorResult directly anymore. r=jib 2016-07-15 22:35:13 -04:00
Carsten "Tomcat" Book
fa869d9ca1 Backed out changeset b33a9a88daa6 (bug 933378) 2016-07-16 10:03:09 +02:00
Boris Zbarsky
61261a6a39 Bug 933378 part 3. Fix the ErrorResult usage in PeerConnectionImpl to not use ErrorResult directly anymore. r=jib 2016-07-15 22:35:13 -04:00
Jan Beich
71ac49183e Bug 1285501 - Build linux/ directory on DragonFly, NetBSD and Solaris as well. r=jesup
MozReview-Commit-ID: 46Z55h9oWIm

--HG--
extra : transplant_source : %AE%E7%0D%9EHg%84%17Z%07%7D%12%95%C1A3%F5%ECw%A1
2016-07-08 09:27:08 +00:00
Randell Jesup
ae674679d8 Bug 1286644: cherry-pick AEC fix from Chromium Issue 576624 r=pkerr 2016-07-13 17:47:00 -04:00
Sotaro Ikeda
cdc6e67e26 Bug 1284803 part 11 - Fix build failure of Android 4.2 x86 opt r=jrmuizel 2016-07-12 23:04:33 -07:00
Sotaro Ikeda
af38b3a39c Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-12 23:02:12 -07:00
Sotaro Ikeda
72a83366f5 Bug 1284803 part 8 - Disable AVX2 asm if the compiler/assembler don't support it r=jesup 2016-07-12 23:00:57 -07:00
Sotaro Ikeda
81a67fb28f Bug 1284803 part 7 - Disable assembly if toolchain doesn't support ssse3/sse4.1 r=jesup 2016-07-12 22:59:52 -07:00
Sotaro Ikeda
674e17f8c6 Bug 1284803 part 6- Suppress MJPEG fprintf() warnings in libyuv r=jesup 2016-07-12 22:58:57 -07:00
Sotaro Ikeda
82d3f7eb03 Bug 1284803 part 5 - Enable JPEG r=jesup 2016-07-12 22:57:54 -07:00
Sotaro Ikeda
eba67d1f69 Bug 1284803 part 4 - Change libyuv.gyp for fixing build failure r=jesup 2016-07-12 22:56:43 -07:00
Sotaro Ikeda
674339264a Bug 1284803 part 3 - Change basic_types.h for fixing build failure r=jesup 2016-07-12 22:55:58 -07:00
Sotaro Ikeda
47a89eb453 Bug 1284803 part 2 - Update moz.build for fixing build failure r=jesup 2016-07-12 22:55:15 -07:00
Sotaro Ikeda
01215d9b70 Bug 1284803 part 1 - Update libyuv to rev 1602 r=jesup 2016-07-12 22:53:35 -07:00
Nicholas Nethercote
a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Randell Jesup
3cf9863b59 Bug 1273652: Always reinitialize the receiver/jitterbuffer when reseting video decoding r=pkerr 2016-07-12 15:42:59 -04:00
Wes Kocher
e94aeb34ae Backed out 2 changesets (bug 1285541) for causing a frequent mda failure
Backed out changeset 53ac5a12a19b (bug 1285541)
Backed out changeset aea13acdf417 (bug 1285541)

--HG--
rename : media/libcubeb/src/cubeb_audiounit.cpp => media/libcubeb/src/cubeb_audiounit.c
2016-07-08 15:21:43 -07:00
Paul Adenot
43d6b652f1 Bug 1285541 - Update cubeb to revision b8aebef3. r=padenot
Patches by achronop.

MozReview-Commit-ID: 2RurT5Y3CHo

--HG--
rename : media/libcubeb/src/cubeb_audiounit.c => media/libcubeb/src/cubeb_audiounit.cpp
2016-07-08 15:56:56 +02:00
Carsten "Tomcat" Book
838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Nils Ohlmeier [:drno]
61aaacaf56 Bug 1285318: turn of WebRTC TCP packet filtering. r=mjf
MozReview-Commit-ID: 7kmAJlscG9a

--HG--
extra : rebase_source : c8d6a741fbde3f514ee49be5ee97291ba58831d3
2016-07-07 11:32:04 -07:00
Carsten "Tomcat" Book
e9a4666c05 Merge mozilla-central to autoland 2016-07-07 11:44:49 +02:00
Nils Ohlmeier [:drno]
8f07aa3df1 Bug 1279146 - Clean up streams on shutdown. r=bwc
--HG--
extra : amend_source : db42e64bafec58bfef42a0fc7aad2cc1a761e137
2016-07-07 21:33:23 -04:00
Nils Ohlmeier [:drno]
aee07d68e0 Bug 1283619: enable far end REMB support for sending conduits depending on signaling. r=mjf
MozReview-Commit-ID: BBuhSHw2Wyb

--HG--
extra : rebase_source : fc512ea95644cc1b62e53a4f88df589f4912dffc
2016-06-30 14:22:38 -07:00
Ralph Giles
705dbc4fe9 Bug 1284589 - Result of running the update script. r=kinetik
Implement the changes by running the new update script.

MozReview-Commit-ID: 2gbmdq4Mlri

--HG--
rename : media/libstagefright/binding/mp4parse/boxes.rs => media/libstagefright/binding/mp4parse/src/boxes.rs
rename : media/libstagefright/binding/mp4parse/byteorder/mod.rs => media/libstagefright/binding/mp4parse/src/byteorder/mod.rs
rename : media/libstagefright/binding/mp4parse/byteorder/new.rs => media/libstagefright/binding/mp4parse/src/byteorder/new.rs
rename : media/libstagefright/binding/mp4parse/capi.rs => media/libstagefright/binding/mp4parse/src/capi.rs
rename : media/libstagefright/binding/mp4parse/lib.rs => media/libstagefright/binding/mp4parse/src/lib.rs
rename : media/libstagefright/binding/mp4parse/tests.rs => media/libstagefright/binding/mp4parse/src/tests.rs
extra : rebase_source : dee1bc8dc923d4d8edc060a2ef14161d78c5e4dc
2016-07-05 11:10:15 -07:00
Ralph Giles
df3f69672e Bug 1284589 - Move mp4parse source to match upstream. r=kinetik
Make Cargo.toml, build.rs and standard cargo source package
layout available in-tree to facilitate testing cargo-driven
builds of rust code.

Update the moz.build script to build using plain rustc as
before, but referencing the new source location.

MozReview-Commit-ID: 11zuebic9tU

--HG--
extra : rebase_source : 1cb71896ae5dd33d1237ca04ec27da60b2256dad
2016-07-05 11:08:37 -07:00
Chris Peterson
13e1939d07 Bug 1277155 - Part 2: Remove snprintf() polyfills in media code imported from libav. r=jya 2016-06-27 20:44:30 -07:00
Chris Peterson
2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Gregory Szorc
f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
ctai
fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
ctai
533acf2e59 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : transplant_source : %5C%1C%23%AC%D7%0D%97%24%CB%ED%8E%D5%60/%5E%07%F2%85Z%DA
2016-04-29 11:45:25 +08:00
Nils Ohlmeier [:drno]
ccfaf882c5 Bug 1275119: remove mRecvCodecList from VideoConduit. r=jesup
MozReview-Commit-ID: 5Wgc0NDkyps

--HG--
extra : rebase_source : b796d12ae0a87533df30372ee6da232fdefaff80
2016-06-06 23:40:37 -07:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Paul Adenot
df4b0d9571 Bug 1283850 - Uplift cubeb to revision b8aebef. r=padenot,kinetik,achronop
MozReview-Commit-ID: IjlWPClDuFg
2016-07-01 15:43:16 +02:00
Chris Pearce
e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Carsten "Tomcat" Book
fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Alexandre Lissy
a09dfe4799 Bug 1283439 - Include OpusDecoder.h only for Rust MP4 parsing r=kinetik
MozReview-Commit-ID: 9zzhvYowlkX

--HG--
extra : rebase_source : d10ddb0632a6bf35d4f92080438a5f01f6466b72
2016-06-30 19:13:53 +02:00
EKR
0a7e8ae834 Bug 1283085 - Handle new ALPN value r=abr 2016-06-29 10:24:48 -07:00
Ralph Giles
b9106558db Bug 1282963 - Share CodecDelay prepend code. r=kinetik
Both the WebM and mp4 demuxers need to pack this value into
the the CodecSpecificConfig, so move the shared implementation
to the OpusDecoder, near where it is unpacked so the two can
be kept in sync.

MozReview-Commit-ID: 2pQaruJoAWr
2016-06-29 15:49:04 -07:00
Ralph Giles
160fca741c Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-29 09:13:19 -07:00
Ralph Giles
af27dceab2 Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-29 09:13:15 -07:00
Ralph Giles
f3eb2d75ba Bug 1267887 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-29 09:13:04 -07:00
Ralph Giles
8c0fe7a521 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-29 09:12:45 -07:00
Ralph Giles
72ecfe6999 Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-29 09:12:45 -07:00
Ralph Giles
c1c627c22a Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-29 09:12:45 -07:00
Kan-Ru Chen
e5ba90cdde Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
MozReview-Commit-ID: HltgzBnxMsn

--HG--
extra : rebase_source : f968344d7283b2f46dfa959a5306d1d380677c52
2016-08-10 14:18:29 +08:00
Ralph Giles
9898427959 Bug 1295666 - Build byteorder as a separate crate. r=kinetik
Run the updated import script to split the in-tree byteorder
code into a separate directory and build it as a dependent crate.

MozReview-Commit-ID: EI5X4icOdmM

--HG--
extra : rebase_source : fa0d4cce8503ede5d2fbefc4d4b78735f2140c33
2016-08-16 11:06:46 -07:00
Ralph Giles
b803c56c4a Bug 1295666 - Import byteorder as a separate crate. r=kinetik
Now that bug 1231764 has landed cargo support in the build system,
we can remove the patches hacking the byteorder crate into a
module within the mp4parse crate.

This updates the import script to copy the byteorder source
files to a separate directory and removes the obsolete patches.

We update the patch against mp4parse/Cargo.toml to add a dependency
path referring to the new source location. This tells cargo to use
the in-tree copy instead of trying to pull from a registery.

MozReview-Commit-ID: FHMkyEq2HdH

--HG--
extra : rebase_source : 49e893008bb120740da92e81444a4bd43f3265d4
2016-08-16 10:51:46 -07:00
Carsten "Tomcat" Book
5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Nils Ohlmeier [:drno]
8a525ec4ae Bug 1282792: start transmitting OR receiving if track is active r=bwc
MozReview-Commit-ID: GaT5v9UN6ox

--HG--
extra : rebase_source : d7140ffe87f9ea42cc29cc96c3a92270c34d88a8
2016-06-28 01:16:08 +02:00
Gerald Squelart
23c839e07f Bug 1274637 - Detect OOB copy attempts in clearkey decryptor - r=cpearce
MozReview-Commit-ID: LgXe8xrQvzs
2016-05-26 19:46:40 +02:00
Ryan VanderMeulen
02d34ad572 Bug 1278648 - Update libjpeg-turbo to version 1.5.0. r=jrmuizel
--HG--
rename : media/libjpeg/README => media/libjpeg/README.ijg
rename : media/libjpeg/README-turbo.txt => media/libjpeg/README.md
2016-06-26 15:41:09 -04:00
Byron Campen [:bwc]
577b657567 Bug 1280215 - Stop using the nsresult in OnProxyAvailable to determine whether the PCM is still interested. r=drno
MozReview-Commit-ID: AIZm4VNZJtV
2016-06-15 13:38:26 +01:00
Byron Campen [:bwc]
208469617b Bug 1280443 - Make a timer assert more aggressive. r=drno 2016-06-20 11:47:10 -05:00
Phil Ringnalda
0c749ef583 Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
CLOSED TREE

Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00
Phil Ringnalda
3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00
Ralph Giles
a91a784d90 Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-28 20:33:42 -07:00
Ralph Giles
c0393ce78f Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-28 20:33:38 -07:00
Ralph Giles
64dfe2c489 Bug 1267997 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-28 20:33:36 -07:00
Ralph Giles
1382abe1f6 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-28 20:33:34 -07:00
Ralph Giles
711f285ffd Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-28 20:33:32 -07:00
Ralph Giles
bcd27ae276 Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-28 20:33:30 -07:00
Nathan Froyd
b86f050662 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-28 23:48:49 -04:00
Nils Ohlmeier [:drno]
cb71d8fa20 Bug 1281708: remove assert for unknown stun server transports. r=mjf
MozReview-Commit-ID: BNNM12fBV4I

--HG--
extra : rebase_source : a6b01e24d942940ff12fe3d6fd05e03c7bb9b6a6
2016-06-23 12:00:31 +02:00
Nathan Froyd
31c615bd95 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-23 17:46:59 -04:00