Commit Graph

4564 Commits

Author SHA1 Message Date
Sebastian Hengst
b3064bba8d Backed out changeset b2ef285116b3 (bug 1308076) 2016-10-11 10:41:20 +02:00
Sebastian Hengst
67e4cd1c41 Backed out changeset 40ce3fa30dfa (bug 1308076) 2016-10-11 10:41:16 +02:00
Sebastian Hengst
bd612c1fd3 Backed out changeset 4ce11c2f2e69 (bug 1308076) 2016-10-11 10:41:08 +02:00
Sebastian Hengst
8718521d1f Backed out changeset 11fc2627544c (bug 1308076) 2016-10-11 10:41:04 +02:00
Sebastian Hengst
57c3796c20 Backed out changeset 2ce4a30bdf86 (bug 1308076) 2016-10-11 10:41:00 +02:00
Sebastian Hengst
8a98e7cddd Backed out changeset 5862e3ccc989 (bug 1308076) 2016-10-11 10:40:56 +02:00
Sebastian Hengst
1eb3faf861 Backed out changeset 6d16f00b9858 (bug 1308076) 2016-10-11 10:40:52 +02:00
Chris Pearce
e0b2194579 Bug 1308076 - Ensure Primetime PSSH boxes pass the PSSH validator. r=jwwang
Primetime PSSH boxes don't use the common encryption system ID.
So to ensure we don't break any existing Primetime players, we
must allow PSSH boxes with the Primetime system ID to pass the
PSSH validator.

MozReview-Commit-ID: 3q58FKLQXgV

--HG--
extra : rebase_source : aac2a8349d8e9dfccae3c37a47549245fb1fc0e3
2016-10-10 23:47:28 -07:00
Chris Pearce
c18aa7f516 Bug 1308076 - Move PSSH parser gtests into media/psshparser/gtest. r=glandium
MozReview-Commit-ID: G760z2sIQpO

--HG--
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
extra : rebase_source : 80fc084137ca84f9263cb056c27f296b8f05111c
2016-10-07 21:34:54 +13:00
Chris Pearce
ba946f19e0 Bug 1308076 - Consistently put expected value where it's expected in EXPECT_EQ() in Pssh Parser gtest. r=jwwang
The expected value comes first in the EXPECT_EQ gtest macro. So reorder our
calls to this macro in the Pssh Parser gtests to match that.

This makes it easier to read what's the expected value when the test fails.


MozReview-Commit-ID: LJ4ND2gRPi4

--HG--
extra : rebase_source : 85ca2dcff57354253b801fbd598c89698c74c2d6
2016-10-07 21:17:42 +13:00
Chris Pearce
2f998b9d61 Bug 1308076 - Fixup PSSH parser gtests. r=jwwang
We're now obliged to be stricter, taking from the example of the Web Platform
Tests.

MozReview-Commit-ID: AJNDoRZ9BF8

--HG--
extra : rebase_source : 79b13d1d7d1b6b6b4a382b6a17af81606af608fa
2016-10-07 21:12:18 +13:00
Chris Pearce
a0900b6998 Bug 1308076 - Rename CLEARKEY_KEY_LEN to CENC_KEY_LEN. r=jwwang
This better reflects that it's used for all CENC keys, not just ClearKey keys.

MozReview-Commit-ID: 9uCzDKVDLjc

--HG--
extra : rebase_source : dfd7fe864be6825a86dfed4f60b448a5edac286f
2016-10-07 11:14:04 +13:00
Chris Pearce
d4606df737 Bug 1308076 - Use PsshParser to validate CENC init data. r=jwwang
Now that we can link gmp-clearkey's PSSH parser into Gecko, we can
simply use that inside MediaKeySession to validate that the CENC
init data matches the spec.

This change enforces that CENC init data uses the common system Id.
As far as I can tell, Widevine only uses that now.

MozReview-Commit-ID: HrlKQHcv5DI

--HG--
extra : rebase_source : ccf8e217d87dfa85478578f52469dc7383fd6c9b
2016-10-06 23:17:44 +13:00
Chris Pearce
48ecbebd03 Bug 1308076 - Don't statically link mfplat.lib into gmp-clearkey. r=glandium
We're loading functions from that library dynamically in gmp-clearkey anyway,
we don't need to statically link this.


MozReview-Commit-ID: AKwP5aWLsK3

--HG--
extra : rebase_source : 23ab95e7bb2f756ef1df7f97b96ec7da0953533f
2016-10-07 11:20:05 +13:00
Chris Pearce
10c6ab2576 Bug 1308076 - Move ClearKeyCencParser to PsshParser library. r=glandium
To validate the PSSH init data passed to EME, I'd like to reuse the same
PSSH parser that the ClearKey CDM shared library uses. So move the code
out of gmp-clearkey and into its own library, so we can link it statically
into code that needs to use it.



MozReview-Commit-ID: 7xSUSmCueJz

--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
extra : rebase_source : 3f621aa1d99c6a73f6b5f3ca9d1f84022266a833
2016-10-06 20:23:38 +13:00
Ted Mielczarek
fed17ce3e1 bug 1305506 - Remove some cruft from a webrtc gyp file. r=jesup
Things seem to build OK without this, and it's breaking some new code I added in gyp_reader.

MozReview-Commit-ID: 6ccaXZ0mRTj

--HG--
extra : rebase_source : c1e8acb39f863b3ff62492cf70e74748cb74e795
2016-08-16 10:09:03 -04:00
Phil Ringnalda
080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Phil Ringnalda
c21623fc42 Merge m-c to m-i
MozReview-Commit-ID: Kp60wHZauGi
2016-10-06 20:26:20 -07:00
Phil Ringnalda
fd7b7476c2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 93ZdJbK1x05
2016-10-06 19:58:18 -07:00
Kilik Kuo
4d162fcd4a Bug 1303922 - Part 1: Make EME keystatuschanged information notified in batch. r=cpearce
MozReview-Commit-ID: IeExaQ62qTF

--HG--
extra : transplant_source : t%D4%AFxu%D6%40%F8hU%D2%94%D4q8q%EDy%08-
2016-10-04 17:18:46 +08:00
Kilik Kuo
21f4832a64 Bug 1303662 - Avoid accessing uninitialized member while debugging. r=cpearce
MozReview-Commit-ID: IX4bI9HB8Ub

--HG--
extra : rebase_source : c3d33f757e228788546b234711f3f8e4f51424ce
2016-10-07 18:40:34 +08:00
Dan Minor
a62e23429f Bug 1291715 - Add support for 44100 and 48000 Hz sample rates to DtmfInband; r=jesup
The DtmfInband class does not support sample rates above 32000. This adds
support for 44100 and 48000.

The 'a' coefficients were calculated in python as:

int(round(32768*math.cos(2*math.pi*f/fs)))

The 'ym2' coefficients were calculated in python as:

int(round(16383*math.sin(2*math.pi*f/fs)))

where f was in: [697, 770, 852, 941, 1209, 1336, 1477, 1633] and fs was in:
[8000, 16000, 32000, 44100, 44800].

The calculated values were slightly off the existing values at 8000 Hz,
but agreed at 16000 and 32000 Hz.

MozReview-Commit-ID: GIzyUSyecR4

--HG--
extra : rebase_source : edbde6e8c8b6cfd1c44c808022849c688364745b
2016-09-14 16:07:46 -04:00
Dan Minor
136c79105e Bug 1291715 - Add DTMF support to PeerConnection and AudioConduit; r=jib
MozReview-Commit-ID: LNN1HNJicCj

--HG--
extra : rebase_source : 6b4153e6bddb939a89b58961abcec4b1741a68d3
extra : source : a3521a634b4a5c64d17686662dc3b1aec91f590b
2016-10-06 08:55:43 -04:00
Dan Minor
621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Carsten "Tomcat" Book
7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Jean-Yves Avenard
4a7fd611df Bug 1301869: P1. Only add SPS/PPS on the first keyframe. r=cpearce
When we add SPS/PPS NAL in front of each keyframe data, this somehow makes the WMF decoder to misbehave and to always return an invalid timestamp.

MozReview-Commit-ID: 2SzTiwP0ii1

--HG--
extra : rebase_source : b499c83d504df772e6d722053630ff4d92306d4f
2016-10-06 11:38:52 +11:00
Randell Jesup
2f628de7ca Bug 1307254: Implement ::Stop() for screen/window/app capture r=jib 2016-10-05 16:15:19 -04:00
Paul Adenot
d31503d9d3 Bug 1307724 - Cherry-pick cubeb revision 50d92c. r=kinetik
MozReview-Commit-ID: 2ibCLal3BVD

--HG--
extra : rebase_source : 42dbab3510abdb390c6287df95721a17be7a1e4d
2016-10-05 12:20:06 +02:00
Randell Jesup
bfeb950383 Bug 1307507: ensure that resolution is retained on multiple replaceTrack/renegotiations r=bwc 2016-10-04 13:13:01 -04:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Mark Banner
c4565f5765 Bug 1306631 - Remove old Loop telemetry hooks from WebRTC code. r=jesup
MozReview-Commit-ID: 1ctKZPDVEha

--HG--
extra : rebase_source : 530df82d85d87dd605289b8af8ce372ba6cd4ed9
2016-09-23 16:55:48 +01:00
Sebastian Hengst
7520674246 Backed out changeset 903fa45a9d6c (bug 1291715) for build bustage. r=backout 2016-10-05 17:03:06 +02:00
Sebastian Hengst
8e6bfb5804 Backed out changeset 5505acbab659 (bug 1291715) 2016-10-05 17:02:57 +02:00
Sebastian Hengst
251cf1d5cb Backed out changeset 91c0b78bb4dd (bug 1291715) 2016-10-05 17:02:53 +02:00
Dan Minor
7703c636fc Bug 1291715 - Add support for 44100 and 48000 Hz sample rates to DtmfInband; r=jesup
The DtmfInband class does not support sample rates above 32000. This adds
support for 44100 and 48000.

The 'a' coefficients were calculated in python as:

int(round(32768*math.cos(2*math.pi*f/fs)))

The 'ym2' coefficients were calculated in python as:

int(round(16383*math.sin(2*math.pi*f/fs)))

where f was in: [697, 770, 852, 941, 1209, 1336, 1477, 1633] and fs was in:
[8000, 16000, 32000, 44100, 44800].

The calculated values were slightly off the existing values at 8000 Hz,
but agreed at 16000 and 32000 Hz.

MozReview-Commit-ID: GIzyUSyecR4

--HG--
extra : rebase_source : 108bdbc492a58f1532a5629680753e7395a916ae
2016-09-14 16:07:46 -04:00
Dan Minor
684dedad1f Bug 1291715 - Add DTMF support to PeerConnection and AudioConduit; r=jib
MozReview-Commit-ID: LNN1HNJicCj

--HG--
extra : rebase_source : 69492c49b829848a5964e4915f4a10ecae378249
extra : source : a3521a634b4a5c64d17686662dc3b1aec91f590b
2016-10-04 14:55:27 -04:00
Dan Minor
c168a463ed Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Julian Seward
f30bf023b4 Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto. r=jyavenard@mozilla.com. 2016-10-06 17:41:27 +02:00
Carsten "Tomcat" Book
c2943ed59a Backed out changeset 01bf91bcaeb2 (bug 1274256) for reftest crashes
--HG--
extra : rebase_source : 9a15b3f2a6c3800401216208d52438d8ceb120a3
2016-10-06 13:53:57 +02:00
Carsten "Tomcat" Book
7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +02:00
Julian Seward
c29c35856c Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto. r=jyavenard@mozilla.com.
--HG--
extra : rebase_source : 65ea1ed1cc136f5a4da002283b93fc37642327db
2016-10-06 10:35:58 +02:00
ISHIKAWA, Chiaki
365dcfe220 Bug 1304504 - Check the return value of GetIntPref() properly. r+=rjesup 2016-10-01 03:28:00 +02:00
Munro Mengjue Chiang
b2bb341033 Bug 1300468 - implement mediaDevices.ondevicechange for Windows; r=jesup
MozReview-Commit-ID: IhqmXsqeuba
2016-10-06 02:31:26 +08:00
Phil Ringnalda
7026f16e79 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Phil Ringnalda
c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Wes Kocher
5739609d11 Backed out changeset bc4680ea08a9 (bug 1307042) for android mda test failures a=backout CLOSED TREE 2016-10-03 16:03:12 -07:00
Michael Froman
d35956ee16 Bug 1291714 - bool to enable dtmf tones in AudioConduit and setup dtmf payload type. r=bwc
MozReview-Commit-ID: IMneZx9wlhj

--HG--
extra : rebase_source : 0e65711f7a36f75c8956efb0860fd63f7890a279
2016-09-28 21:22:44 -05:00
Nils Ohlmeier [:drno]
7a1894eae5 Bug 1306777: stop sending RTP after switching to a=inactive. r=bwc
MozReview-Commit-ID: EEetiD4Tm4I

--HG--
extra : rebase_source : b9454944f5070b232c03a605e4dd651264c34b26
2016-09-30 16:13:07 -07:00
Michael Froman
3888f9a621 Bug 1291714 - sdp changes to support DTMF signaling. r=bwc
MozReview-Commit-ID: 7etTBsz3sM5

--HG--
extra : rebase_source : e71f97670677c51b96a477c5cfb95f91a3fdef87
2016-09-15 22:39:04 -05:00
Randell Jesup
b7aec8ba57 bug 1307155: Use 'if' instead of 'switch' to fix warnings from bug 1306873 landing r=dholbert 2016-10-03 16:33:36 -04:00
Randell Jesup
88bea09e95 Bug 1307042: generate fake audio for getUserMedia from MSG callbacks r=pehrsons 2016-10-03 14:35:36 -04:00
Paul Adenot
dbae1f1510 Bug 1306570 - Cherry-pick cubeb revision 6ae23a63 to fix a clock drift on Windows. r=kinetik
MozReview-Commit-ID: 3gC8dDAlkEM

--HG--
extra : rebase_source : 22b489cc5d7d3f91e9cfeab749fd41bd2300b652
2016-10-03 10:08:26 +02:00
Ralph Giles
17ec242a0b Bug 1306755 - Copy rust mp4parse tests into the tree. r=kinetik
Having these files in-tree makes it possible to run
`cargo test` to verify changes.

MozReview-Commit-ID: 6x4XZaw4UtD

--HG--
extra : rebase_source : 293572cbbc21929b43a735bf53ddb5521503bcd2
2016-09-30 14:37:54 -07:00
Phil Ringnalda
acb6be9f73 Merge m-c to autoland 2016-10-02 22:40:03 -07:00
Randell Jesup
82c541aab8 Bug 1303279: reset codec resolution to last frame when reconfiguring in webrtc r=pkerr 2016-10-02 02:05:49 -04:00
Nico Grunbaum
e642e84d54 Bug 1306873: only offer RID for video, and only if simulcast is being negotiated r=jesup 2016-10-01 20:35:53 -04:00
Randell Jesup
823711f9ba Bug 1306873: extmap direction support and cleanup r=bwc
Also removes RID support from audio

MozReview-Commit-ID: 28pmbvm4kw4
2016-10-01 20:35:50 -04:00
Phil Ringnalda
400813c30b Merge m-i to m-c, a=merge 2016-09-30 23:24:52 -07:00
Byron Campen [:bwc]
40a3a1cdc9 Bug 1304165: More complete rollback of transport objects. r=drno
MozReview-Commit-ID: Gu1iIuyFI4g

--HG--
extra : rebase_source : 17c6c1c5d7b614cc8194187781948f2ef02f90ea
2016-09-28 11:48:33 -05:00
Alfredo.Yang
880bc1789a Bug 1304254 - Use fragment_duration as track duration. r=rillian
MozReview-Commit-ID: 6Y8kFiDmE1y

--HG--
extra : rebase_source : dcce69cfee361edd92fdcb3d41d198a915bc3a48
2016-09-22 19:30:11 +08:00
Ralph Giles
ac89e3a7ca Bug 1306164 - Drop byteorder from mp4parse update script. r=kinetik
The byteorder dependency was moved to $topsrcdir/third_party/rust/
in bug 1298422 but this import script wasn't updated.

MozReview-Commit-ID: CzoxsFPYpIm

--HG--
extra : rebase_source : 18bcc2e3351887f0593e2167acc59c6c4f6003e8
2016-09-29 15:28:31 -07:00
Alfredo.Yang
a5e375a095 Bug 1306164 - Update rust parser for fragmented file. r=rillian
MozReview-Commit-ID: BzRxyH9tYZL

--HG--
extra : rebase_source : c217dab83d6646c37e74985cee5ce743c9f880b5
2016-09-29 08:56:48 +08:00
Sotaro Ikeda
2cc1d95c31 Bug 1304330 - Update YuvConstants of BT.709 YUV r=jesup 2016-09-28 19:50:14 -07:00
Carsten "Tomcat" Book
572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Matthew Gregan
318e608e57 Bug 1305596 - Convert debug-only asserts added in bug 1303247 to release asserts. r=rillian 2016-09-27 13:09:21 +13:00
Byron Campen [:bwc]
548a4d6be0 Bug 1304568: Fix some bad casts. r=drno
MozReview-Commit-ID: XJhCywlTpg

--HG--
extra : rebase_source : 92592e28e738fdc57bb4e89bbf0cace5f8ec7b57
2016-09-22 09:31:30 -05:00
Martin Thomson
54eb5cb215 Bug 1304919 - Update WebRTC to latest NSS, r=ekr
MozReview-Commit-ID: Jz9lraGZIyx

--HG--
extra : rebase_source : 9b80b600f46ecc04ea9f282342d3a98ef0e915b8
extra : source : f1aace586e14a276cc43dd00111d5c9d04580ea0
2016-09-23 13:47:00 +10:00
Iris Hsiao
767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Randell Jesup
036d6b9816 Bug 1288904: Clean up RID header extension support r=jesup,drno 2016-09-23 21:55:08 -04:00
Sebastian Hengst
a0d432121c Backed out changeset f1aace586e14 (bug 1304919) 2016-09-24 18:00:08 +02:00
Martin Thomson
d566e166e9 Bug 1304919 - Update WebRTC to latest NSS, r=ekr
MozReview-Commit-ID: Jz9lraGZIyx

--HG--
extra : rebase_source : 9731046d82e7aeef9192fe6e7ce10dd56d80a78d
2016-09-23 13:47:00 +10:00
Sebastian Hengst
9bd39c7f55 Backed out changeset 07cb69423014 (bug 1288904) for failing cpp unit test jsep_session_unittest. r=backout 2016-09-24 10:23:53 +02:00
Randell Jesup
26e9eaaec7 Bug 1288904: Clean up RID header extension support r=jesup 2016-09-23 21:55:08 -04:00
Carsten "Tomcat" Book
6029d72706 Merge mozilla-central to autoland 2016-09-23 12:48:43 +02:00
Carsten "Tomcat" Book
a65e4225ef merge mozilla-inbound to mozilla-central a=merge 2016-09-23 12:05:53 +02:00
Alfredo.Yang
849aca37da Bug 1304820 - use stagefright instead of rust parser when rust parser fails to parse a file. r=kinetik
MozReview-Commit-ID: 8tjl9MICvWo

--HG--
extra : rebase_source : 7bb71369eb969fd762d99079dbc7f174e1f0d75e
2016-09-23 14:37:07 +08:00
Byron Campen [:bwc]
b571d6f4c1 Bug 1281482: Extend STUN rate limit to e10s sockets. r=drno
--HG--
extra : rebase_source : d39dec248379da239e0a3ed8bd904e713d2f1fa8
2016-09-22 10:38:06 -05:00
Munro Chiang
a268210415 Bug 1302059 - use VIDIOC_ENUM_FMT & VIDIOC_ENUM_FRAMESIZES to query supported format & resolution; r=jesup
MozReview-Commit-ID: AFEeb9yrIzb

--HG--
extra : rebase_source : c3b6b71b167a897cdd14e54f24b3c495d5151dd5
2016-09-21 17:25:00 +08:00
Jan Beich
4f54bca31e Bug 1304558 - Unbreak BSD build after bug 1297337. r=jesup
MozReview-Commit-ID: 3r2cjZlODDo

--HG--
extra : rebase_source : 942e02c6339b6c6ba753d117fadb1f558bb48b94
2016-09-22 00:04:44 +00:00
Carsten "Tomcat" Book
d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Matthew Gregan
269fe42c7e Bug 1304303 - Speed up default initialization of SampleInfoSize table. r=gerald
MozReview-Commit-ID: 9dValMxqVkh
2016-09-22 17:40:48 +12:00
Phil Ringnalda
c9972b98e7 Backed out changeset 9b7d9479690e (bug 1304303) for gtest and mda failures
CLOSED TREE
2016-09-21 19:56:58 -07:00
Matthew Gregan
db1ebdc0cf Bug 1304303 - Speed up default initialization of SampleInfoSize table. r=gerald
MozReview-Commit-ID: 9dValMxqVkh
2016-09-22 12:59:27 +12:00
Nathan Froyd
6e6298cac2 Bug 1298387 - disable x86 assembly sources for libtheora when compiling with clang-cl; r=rillian
MozReview-Commit-ID: 3DHvAC6XHjB

--HG--
extra : rebase_source : bcb8bbc2e3d91368a5fed2a4845395ab9a04c6a5
2016-08-26 14:30:38 -04:00
Carsten "Tomcat" Book
4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Matthew Gregan
8a99e587f7 Bug 1303247 - Add a dev-only pref to treat mismatches between Rust and Stagefright as a fatal error. r=rillian
MozReview-Commit-ID: Jl69N9VQTXR
2016-09-21 17:45:47 +12:00
Matthew Gregan
e98062c24c Bug 1303247 - Fix track indexing and AudioInfo initialization in Rust metadata parser. r=rillian 2016-09-21 17:45:46 +12:00
Iris Hsiao
b7a1f3a808 Backed out changeset 516597939e1a (bug 1303247)
CLOSED TREE
2016-09-21 12:25:49 +08:00
Iris Hsiao
2b06627798 Backed out changeset 85cacbef3243 (bug 1303247) for GTest Assertion failures
CLOSED TREE
2016-09-21 12:25:36 +08:00
Matthew Gregan
1b172c6726 Bug 1303247 - Add a dev-only pref to treat mismatches between Rust and Stagefright as a fatal error. r=rillian 2016-09-19 14:31:45 +12:00
Matthew Gregan
f1cda1cfce Bug 1303247 - Fix track indexing and AudioInfo initialization in Rust metadata parser. r=rillian 2016-09-21 14:30:04 +12:00
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
Munro Chiang
c86b6515ad Bug 1297337 - implement mediaDevices.ondevicechange for Linux; r=jesup
MozReview-Commit-ID: 6cEq7xVUkhf

--HG--
extra : rebase_source : ee71fea0aa49452bcd403678b3c22c3fe3dd297c
2016-09-01 11:06: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
Ryan VanderMeulen
9114490dad Bug 1304537 - Update libjpeg-turbo to version 1.5.1. r=jrmuizel 2016-09-22 11:46:52 -04: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
Tooru Fujisawa
daced00575 Bug 1290337 - Part 19: Allocate JSErrorResult separately in WrappableJSErrorResult. r=smaug 2016-09-11 18:21:36 +09: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
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