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

4368 Коммитов

Автор SHA1 Сообщение Дата
Kilik Kuo eafec00033 Bug 1289968 - [Part2] Provide max length limitation for KeyIds and Webm Initdata, then correct cooresponding web-platform-tests meta file. r=gerald
MozReview-Commit-ID: DbaF1wZXwav

--HG--
extra : transplant_source : %F4%FF%5E%E4%DBN%B8%15%23%2A%BD%E3%D4P%DF%A8%98n%F7%ED
2016-09-17 03:24:49 +08:00
Chris Pearce ee9ca0dd5e Bug 1289968 - [Part1] Ensure ClearKey doesn't assume keyIds can only be 16 bytes. r=cpearce
MozReview-Commit-ID: Hf2IQsAHa4r

--HG--
extra : transplant_source : %D1%2C%B2j%1C%F5%A7%A9%D8%0B%EEE%92%B1%DC1%A5A%BC%8B
2016-08-01 16:28:10 +12:00
Wes Kocher 04d0da0ae2 Merge m-c to autoland, a=merge 2016-09-16 14:35:31 -07:00
Daniel Holbert d7788545f6 Bug 1303411: Add parens to some logic in VideoConduit.cpp, to address clang -Wlogical-op-parentheses build warning. r=dminor
MozReview-Commit-ID: BMq48HVLUH7

--HG--
extra : rebase_source : 5dae357339b136d9d8167516ec364eea8b4001ee
2016-09-16 11:23:58 -07:00
Randell Jesup 6ec5958a84 bug 1302935: enable vp9 in webrtc and fix missing gof fields in codecSpecific r=pkerr,drno
Also required fixing tests to handle more codecs
2016-09-15 21:17:09 -04:00
Phil Ringnalda f6ee0a3336 Backed out changeset 27f8a2467b31 (bug 1302935) for jsep_session_unittest failures
CLOSED TREE
2016-09-15 19:37:25 -07:00
Gerald Squelart 1bd0c30faa Bug 1301293 - Create gtest for test case from bug 1301065. r=kinetik
Altered copies of the base test case helps verify different duration overflow
boundaries.

Track durations are now checked (including for previous test cases).

MozReview-Commit-ID: CeOtnAAg1mg
2016-09-14 11:04:22 +10:00
Gerald Squelart 2bb436aaa7 Bug 1301293 - Catch duration overflows in mdhd and mehd. r=kinetik
A better timescaled units to microseconds routine lessens the likelihood of
overflows.

MozReview-Commit-ID: J0J8ZTG3Rq
2016-09-13 22:46:03 +10:00
Randell Jesup 5f4f5f0fc6 bug 1302935: enable vp9 in webrtc and fix missing gof fields in codecSpecific r=pkerr,drno
Also required fixing tests to handle more codecs
2016-09-15 21:17:09 -04:00
Matthew Gregan 9bfc545de2 Bug 1302926 - Report MP4Parse telemetry for all tracks, not just the first one. r=gerald 2016-09-16 12:54:38 +12:00
Randell Jesup 952bb47f7e Backed out changeset cd0093211582 (bug 1302935) for mda bustage (bad tests assume VP8 only)
on a CLOSED TREE
2016-09-15 13:52:36 -04:00
Randell Jesup c93d4f5ef3 bug 1302935: enable vp9 in webrtc and fix missing gof fields in codecSpecific r=pkerr 2016-09-15 09:33:37 -04:00
Carsten "Tomcat" Book 5a051cc6d9 Merge mozilla-central to mozilla-inbound 2016-09-15 12:05:56 +02:00
Carsten "Tomcat" Book 25a074d342 merge mozilla-inbound to mozilla-central a=merge 2016-09-15 11:59:50 +02:00
Ted Mielczarek e254cc07b8 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq

--HG--
extra : rebase_source : c0da7411a2f0b7fc171c9ebb99fce91361944aa5
2016-09-08 15:12:34 -07:00
Ryan VanderMeulen 739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Makoto Kato 1ab5272de6 Bug 1298569 - Part 2. Replace -fpu=neon with CONFIG['NEON_FLAGS']. r=glandium
Use CONFIG['NEON_FLAGS'] on moz.build instead.

MozReview-Commit-ID: F6R532Hi5mg

--HG--
extra : rebase_source : 7243f316de3138c702f09b336f6d430e6c9c15b5
2016-09-14 18:34:19 +09:00
Nils Ohlmeier [:drno] fcb065e03a Bug 1302481: added new no NAT <-> symmetric NAT test case. r=bwc
MozReview-Commit-ID: HpUwesLDWBB

--HG--
extra : rebase_source : b581f7c96c817208cf300bd5d56774d29a192e3b
2016-09-01 21:32:30 -07:00
Matthew Gregan 20f697690e Bug 1274479 - Update libcubeb. r=padenot 2016-09-13 13:23:46 +12:00
Wes Kocher 677438b338 Backed out 4 changesets (bug 1286041) for making various media tests really failure prone a=backout
Backed out changeset af4c053741f1 (bug 1286041)
Backed out changeset b5be689abefa (bug 1286041)
Backed out changeset 2aad01ffac9f (bug 1286041)
Backed out changeset 48117ed311a1 (bug 1286041)
2016-09-12 15:17:23 -07:00
Ralph Giles 73dcf90f19 Bug 1301065 - Update rust mp4parse to v0.5.1. r=kinetik
Result of running the update script, followed by `cargo update`
in tookit/library/rust/.

MozReview-Commit-ID: LNdvuOqVx9a

--HG--
extra : rebase_source : 70b263d1ba1867b5b2b907530fab4beedc25ae56
2016-09-13 09:16:44 -07:00
Ralph Giles 83e928ac66 Bug 1301065 - Bump requested rust mp4parse to v0.5.1. r=kinetik
MozReview-Commit-ID: IlWKJcV3xWB

--HG--
extra : rebase_source : a4d1ddce386e188ffbee5ffbdc75d5ffc9418794
2016-09-13 08:31:47 -07:00
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