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

5235 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich 3fc9fd3377 Bug 1377093 - Enable mediapipeline tests on BSDs as well. r=dminor
MozReview-Commit-ID: GFE13Wlxl4z

--HG--
extra : rebase_source : 26960eff59621a466ea28655787585d8d442c308
2017-06-29 12:04:25 +00:00
Munro Mengjue Chiang eeb635c70a Bug 1372687 - replace timestamp() (90kHz) with inputImage.render_time_ms() (Milliseconds). r=jesup
MozReview-Commit-ID: Do3FlBoNCZ6

--HG--
extra : rebase_source : 4a153cc3e3d74ecb3bf52af8da2b2eaef3fbac42
2017-06-21 13:51:53 +08:00
Carsten "Tomcat" Book 5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Ralph Giles 6860e65987 Bug 1376395 - opus: Update to the 1.2.1 release. r=rillian
New upstream release. Fixes an issue where the encoder would
incorrectly bandlimit signals to 12 kHz.

MozReview-Commit-ID: 91LsUhXDlxT

--HG--
extra : rebase_source : a7c476f073536521e614479e9e809a95b8873b07
2017-06-27 07:28:00 +02:00
Jan Keromnes 5257fdad8c Bug 1372977 - Use nullptr in /media and /dom/media (clang-tidy: modernize-use-nullptr). r=bwc 2017-06-28 15:38:00 -04:00
Christian Holler 428858f77b Bug 1376959 - Fix broken/missing LibFuzzerRegistry.h include. r=froydnj
MozReview-Commit-ID: WoHveMcQqt

--HG--
extra : rebase_source : 8da048c921f2aa2b248dce2ac646e67056ed4d8b
2017-06-28 15:20:11 -07:00
Kershaw Chang c168ba5421 Bug 1343755 - Label runnables in DataChannelConnection. r=jesup 2017-06-27 10:39:00 -04:00
Dan Minor a9df96e992 Bug 1355947 - Use TestNrSocket to build a fake ICE implementation for testing; r=drno
MozReview-Commit-ID: GhSX9t8DmTO

--HG--
extra : rebase_source : 8fea1934f88b378606b4af96d96c27560906fd88
extra : histedit_source : 4d6fc904c79c74ba8c24e816d70368ee3a850769
2017-04-18 06:54:34 -04:00
Dan Minor 1cc1e5734f Bug 1355947 - Add NatDelegate to TestNat; r=bwc
This allows tests to implement different packet handling schemes without having
to extend or modify TestNat itself.

MozReview-Commit-ID: 6DlESF3hfX6

--HG--
extra : rebase_source : ebb621f6f6ba00811cda7baef449caec126cb15e
2017-06-13 10:08:45 -04:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Ralph Giles 4b40c3d321 Bug 1376395 - opus: Update to the 1.2.1 release. r=kinetik
New upstream release. Fixes an issue where the encoder would
incorrectly bandlimit signals to 12 kHz.

--HG--
extra : rebase_source : 258692afe5a5d9602c76e71a679225bcd90951ef
2017-06-27 07:28:00 +02:00
Dan Minor 76ed84af24 Bug 1319489 - move mediapipeline_unittest to xul-gtest; r=drno
The test is rewritten to use mock implementations which are subclassed from real
implementations rather than using conditional compilation and separate classes.

MozReview-Commit-ID: 3jBEtEdNQOB

--HG--
rename : media/webrtc/signaling/test/mediapipeline_unittest.cpp => media/webrtc/signaling/gtest/mediapipeline_unittest.cpp
extra : rebase_source : dcf514c30793b67cc4114acd3f7fa1d01094df26
2017-01-10 09:56:58 -05:00
Jean-Yves Avenard a59cb63f30 Bug 1374774: P11. Ignore SPS' timing information when comparing two SPS NALs. r=gerald
They can change from one SPS to the next, causing unecessary reconstruction of the decoder.

MozReview-Commit-ID: IhCnLuzGc2i

--HG--
extra : rebase_source : ff6020c10fe9d2eaee7ee8244c92d0c1535239be
2017-06-23 10:14:07 +02:00
Jean-Yves Avenard 6b75c7d481 Bug 1374774: P10. Attempt to reduce SPS change false positives. r=gerald
We now compare the decoded data rather than the raw data, otherwise as seen in video from bug 1372766, we keep draining the decoder. For some reasons the SPS NALs only differ by 1 byte at a time.

MozReview-Commit-ID: LdXinUZHjD4

--HG--
extra : rebase_source : 0aa768cbcbe5b6df0a2a01df1db61c93537899a2
2017-06-23 03:01:57 +02:00
Jean-Yves Avenard dfd6aac637 Bug 1374774: P9. Only look for SPS changes in stream format change detection. r=gerald
All decoders appear capable of handling content change when just new PPS appears.
So we restrict the test to SPS changes.

MozReview-Commit-ID: LPSfMaTIj6C

--HG--
extra : rebase_source : f2a757e71dfab7938da4f064d073fc21f99edf53
2017-06-22 19:46:27 +02:00
Jean-Yves Avenard ebf91b843f Bug 1374774: P8. Use new SPSNALIterator class. r=gerald
MozReview-Commit-ID: 1nrvInxgugz

--HG--
extra : rebase_source : 7ff257b422845ca0cba606448826260a25095b68
2017-06-23 02:08:41 +02:00
Jean-Yves Avenard 1a62966642 Bug 1374774: P7. Add SPSNAL and SPSNALIterator classes. r=gerald
We will use them to simplify the parsing of the extradata.

MozReview-Commit-ID: 5M5uGXAkkFb

--HG--
extra : rebase_source : bbd641203eb8bdcccb667d1a4e259c1a0462b11e
2017-06-23 01:51:42 +02:00
Jean-Yves Avenard 66b67006ed Bug 1374774: P6. Fix ByteReader constness. r=gerald
MozReview-Commit-ID: 8bQA189OOVF

--HG--
extra : rebase_source : f89e5782add618bfa2676798c5712d88925b2980
2017-06-22 22:50:08 +02:00
Jean-Yves Avenard 852878f9ea Bug 1374774: P5. Ignore duplicated SPS when reading NALs in-band. r=gerald
With some H264 streams, we find that the SPS/PPS NALs are duplicated on the stream. This caused us to treat it as if the content changed due to the discrepency between the extradata found in the MP4 metadata and what found inband.

When scanning for SPS NALs, we now attempt to detect duplicates, and if so ignore them.

MozReview-Commit-ID: D8OVOXSwEkY

--HG--
extra : rebase_source : cbaccee3d2b3d73fc5bf68acb425cb7f34d11fcf
2017-06-22 19:41:33 +02:00
Jean-Yves Avenard 234164b774 Bug 1374774: P3. Remove HasSPS method. r=gerald
It was only used in one spot, and incorrectly at that.

MozReview-Commit-ID: EWkkrAlYT7W

--HG--
extra : rebase_source : a19afe8f49e1e0fd430ddbff81978eb3511c5fb5
2017-06-22 14:44:21 +02:00
Jean-Yves Avenard 8f3424c201 Bug 1374774: P2. Add comment for HasSPS methods. r=gerald
MozReview-Commit-ID: Irvcx5XnPyp

--HG--
extra : rebase_source : 74bec6880424a3716a48a2016adabd4fec47a6d0
2017-06-22 14:42:46 +02:00
Jean-Yves Avenard 0ac3f1c5b4 Bug 1374774: P1. Move H264 methods into H264 code. r=gerald
HasSPS, ExtractExtraData and CompareExtraData have nothing to do with the handling of annex B format. They are raw H264 related methods.

It will also prevent in the following change to have cycling references between two headers.

MozReview-Commit-ID: FCs5aU4GcTU

--HG--
extra : rebase_source : a96fe0c70416d38690b0c2f1dee567b0b025e947
2017-06-22 14:36:11 +02:00
Peter Gerber f6d02d64ec Bug 1375873 - fix panic in cubeb caused by PA_SINK_SET_FORMATS flag r=kamidphish
MozReview-Commit-ID: FQic63gUu51

--HG--
extra : rebase_source : f4e3f5e4258ba4fb08acb4fe85b73404c7bf7afe
2017-06-24 02:42:28 +02:00
Dan Glastonbury 8f2155024b Bug 1376000: Drop any unknown flags in SinkInfo.flags. r=padenot
Rust expect() is bad in C callbacks.  Replace TryFrom() with
from_bits_truncate() to drop any unknown PulseAudio flags.

MozReview-Commit-ID: 4RWFB5iGW6Z

--HG--
extra : rebase_source : 3b05d52ae1295825b4857c41135ff08029ad280c
2017-06-24 08:03:59 +10:00
Sebastian Hengst 261b25bf86 Backed out changeset 0d953ca28add (bug 1374774) for bustage at media/libstagefright/binding/H264.cpp(205). 'ptr' not declared. r=backout on a CLOSED TREE 2017-06-24 00:49:18 +02:00
Sebastian Hengst f5e3176d23 Backed out changeset 3a889c491c7f (bug 1374774) 2017-06-24 00:48:23 +02:00
Sebastian Hengst ca778305be Backed out changeset 361c9c559b7e (bug 1374774) 2017-06-24 00:48:18 +02:00
Sebastian Hengst 9ec478d2f5 Backed out changeset 728072e0f9b6 (bug 1374774) 2017-06-24 00:48:09 +02:00
Sebastian Hengst 40948cbef1 Backed out changeset c8d141cd0520 (bug 1374774) 2017-06-24 00:48:04 +02:00
Sebastian Hengst 465af7fa38 Backed out changeset e08d2c276f62 (bug 1374774) 2017-06-24 00:48:00 +02:00
Sebastian Hengst 9d3e7b7424 Backed out changeset ddc1ce464361 (bug 1374774) 2017-06-24 00:47:55 +02:00
Sebastian Hengst 18f07bbb9d Backed out changeset 662829e2529d (bug 1374774) 2017-06-24 00:47:51 +02:00
Sebastian Hengst 85a7e690f4 Backed out changeset 158ce5e7c75b (bug 1374774) 2017-06-24 00:47:46 +02:00
Sebastian Hengst 2650b6b3ca Backed out changeset 9cc4ece5f9d5 (bug 1374774) 2017-06-24 00:47:42 +02:00
Jean-Yves Avenard 829bc5bf3e Bug 1374774: P11. Ignore SPS' timing information when comparing two SPS NALs. r=gerald
They can change from one SPS to the next, causing unecessary reconstruction of the decoder.

MozReview-Commit-ID: IhCnLuzGc2i

--HG--
extra : rebase_source : b292c658098c378b0a6774f0f559a7b55e4903f6
2017-06-23 10:14:07 +02:00
Jean-Yves Avenard 7ce7d15a72 Bug 1374774: P10. Attempt to reduce SPS change false positives. r=gerald
We now compare the decoded data rather than the raw data, otherwise as seen in video from bug 1372766, we keep draining the decoder. For some reasons the SPS NALs only differ by 1 byte at a time.

MozReview-Commit-ID: LdXinUZHjD4

--HG--
extra : rebase_source : 022e7a011e3929846f00d1be6590f3ea1c697e7c
2017-06-23 03:01:57 +02:00
Jean-Yves Avenard 7d1e767817 Bug 1374774: P9. Only look for SPS changes in stream format change detection. r=gerald
All decoders appear capable of handling content change when just new PPS appears.
So we restrict the test to SPS changes.

MozReview-Commit-ID: LPSfMaTIj6C

--HG--
extra : rebase_source : 524316ba61ffff1549a0828685ac657abe687426
2017-06-22 19:46:27 +02:00
Jean-Yves Avenard 0392b68694 Bug 1374774: P8. Use new SPSNALIterator class. r=gerald
MozReview-Commit-ID: 1nrvInxgugz

--HG--
extra : rebase_source : ac6782a20d882fa0c67db1214102dbd956eae019
2017-06-23 02:08:41 +02:00
Jean-Yves Avenard 0e9d876c18 Bug 1374774: P7. Add SPSNAL and SPSNALIterator classes. r=gerald
We will use them to simplify the parsing of the extradata.

MozReview-Commit-ID: 5M5uGXAkkFb

--HG--
extra : rebase_source : e83c8995ebbc60359029f15334e91baaeb098bbd
2017-06-23 01:51:42 +02:00
Jean-Yves Avenard 8d489f9bb9 Bug 1374774: P6. Fix ByteReader constness. r=gerald
MozReview-Commit-ID: 8bQA189OOVF

--HG--
extra : rebase_source : 4f4e371c43da839ae6168241879d580b97435bb0
2017-06-22 22:50:08 +02:00
Jean-Yves Avenard d2bb0f2ec4 Bug 1374774: P5. Ignore duplicated SPS when reading NALs in-band. r=gerald
With some H264 streams, we find that the SPS/PPS NALs are duplicated on the stream. This caused us to treat it as if the content changed due to the discrepency between the extradata found in the MP4 metadata and what found inband.

When scanning for SPS NALs, we now attempt to detect duplicates, and if so ignore them.

MozReview-Commit-ID: D8OVOXSwEkY

--HG--
extra : rebase_source : e28a8230fce4c0f361c4747fce342667d84bff45
2017-06-22 19:41:33 +02:00
Jean-Yves Avenard bcd57adc64 Bug 1374774: P3. Remove HasSPS method. r=gerald
It was only used in one spot, and incorrectly at that.

MozReview-Commit-ID: EWkkrAlYT7W

--HG--
extra : rebase_source : 9c719bbf668eafaac0415580ffdfa0cea0942673
2017-06-22 14:44:21 +02:00
Jean-Yves Avenard da6d087d1b Bug 1374774: P2. Add comment for HasSPS methods. r=gerald
MozReview-Commit-ID: Irvcx5XnPyp

--HG--
extra : rebase_source : fa2528239b3eabd838fa9ecc9dc0b2d7de3b25ef
2017-06-22 14:42:46 +02:00
Jean-Yves Avenard abaade7f70 Bug 1374774: P1. Move H264 methods into H264 code. r=gerald
HasSPS, ExtractExtraData and CompareExtraData have nothing to do with the handling of annex B format. They are raw H264 related methods.

It will also prevent in the following change to have cycling references between two headers.

MozReview-Commit-ID: FCs5aU4GcTU

--HG--
extra : rebase_source : b204723cdbb599d4f0a227871ed28f5da39e9cff
2017-06-22 14:36:11 +02:00
Ralph Giles 8454796ebc Bug 1369932 - Fix typo in aom build description. r=froydnj
The configuration object is spelled with capitals. We didn't
try to build this code on Windows previously, so short-circuit
evaluation saved us from hitting the mistake.

MozReview-Commit-ID: FCGtHW8Dzlw

--HG--
extra : rebase_source : 70676bd436211aa65c7ea447b4aab4bbab61c27a
2017-06-22 17:36:28 -07:00
Carsten "Tomcat" Book e3ba7c834b Merge mozilla-central to autoland 2017-06-23 11:46:07 +02:00
Carsten "Tomcat" Book 5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Munro Mengjue Chiang 14928e4c02 Bug 1374938 - use our own avfoundation wrapper. r=jib
MozReview-Commit-ID: KObTvtvRk10

--HG--
extra : rebase_source : 0fe3d7580cd6f64fad2dce791d52965893a7046a
2017-06-22 14:22:10 +08:00
Nicholas Nethercote f1364a75ea Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString

--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Nico Grunbaum 5579381f1c Bug 1305813 - do not send empty StreamId;r=drno
Also moving RID (StreamID) storage to the stack to clear up the TODO item
and simplify the code.

When unset the StreamID is stored as an empty string.

Added missing GUARDED_BY on rid_

Added a check to shortcut checking strlen on the StreamId when it is an empty string (which is most of the time).

MozReview-Commit-ID: EPUlPNBXYsQ

--HG--
extra : rebase_source : 08e1b9ea796c991d141164424014d2311ff9341c
2017-06-22 00:46:07 -07:00