Граф коммитов

4497 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 3748f182f6 Merge m-i to m-c, a=merge 2016-09-10 00:14:21 -07:00
Igor 60cd1e3bb7 Bug 1296180 - Replace more uses of PR_ARRAY_SIZE with mozilla::ArrayLength. r=keeler,mt 2016-09-09 13:17:52 -07:00
Byron Campen [:bwc] 653b388b32 Bug 1297416 - Part 4: Call close() when create() fails. r=drno
MozReview-Commit-ID: 5uf2xbb2cba

--HG--
extra : rebase_source : f7c9bd97aa2ab17847844c2a4a24ffed6b450c3d
2016-09-02 12:04:54 -05:00
Byron Campen [:bwc] 7eafad9670 Bug 1297416 - Part 3: Add proxy-only mode and pref. r=drno
MozReview-Commit-ID: D1e9f3OkVsU

--HG--
extra : rebase_source : 65784601918246f47d51888f64d90a7a0c580bc9
2016-08-23 15:15:33 -05:00
Alfredo.Yang 2488fefb27 Bug 1240412 - add VP9-in-MP4 support to Rust demuxer. r=rillian
MozReview-Commit-ID: 1Yq8OOV3kvM

--HG--
extra : rebase_source : d6ee4404eafef8a476767ebfd17a195f81dcf275
2016-08-29 14:37:22 +08:00
Carsten "Tomcat" Book f4a16a723a merge mozilla-inbound to mozilla-central a=merge 2016-09-08 12:01:17 +02:00
Jean-Yves Avenard 4b2bec7900 Bug 1300296: P1. Add method to determine if an H264 frame is an I-Frame. r=jesup
We do so by checking the frame data for NAL of type 5 as per ISO IEC 14496-2.

MozReview-Commit-ID: JFeLysrZ6aG

--HG--
extra : rebase_source : edf599210fd3a995f3538a7e54e083894620bf9e
2016-09-04 21:28:24 +10:00
Michael Layzell e12728495c Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Glenn Randers-Pehrson e683cf2031 Bug 1299590 - Update in-tree libpng to version 1.6.25. r=tn
--HG--
extra : rebase_source : 1887acea914d4c63927ecb5de4867f8b7968492d
2016-09-07 13:30:00 -04:00
Byron Campen [:bwc] 02cf82bf1a Bug 1297416 - Part 2: Disable default route mode if the user has granted camera or microphone permissions. r=drno
MozReview-Commit-ID: CFkVnEwUu2d

--HG--
extra : rebase_source : 7b712eace6c780a9ba20de9acd637d918c80f017
2016-08-04 10:55:20 -05:00
Byron Campen [:bwc] 9f8a1e86b6 Bug 1297416 - Part 1: Split out the hiding of host candidates, and default route mode. r=drno
MozReview-Commit-ID: IQtwAG35CM3

--HG--
extra : rebase_source : 3a206adac4d28688bc2ba0c22436d5bf3b68f113
2016-07-25 15:47:52 -05:00
Nicholas Nethercote 34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
John Dai afa50be601 Bug 1294100 - Part 3: Modify Codegen to generate including FakeString's binding files and fix build errors. r=bz
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/FakeString.h
2016-09-01 18:10:54 +08:00
Sebastian Hengst 1cbc48137a Backed out changeset 42eb493a3791 (bug 1286041) 2016-09-06 19:07:18 +02:00
Alex Chronopoulos 400c40ff87 Bug 1286041 - Update cubeb library on commit 2f3b9eb. r=kinetik
MozReview-Commit-ID: EwVDPekHPsg
2016-09-06 13:40:43 +02:00
Alex Chronopoulos 7c62351e09 Bug 1286041 - Update cubeb library on commit 2f3b9eb. r=kinetik 2016-09-12 12:24:54 +03:00
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