Commit Graph

5840 Commits

Author SHA1 Message Date
Noemi Erli
ee9a2b7acc Backed out changeset 57c4f4fea139 (bug 1412240)for Static failures in /usr/include/bits/stdlib.h:91:3: "Assumed value of MB_LEN_MAX wrong" r=backout on a CLOSED TREE
--HG--
extra : amend_source : b954696ebb772b1a9f69e0bb9b23f824e05cb779
2017-11-30 12:47:38 +02:00
Daniel Holbert
adec63f306 Bug 1412240: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
  https://bugs.llvm.org/show_bug.cgi?id=26828

MozReview-Commit-ID: BJUN82HyXpF

--HG--
extra : rebase_source : dde23b590c3eebe9fb56dba2d81738059efde654
2017-11-25 10:21:03 -08:00
Ryan VanderMeulen
5395ec18d2 Backed out 3 changesets (bug 1421025, bug 1388219) for causing bug 1421706 on a CLOSED TREE.
Backed out changeset 1a69438ec05f (bug 1421025)
Backed out changeset 213c2c200c08 (bug 1388219)
Backed out changeset 341aaeb4ce69 (bug 1388219)
2017-11-29 17:00:27 -05:00
Dorel Luca
be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Dorel Luca
f1b2e9a5b8 Backed out changeset 98a1ef2f2b30 (bug 1414829) for merge conflict 2017-11-29 12:24:09 +02:00
Dorel Luca
d23400b578 Backed out changeset 47c4c885164f (bug 1414829) for merge conflict 2017-11-29 12:22:35 +02:00
Tiberius Oros
18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Jesse Schwartzentruber
5b3e545888 Bug 1419798 - Only build fuzzing interfaces if clang or AFL compilers are used. r=glandium
MozReview-Commit-ID: H1I9wdqTV4n

--HG--
extra : rebase_source : 18eb2536a5db80c585828ae44329f1a00d82209a
2017-11-22 11:21:09 -05:00
Alex Chronopoulos
2e3d7ac97e Bug 1421267 - Update cubeb from upstream to e17ba01. r=padenot
MozReview-Commit-ID: 8s9ZPsZkxD4

--HG--
extra : rebase_source : 540d20626dbe01a317c36ce77f7c2e856996d2e0
2017-11-28 16:27:34 +02:00
Randell Jesup
db7beeb540 Bug 1415582 - Mirror changes done to Encoder InitDone to decoder. r=bwc 2017-11-08 11:00:24 -05:00
Dan Minor
60e9120105 Bug 1414829 - Fix VideoConduitTest gtest assertion failures; r=drno on a CLOSED TREE
--HG--
extra : rebase_source : c608cf5dd89ac08a6cd281dcc8224a03de7ad57b
extra : amend_source : 8ad11cc46a1d83ff48f68b59c9c6317d4a8439bd
2017-11-28 15:58:47 -05:00
Dan Minor
9f925cd4fa Bug 1417797 - Stop callback in WebrtcGmpVideoDecoder::ReleaseGmp; r=jesup
--HG--
extra : rebase_source : 135df1636edd214d55398d8884d7778d07aebcfe
2017-11-20 07:09:19 -05:00
Dan Minor
5def7db0a1 Bug 1414829 - Add DeleteStreams to media conduits; r=jesup
MozReview-Commit-ID: AQbHQVigoTd

--HG--
extra : rebase_source : 07c0c84eb2575d98d80e30423734979bc66d9977
2017-11-08 10:51:05 -05:00
Byron Campen [:bwc]
b2254c16eb Bug 1290948 - Part 8: Don't cause ICE to fail if there's no streams to establish. r+drno r=drno
MozReview-Commit-ID: 4wxlK9w3sL6

--HG--
extra : rebase_source : 06a01ef64beb1352cee503349a287a511de50053
2017-09-29 09:16:14 -05:00
Dan Minor
14aa323f6f Bug 1406937 - Add unittests for the video-encode path through VideoConduit; r=pehrsons
MozReview-Commit-ID: 8pxdYORXmlP

--HG--
extra : rebase_source : d19427e587230acd5df751a23696255cc5d6b1bf
2017-11-24 11:38:12 -05:00
Alex Chronopoulos
be5209e3f2 Bug 1420930 - Update cubeb from upstream to 8a0a300. r=padenot
MozReview-Commit-ID: 7JriSdO8TTf

--HG--
extra : rebase_source : 37732a6d51ac9bc9cafdbe7d886d7c2e05d88c5f
2017-11-27 18:16:16 +02:00
Munro Mengjue Chiang
aa4f8e8705 Bug 1388219 - down scale camera output frame to the target capability. r=jib
MozReview-Commit-ID: BpAhwYrgHtA

--HG--
extra : rebase_source : 0213c8c820765898a0509ec7845c487d7fa0c230
2017-11-17 23:48:49 +08:00
James Cheng
1c2ea0c110 Bug 1417297 - Part1 - Convert gmp-clearkey to use Chromium ContentDecryptionModule_9 interface. r=cpearce
1. Make ClearKeyCDM inherits cdm::ContentDecryptionModule_9
2. Pass cdm::Host_9 instance instead of cdm::Host8
3. Modify the manifest to 1.4.9

MozReview-Commit-ID: JbeBm5YNZ22

--HG--
extra : rebase_source : feb6aa44e361cb68f8a75284e79b1617609438a4
2017-11-23 16:47:13 +08:00
Nils Ohlmeier [:drno]
0cc879cf44 Bug 1230759: Part 3 - changes to signaling to work with libsrtp 2.2 r=jesup
MozReview-Commit-ID: BHyoeIyQOJy

--HG--
extra : rebase_source : ec6260f390dfc4ba36c115426bd4ea24d9f0b340
2017-11-07 22:04:23 -08:00
Dan Minor
e8f6af16d7 Bug 1406935 - Add unittests for ConfigureRecvMediaCodecs; r=pehrsons
MozReview-Commit-ID: BHeHPVmeBYm

--HG--
extra : rebase_source : be59d684fe8eabcb5515fc8399da7b6ed010135f
2017-11-16 14:13:23 -05:00
Dan Minor
574910af02 Bug 1406935 - Initialize mRembFbSet in VideoCodecConfig ctor; r=mjf
MozReview-Commit-ID: B99JXDxkoYk

--HG--
extra : rebase_source : 183a2172f6d32a029dc7d19908873bddea66c711
2017-11-22 11:48:42 -05:00
Dan Minor
eaf37cc4c4 Bug 1406935 - Add unittests for ConfigureSendMediaCodec; r=pehrsons
MozReview-Commit-ID: 9yYxdOYmNtx

--HG--
extra : rebase_source : ee63d061fe14b6f0370283d2e0e56ea5a8873c70
2017-10-23 15:26:03 -04:00
Dan Minor
b2e561f2b6 Bug 1406935 - Reset FEC payload types in ConfigureSendMediaCodec; r=mjf
MozReview-Commit-ID: 7z0lsof3rUm

--HG--
extra : rebase_source : 12daa5329df9de7dbb87c8bd166395dcd0d53fe2
2017-11-22 11:44:35 -05:00
Dan Minor
2953ba72a4 Bug 1406935 - Ensure maximum bitrate is at least minimum bitrate in VideoConduit; r=pehrsons
MozReview-Commit-ID: ImKXYTN7WtM

--HG--
extra : rebase_source : 4645fe9ee5f75762a692d68b3568885e96a191b7
2017-11-22 11:43:46 -05:00
Dan Minor
4c65912b7d Bug 1406935 - Add mocks for AudioStreams, VideoStreams and Call; r=pehrsons
MozReview-Commit-ID: AL0iudPJKED

--HG--
extra : rebase_source : a40c16fa6ffb3807912af0f7fbd5316a1b23ff66
2017-10-23 14:57:41 -04:00
Matthew Gregan
e88ffe59d1 Bug 1419627 - Update mp4parse-rust to cbindgen version. r=rillian
MozReview-Commit-ID: CJwg8isx8Jk

--HG--
extra : rebase_source : 74086f8e6a40f3a3d2e5f75407c06dfa03e6736d
2017-11-22 15:18:00 +13:00
Byron Campen [:bwc]
9fed82e6f6 Bug 1290948 - Part 6: Remove some unused code. r+drno r=drno
MozReview-Commit-ID: G1uxg77wO78

--HG--
extra : rebase_source : bb8f7238bebb48251967cc453257ea6665095535
2017-08-23 16:15:11 -05:00
Byron Campen [:bwc]
7a8dcf7887 Bug 1290948 - Part 5: TransceiverImpl and some major refactoring. r+drno r=drno
MozReview-Commit-ID: 3IBAch7xVNG

--HG--
extra : rebase_source : 7379357abe05ef043260a13faf2bcebbcd2b1d39
2017-08-23 16:12:43 -05:00
Byron Campen [:bwc]
46f6fa03a6 Bug 1290948 - Part 4: Transceivers JSEP/SDP work. r+drno r=drno
MozReview-Commit-ID: JwK3It3UA5M

--HG--
extra : rebase_source : e1a5afa85ed544ab0acac08240b6007954e289e4
2017-08-23 15:55:05 -05:00
Munro Mengjue Chiang
7afd6261d5 Bug 1418871 - release RWLock before return if CreateCapabilityMap failed. r=jib
MozReview-Commit-ID: 7wPGf4Dxjq5

--HG--
extra : rebase_source : 1bb561a454f4a26d0d8f40aa1efef7aaab1fe572
2017-11-20 15:04:42 +08:00
Tom Ritter
5e81122570 Bug 1411742 Remove the pref media.getusermedia.playout_delay and the field as they are not used anywhere r=jib
MozReview-Commit-ID: Gjbeg0zWtJ1

--HG--
extra : rebase_source : 55ad0e8f5e8ec45e7ed365ea516da9ecbc498253
2017-11-16 21:57:07 -06:00
Alfredo.Yang
818f7e1ab6 Bug 1417791 - correct the header path in rust parser updating script. r=kinetik
MozReview-Commit-ID: 5G3CgnVqqyx

--HG--
extra : rebase_source : d2da0a070637e50b8c1c8a2aa7facce305b4158c
2017-11-16 14:14:07 +08:00
Michael Froman
cb81178b8a Bug 1414167 - Add offer/answer labels to local and remote sdp headings on about:webrtc. r=drno,smaug
Add a new |offerer| field to RTCStatsReport.
Based on offerer, label the local sdp as offer or answer.
Based on offerer, label the remote sdp as offer or answer.

MozReview-Commit-ID: 4jdWP8tpr9w

--HG--
extra : rebase_source : 5724645ef8e39c2af0c5fccf7d7872ee2cb437b5
2017-11-15 13:40:09 -06:00
Munro Mengjue Chiang
83d4da19c4 Bug 1399413 - Make VideoEngine & VideoCaptureModule singletons. r=jib
MozReview-Commit-ID: Czm0IYYpOpN

--HG--
extra : rebase_source : 7a6838c5725fd01b33c8cdde58d8e937643d8898
2017-11-02 11:25:14 +08:00
Alfredo.Yang
7bdbfe6743 Bug 1417011 - remove stagefright folder. r=kinetik
MozReview-Commit-ID: F20u08Dr1yn

--HG--
extra : rebase_source : cd23f462c072f194e5bd8a16c72d0ca02cf9be35
2017-11-15 14:34:07 +08:00
Alfredo.Yang
4b077a3d5d Bug 1417011 - move mp4 gtest. r=kinetik
MozReview-Commit-ID: DO4HknJLE5K

--HG--
rename : media/libstagefright/gtest/TestInterval.cpp => dom/media/gtest/mp4_demuxer/TestInterval.cpp
rename : media/libstagefright/gtest/TestMP4Rust.cpp => dom/media/gtest/mp4_demuxer/TestMP4.cpp
rename : media/libstagefright/gtest/TestParser.cpp => dom/media/gtest/mp4_demuxer/TestParser.cpp
rename : media/libstagefright/gtest/moz.build => dom/media/gtest/mp4_demuxer/moz.build
rename : media/libstagefright/gtest/test_case_1156505.mp4 => dom/media/gtest/mp4_demuxer/test_case_1156505.mp4
rename : media/libstagefright/gtest/test_case_1181213.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181213.mp4
rename : media/libstagefright/gtest/test_case_1181215.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181215.mp4
rename : media/libstagefright/gtest/test_case_1181220.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181220.mp4
rename : media/libstagefright/gtest/test_case_1181223.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181223.mp4
rename : media/libstagefright/gtest/test_case_1181719.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181719.mp4
rename : media/libstagefright/gtest/test_case_1185230.mp4 => dom/media/gtest/mp4_demuxer/test_case_1185230.mp4
rename : media/libstagefright/gtest/test_case_1187067.mp4 => dom/media/gtest/mp4_demuxer/test_case_1187067.mp4
rename : media/libstagefright/gtest/test_case_1200326.mp4 => dom/media/gtest/mp4_demuxer/test_case_1200326.mp4
rename : media/libstagefright/gtest/test_case_1204580.mp4 => dom/media/gtest/mp4_demuxer/test_case_1204580.mp4
rename : media/libstagefright/gtest/test_case_1216748.mp4 => dom/media/gtest/mp4_demuxer/test_case_1216748.mp4
rename : media/libstagefright/gtest/test_case_1296473.mp4 => dom/media/gtest/mp4_demuxer/test_case_1296473.mp4
rename : media/libstagefright/gtest/test_case_1296532.mp4 => dom/media/gtest/mp4_demuxer/test_case_1296532.mp4
rename : media/libstagefright/gtest/test_case_1301065-harder.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-harder.mp4
rename : media/libstagefright/gtest/test_case_1301065-i64max.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-i64max.mp4
rename : media/libstagefright/gtest/test_case_1301065-i64min.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-i64min.mp4
rename : media/libstagefright/gtest/test_case_1301065-max-ez.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-max-ez.mp4
rename : media/libstagefright/gtest/test_case_1301065-max-ok.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-max-ok.mp4
rename : media/libstagefright/gtest/test_case_1301065-overfl.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-overfl.mp4
rename : media/libstagefright/gtest/test_case_1301065-u32max.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-u32max.mp4
rename : media/libstagefright/gtest/test_case_1301065-u64max.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-u64max.mp4
rename : media/libstagefright/gtest/test_case_1301065.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065.mp4
rename : media/libstagefright/gtest/test_case_1329061.mov => dom/media/gtest/mp4_demuxer/test_case_1329061.mov
rename : media/libstagefright/gtest/test_case_1351094.mp4 => dom/media/gtest/mp4_demuxer/test_case_1351094.mp4
rename : media/libstagefright/gtest/test_case_1380468.mp4 => dom/media/gtest/mp4_demuxer/test_case_1380468.mp4
rename : media/libstagefright/gtest/test_case_1388991.mp4 => dom/media/gtest/mp4_demuxer/test_case_1388991.mp4
rename : media/libstagefright/gtest/test_case_1389299.mp4 => dom/media/gtest/mp4_demuxer/test_case_1389299.mp4
rename : media/libstagefright/gtest/test_case_1389527.mp4 => dom/media/gtest/mp4_demuxer/test_case_1389527.mp4
rename : media/libstagefright/gtest/test_case_1395244.mp4 => dom/media/gtest/mp4_demuxer/test_case_1395244.mp4
rename : media/libstagefright/gtest/test_case_1410565.mp4 => dom/media/gtest/mp4_demuxer/test_case_1410565.mp4
extra : rebase_source : 1322b2964280608e41d7f3729cd1fc37656e9eda
2017-11-15 14:26:18 +08:00
Alfredo.Yang
b3c4d27b09 Bug 1417011 - move MP4Metadata and MoofParser to ./dom/media/mp4. r=kinetik
MozReview-Commit-ID: IdNFBer3RCT

--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/Atom.h => dom/media/mp4/Atom.h
rename : media/libstagefright/binding/include/mp4_demuxer/AtomType.h => dom/media/mp4/AtomType.h
rename : media/libstagefright/binding/Box.cpp => dom/media/mp4/Box.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/Box.h => dom/media/mp4/Box.h
rename : media/libstagefright/binding/BufferStream.cpp => dom/media/mp4/BufferStream.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/BufferStream.h => dom/media/mp4/BufferStream.h
rename : media/libstagefright/binding/DecoderData.cpp => dom/media/mp4/DecoderData.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/DecoderData.h => dom/media/mp4/DecoderData.h
rename : media/libstagefright/binding/Index.cpp => dom/media/mp4/Index.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/Index.h => dom/media/mp4/Index.h
rename : media/libstagefright/binding/include/mp4_demuxer/Interval.h => dom/media/mp4/Interval.h
rename : media/libstagefright/binding/MP4Metadata.cpp => dom/media/mp4/MP4Metadata.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h => dom/media/mp4/MP4Metadata.h
rename : media/libstagefright/binding/MoofParser.cpp => dom/media/mp4/MoofParser.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/MoofParser.h => dom/media/mp4/MoofParser.h
rename : media/libstagefright/binding/ResourceStream.cpp => dom/media/mp4/ResourceStream.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/ResourceStream.h => dom/media/mp4/ResourceStream.h
rename : media/libstagefright/binding/SinfParser.cpp => dom/media/mp4/SinfParser.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/SinfParser.h => dom/media/mp4/SinfParser.h
rename : media/libstagefright/binding/include/mp4_demuxer/Stream.h => dom/media/mp4/Stream.h
extra : rebase_source : fe414148a53dede2def894131cd1f69920a1dd69
2017-11-15 12:00:14 +08:00
Alfredo.Yang
0c947765e5 Bug 1417011 - move Adts.h, AnnexB.h and H264.h to agnostic/mp4_demuxer. r=kinetik
MozReview-Commit-ID: HQUtpmF6Xky

--HG--
rename : media/libstagefright/binding/Adts.cpp => dom/media/platforms/agnostic/mp4_demuxer/Adts.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/Adts.h => dom/media/platforms/agnostic/mp4_demuxer/Adts.h
rename : media/libstagefright/binding/AnnexB.cpp => dom/media/platforms/agnostic/mp4_demuxer/AnnexB.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/AnnexB.h => dom/media/platforms/agnostic/mp4_demuxer/AnnexB.h
rename : media/libstagefright/binding/H264.cpp => dom/media/platforms/agnostic/mp4_demuxer/H264.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/H264.h => dom/media/platforms/agnostic/mp4_demuxer/H264.h
extra : rebase_source : 1e38929091ebb1a546ca2b17fee8d576a21cad4e
2017-11-15 11:39:07 +08:00
Alfredo.Yang
23ba3bcec8 Bug 1417011 - move BufferReader, BitReader and ByteWriter to dom/media. r=kinetik
MozReview-Commit-ID: KqmSM3RlD1V

--HG--
rename : media/libstagefright/binding/BitReader.cpp => dom/media/BitReader.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/BitReader.h => dom/media/BitReader.h
rename : media/libstagefright/binding/include/mp4_demuxer/BufferReader.h => dom/media/BufferReader.h
rename : media/libstagefright/binding/include/mp4_demuxer/ByteWriter.h => dom/media/ByteWriter.h
extra : rebase_source : 6ed0bcba4c2336bb7e532b3a5c3abce73ccdc5f5
2017-11-15 11:15:20 +08:00
Alfredo.Yang
20418e06c4 Bug 1417011 - move rust mp4 parser to media/mp4parse-rust. r=kinetik
MozReview-Commit-ID: 4Rcuv3UBoJV

--HG--
rename : media/libstagefright/binding/mp4parse-cargo.patch => media/mp4parse-rust/mp4parse-cargo.patch
rename : media/libstagefright/binding/include/mp4parse.h => media/mp4parse-rust/mp4parse.h
rename : media/libstagefright/binding/mp4parse/Cargo.toml => media/mp4parse-rust/mp4parse/Cargo.toml
rename : media/libstagefright/binding/mp4parse/src/boxes.rs => media/mp4parse-rust/mp4parse/src/boxes.rs
rename : media/libstagefright/binding/mp4parse/src/lib.rs => media/mp4parse-rust/mp4parse/src/lib.rs
rename : media/libstagefright/binding/mp4parse/src/tests.rs => media/mp4parse-rust/mp4parse/src/tests.rs
rename : media/libstagefright/binding/mp4parse/tests/afl.rs => media/mp4parse-rust/mp4parse/tests/afl.rs
rename : media/libstagefright/binding/mp4parse/tests/bipbop-cenc-audioinit.mp4 => media/mp4parse-rust/mp4parse/tests/bipbop-cenc-audioinit.mp4
rename : media/libstagefright/binding/mp4parse/tests/bipbop_480wp_1001kbps-cenc-video-key1-init.mp4 => media/mp4parse-rust/mp4parse/tests/bipbop_480wp_1001kbps-cenc-video-key1-init.mp4
rename : media/libstagefright/binding/mp4parse/tests/minimal.mp4 => media/mp4parse-rust/mp4parse/tests/minimal.mp4
rename : media/libstagefright/binding/mp4parse/tests/public.rs => media/mp4parse-rust/mp4parse/tests/public.rs
rename : media/libstagefright/binding/mp4parse_capi/Cargo.toml => media/mp4parse-rust/mp4parse_capi/Cargo.toml
rename : media/libstagefright/binding/mp4parse_capi/build.rs => media/mp4parse-rust/mp4parse_capi/build.rs
rename : media/libstagefright/binding/mp4parse_capi/src/lib.rs => media/mp4parse-rust/mp4parse_capi/src/lib.rs
rename : media/libstagefright/binding/mp4parse_fallible/Cargo.toml => media/mp4parse-rust/mp4parse_fallible/Cargo.toml
rename : media/libstagefright/binding/mp4parse_fallible/README => media/mp4parse-rust/mp4parse_fallible/README
rename : media/libstagefright/binding/mp4parse_fallible/lib.rs => media/mp4parse-rust/mp4parse_fallible/lib.rs
rename : media/libstagefright/binding/update-rust.sh => media/mp4parse-rust/update-rust.sh
extra : rebase_source : 7a86c39e5338ddf7e81a767edfd3ed8d6d1f7577
2017-11-15 09:51:38 +08:00
Nika Layzell
b4d99baba8 Bug 1416384 - Part 6: Eliminate calls to Assert{Inner,Outer} and As{Inner,Outer} in nsGlobalWindow, r=smaug
MozReview-Commit-ID: GIiSlDzjgWb

--HG--
extra : rebase_source : e21578e4056b1f3000ef320d2c380fd9889ca9eb
2017-11-15 11:34:27 -05:00
Andrea Marchesini
4b1b084ce7 Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
shindli
385fb3428c Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Chris Peterson
768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Andrea Marchesini
642cdd108b Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
Matthew Gregan
feb6071e04 Bug 1409904 - Don't bother logging when audioipc server's poll() hits EINTR. r=kamidphish
MozReview-Commit-ID: 854rPXdmbny
2017-11-15 15:40:23 +13:00
Alfredo.Yang
776dcceab4 Bug 1415809 - stop building stagefright. r=kinetik
MozReview-Commit-ID: 4PUrzpKkC6M


remove extra build config



Bug 1415809 - stop building stagefright. r?kinetik

--HG--
extra : rebase_source : cc8ef91bd3e4f1c0352ec8b2347ee79ffe167560
2017-11-14 15:45:23 +08:00
Alfredo.Yang
59da86b6b1 Bug 1415809 - update gtest. r=kinetik
MozReview-Commit-ID: Ck94z9GhXZa

--HG--
extra : rebase_source : a2f322dbd42aad549258581f4fdc1b84b7630c22
2017-11-13 16:50:02 +08:00
Alfredo.Yang
13cd8ce149 Bug 1415809 - remove stagefright stuff from DecoderData. r=kinetik
MozReview-Commit-ID: DzCNkweiNHZ

--HG--
extra : rebase_source : 6f63cdb023f501f4a3c16b697b7a4d45f3ca0911
2017-11-10 16:02:06 +08:00
Alfredo.Yang
f2716d5693 Bug 1415809 - rename MP4MetadataRust to MP4Metadata. r=kinetik
MozReview-Commit-ID: Inbl2zoIYvj

--HG--
extra : rebase_source : c30b057ae1722bedb72c2e96aa4c252e72fd724f
2017-11-10 15:29:44 +08:00
Alfredo.Yang
77f0ffd196 Bug 1415809 - return error when parsing fails. r=kinetik
MozReview-Commit-ID: Dlzx9fsGEbE

--HG--
extra : rebase_source : 139152fcf02d51bb74e85a9feea7deb60fcddebe
2017-11-09 16:07:31 +08:00
Alfredo.Yang
ff70c5cd00 Bug 1415809 - remove MP4MetadataStagefright. r=kinetik
MozReview-Commit-ID: 19HhGal5E16

--HG--
extra : rebase_source : 68c28196ff8cb1d96d7e412364c08553e9f1e1b3
2017-11-08 15:40:05 +08:00
Dan Glastonbury
702bf586df Bug 1414623 - P2: Connect callback send/receive with Mutex. r=kinetik
state_callback() and data_callback() can be called from multiple
threads.  To protect the send/receive pair of calls, a Mutex is added
to Connection to prevent one thread from starving when two threads try
to wait on the socket in recvmsg.

MozReview-Commit-ID: LUXcqnw2Hm1

--HG--
extra : rebase_source : e98f50a109510e35bab6516febc9e76539c3228f
2017-11-14 09:17:38 +10:00
Dan Glastonbury
db190864d1 Bug 1414623 - P1: Make state_callback synchronous. r=kinetik
MozReview-Commit-ID: EvgJiPQAYO6

--HG--
extra : rebase_source : 24ed86b7183bb009f9f3ebfb5a1fe757a3428da4
2017-11-10 12:03:45 +10:00
Dan Minor
f2ef09632b Bug 1376276 - Fix limiting framerate in getusermedia with screen on Windows; r=jesup
This changes code in PlatformUIThread::Run to match what was present in
ThreadWindowsUI::Run prior to the branch 49 update. With this update in place
it is possible to limit framerate on Windows again. The limit does not work
as well as on other platforms, the actual framerate seems to be 1.5x to 2x
the request value on the systems I have tested. That was also the case prior
to the branch 49 update.

MozReview-Commit-ID: W5xnWfkaET

--HG--
extra : rebase_source : dc4422864306063e83e6e1f4a7d51a0d97cbf1c6
2017-10-27 11:45:57 -04:00
Ryan VanderMeulen
b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
huangwenjun
4d46bb2355 Bug 1223312 - Part 2: Disable Noise reduction same as ARM. r=jesup
--HG--
extra : rebase_source : 4f06c862e6f019587717c7be19d2085c9047e80d
2017-11-08 18:33:00 -05:00
huangwenjun
adc74c715f Bug 1223312 - Part 1: Enable webrtc on MIPS64 platforms by default. r=drno, r=jesup, r=ted
--HG--
extra : rebase_source : 4bda2b90dc957d93e92edc6f36d10997608617d4
2017-11-08 18:30:00 -05:00
Paul Adenot
8ad630e34b Bug 1221580 - Update libcubeb to revision 7d00ea6705. r=kinetik,achronop
MozReview-Commit-ID: 8q8Va6I2hru

--HG--
extra : rebase_source : bbc96137fdd4469d57fe99f41ad1baa97e05d468
2017-11-10 12:31:24 +01:00
Noemi Erli
8d8df3ddfe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-10 12:43:53 +02:00
Alfredo.Yang
b4d31b83be Bug 1415807 - remove 'chan' box becuase it could exist with other codec types. r=kinetik
MozReview-Commit-ID: EGjjIZQHgYO

--HG--
extra : rebase_source : 8ebcd35399db292996e09dd1b458313420f4573e
2017-11-10 09:30:30 +08:00
Sebastian Hengst
1b0413a887 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 11:53:05 +02:00
Ralph Giles
7138888244 Bug 1415446 - Update to libogg 1.3.3. r=kinetik
Update our in-tree copy of libogg to the latest upstream release.

This fixes an issue handling corrupt streams when packets are
continued between framing pages, along with some minor portability
fixes.

MozReview-Commit-ID: 3Vixrru4gLV

--HG--
extra : rebase_source : be30a403c32ec777c57ca95fcc642abf875188ae
2017-11-08 08:49:05 -08:00
Ted Mielczarek
33c2d96bbf bug 1256010 - Remove media/openmax_dl/dl/Makefile.in. r=nalexander
MozReview-Commit-ID: H30bGAkF0h9

--HG--
extra : rebase_source : 49d80c82669cfbbfc8923e42fde66bb73c8e828d
2017-11-08 10:57:32 -08:00
Jan Beich
8821d0ee0f Bug 1414440 - Always build libyuv x86 optimizations with Clang. r=sotaro
SSE2 isn't enabled by default on BSD x86 systems which ends up disabling
SIMD-optimized routines in libyuv. As Clang can build the code fine without
-msse limit the requirement to GCC.

https://github.com/llvm-mirror/clang/blob/6fc97e7c1cf4/lib/Driver/ToolChains/Arch/X86.cpp#L98

MozReview-Commit-ID: BaVAbEpkoHj

--HG--
extra : rebase_source : d32d55c09f34ad2d8d9e0d275167b576c9070e65
2017-11-03 23:12:19 +00:00
Narcis Beleuzu
218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Alfredo.Yang
6816c396dc Bug 1393045 - support QT AudioSampleEntry v2. r=kinetik
MozReview-Commit-ID: GchJJBrdKYm

--HG--
extra : rebase_source : a74d0c4a944802e1905c6e16d052d2675322fc3e
2017-11-08 09:21:58 +08:00
Matthew Gregan
f26c326098 Bug 1409904 - Convert error! logging to warn! to avoid spurious stderr spamming from audioipc. r=kamidphish 2017-11-08 16:20:48 +13:00
Margareta Eliza Balazs
130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Randall Barker
a61eb9e8d3 Bug 1414994 - Set CONFIG_LINUX_PERF in media/ffvpx/config_android32.h to 0 to fix Android builds on MacOS r=jya
MozReview-Commit-ID: 2wkqm8C2uJ6
2017-11-07 12:47:30 -08:00
Alfredo.Yang
4e9d007f90 Bug 1413076 - return other kind of error in addition to OOM. r=jya
MozReview-Commit-ID: CpRF1Kr5Z2c

--HG--
extra : rebase_source : 56dbc1926d5e051ad5261d4bd495c9fbe5c26833
2017-10-31 10:13:51 +08:00
Alfredo.Yang
38793a1060 Bug 1414742 - logging BufferReader error only when enabling mozlog in MP4Metadata. r=kinetik
MozReview-Commit-ID: z69MJKQV5y

--HG--
extra : rebase_source : 36da5aa42e65320c147cb4f1887d9e2569df1726
2017-11-06 16:21:19 +08:00
Alfredo.Yang
6a9a8c409a Bug 1413702 - avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 38ZdC9udcH1

--HG--
extra : rebase_source : 78f784be1cad741ce84b464c7537af2e15ba68c9
2017-11-06 17:26:09 +08:00
Chris Pearce
f231fe980b Bug 1414991 - Unified build fixes in media. r=gerald
MozReview-Commit-ID: KjLeQMSxOfO

--HG--
extra : rebase_source : 37b7222bfbadc0836acdeee19ebd82676872b4ea
2017-11-07 12:57:34 +13:00
Jean-Yves Avenard
f49e01980d Bug 1414596 - P3. Re-generate config_*.{h,asm}. r=gerald
MozReview-Commit-ID: 2INNZuMs1y8

--HG--
extra : rebase_source : a2d539f151e90a9b1299b6ea0f895a9d8af3bdcd
2017-11-06 14:30:44 +01:00
Jean-Yves Avenard
420718da1b Bug 1414596 - P1. Re-enable assembly optimized code. r=gerald
It was incorrectly disabled during the last resync.

MozReview-Commit-ID: IP0T4Aq5Q2q

--HG--
extra : rebase_source : 77b3c792ddabfc5536b8c680010d0438a22699be
2017-11-06 13:56:16 +01:00
Jean-Yves Avenard
ee1feb36a7 Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal
The system ffmpeg will be used instead or libvpx if not found.

MozReview-Commit-ID: GX5WWPOhPq9

--HG--
extra : rebase_source : 3eec2ee1bc3b66d88653b913d6d1b3ad1a5d5acd
2017-11-06 17:57:48 +01:00
Jean-Yves Avenard
b6b4f5d024 Bug 1412558 - P1. Don't export some unused symbols. r=gerald
MozReview-Commit-ID: 8ckJEYseCaS

--HG--
extra : rebase_source : a0d8b3f4a8942b28d0f9208079efc87c4ec62de4
2017-11-06 18:22:43 +01:00
Sylvestre Ledru
3465611f71 Bug 1414628 - ConfigureCodec: Remove private field 'mHardwareH264Enabled' r=dminor
MozReview-Commit-ID: 83U02hqgW6d

--HG--
extra : rebase_source : 5baf00d2a8a3ad239981bb1774743980e3dbc0a6
2017-11-05 16:56:19 +01:00
JW Wang
2e17f2f227 Bug 1414213. P2 - don't continue reading if reader.Read(5) failed. r=jya
MozReview-Commit-ID: 1vNbACa9Vpv

--HG--
extra : rebase_source : 099d2ea1a704e6b2b710b80a273ab9f9d3e3257e
2017-11-06 11:24:16 +08:00
JW Wang
e75848012d Bug 1414213. P1 - H264::NumSPS() should return 0 if aExtraData is empty. r=jya
MozReview-Commit-ID: JTzEqYt9mQr

--HG--
extra : rebase_source : 660d93f8088ae3d01ba23c74ee6deef7a0cb34aa
extra : source : 9f971ae67cecbd4d040881b3ed0b1752b6a6e04d
2017-11-03 17:40:32 +08:00
Michael Froman
033ed8ae3a Bug 1415249 - remove unused variables introduced in Bug 1408218. r=drno
Two variables, contains_mac_based_ipv6 and contains_teredo_ipv6, were
added that are set but never used.  This will cause compiler warnings
issues in the future.

MozReview-Commit-ID: C5ZReH94RpM

--HG--
extra : rebase_source : 50e06da3c093a118151d840b7d25a979afce6321
2017-11-07 09:28:47 -06:00
Ralph Giles
05817d3bd3 Bug 1413734 - av1: fix build issues. r=kinetik
This revision of libaom has some conflicts with our vendor script
and build system. A number of new .asm files have the same basename
as .c files, which our build system cannot handle.

To work around this, I ran `./mach vendor aom` with the check for
duplicate filenames disabled, then manually renamed the conflicting
files in the filesystem and sources.mozbuild.

Also add av1_convolve_scale_sse4.c to sources.mozbuild manually.
This is needed by the build but for some reason isn't picked up
by generate_sources_mozbuild.sh.

MozReview-Commit-ID: 2iBo4kSBz1G

--HG--
rename : third_party/aom/aom_dsp/arm/idct16x16_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct16x16_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct16x16_add_neon.asm => third_party/aom/aom_dsp/arm/idct16x16_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct32x32_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct32x32_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct32x32_add_neon.asm => third_party/aom/aom_dsp/arm/idct32x32_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct4x4_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct4x4_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct4x4_add_neon.asm => third_party/aom/aom_dsp/arm/idct4x4_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct8x8_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct8x8_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct8x8_add_neon.asm => third_party/aom/aom_dsp/arm/idct8x8_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_16_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_16_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_4_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_4_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_8_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_8_neon_asm.asm
rename : third_party/aom/aom_dsp/x86/highbd_intrapred_sse2.asm => third_party/aom/aom_dsp/x86/highbd_intrapred_sse2_asm.asm
rename : third_party/aom/aom_dsp/x86/intrapred_sse2.asm => third_party/aom/aom_dsp/x86/intrapred_sse2_asm.asm
rename : third_party/aom/aom_dsp/x86/intrapred_ssse3.asm => third_party/aom/aom_dsp/x86/intrapred_ssse3_asm.asm
extra : rebase_source : 7bf598ac1a925e16e42301839376a963836ae182
2017-11-01 15:49:14 -07:00
Ralph Giles
92f3d837b2 Bug 1413734 - av1: Update decoder library. r=kinetik
Update to upstream commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
from a couple of weeks ago to pick up changes.

MozReview-Commit-ID: H7H69A7qFXD

--HG--
extra : rebase_source : dee676da15b65e4eea612d20529c4fb312bbddfb
2017-11-01 15:36:09 -07:00
Jean-Yves Avenard
2f8b62c59a Bug 1295886 - P16. Enable FLAC C decoder on aarch64 machines. r=mshal
MozReview-Commit-ID: 9i3AaG5CGex

--HG--
extra : rebase_source : 2e6cc87d2e1629d5b44fd67627675c4460201023
2017-11-02 10:51:22 +01:00
Jean-Yves Avenard
dae7070b4a Bug 1295886 - P14. Add arm neon and vfp optimized methods to ffmpeg. r=mshal
MozReview-Commit-ID: KMUZoDWoisi

--HG--
extra : rebase_source : a08eae842680b9d475bfc0afd2d569533dba676b
2017-11-02 01:48:00 +01:00
Jean-Yves Avenard
7905dd9c5e Bug 1295886 - P13. Disable FAST_CLZ on Windows. r=gerald
It may not be supported on all CPUs.

See
https://chromium-review.googlesource.com/c/chromium/third_party/ffmpeg/+/344671

MozReview-Commit-ID: 643jBtSS1Fl

--HG--
extra : rebase_source : cdac3d41174b0c2ca99b6e78968577d8750213ea
2017-11-01 21:33:24 +01:00
Jean-Yves Avenard
f65bf257be Bug 1295886 - P12. Have a generic C-only FLAC decoder. r=gerald
MozReview-Commit-ID: C6A9YNaZBvZ

--HG--
extra : rebase_source : 635b1c8286078140463e08ca44588c28b50ca993
2017-11-01 21:17:40 +01:00
Jean-Yves Avenard
88e4dfa3e3 Bug 1295886 - P11. Enable FFmpeg small mode. r=gerald
This mostly removes static strings declaration, replacing them with null pointers.

It does cause to switch to algorithms that are more geared toward space saving than speed gain. However, those are mostly in hash calculations, which the FLAC decoder doesn't use.

MozReview-Commit-ID: 6Kl6xxlBOnw

--HG--
extra : rebase_source : 051ac58cd1ed3b617684cda0bd4a93687bbc9924
2017-11-01 19:31:12 +01:00
Jean-Yves Avenard
3f07325414 Bug 1295886 - P10. Add a FLAC only option to ffvpx. r=gerald
Remove the VP8 and VP9 decoder and the subsequently unused functions.

This drops the size to libmozavcodec to around 1MB down from 4MB.

MozReview-Commit-ID: Ge57fauG35L

--HG--
extra : rebase_source : 3f667d7bf89036e9b059727d846af2504ce488b3
2017-11-01 19:01:59 +01:00
Jean-Yves Avenard
391ca166f1 Bug 1295886 - P5. Add flac support on Android. r=gerald
For now this is a C decoder only and FFmpeg isn't optimised to only decode flac (both vp8 and vp9 C decoders code is included, however they aren't enabled).

MozReview-Commit-ID: 7ulwvJDJqVg

--HG--
extra : rebase_source : 7090eee32ba394224ef8c3c1c31abf1543b69975
2017-10-31 14:48:04 +01:00
Jean-Yves Avenard
9a1bda4e02 Bug 1295886 - P4. Ensure HAVE_STDATOMIC_H is properly defined. r=gerald
MozReview-Commit-ID: GDeob2KCAcq

--HG--
extra : rebase_source : 7986205492a16c511670178dfbcc3789119517d8
2017-10-31 14:43:11 +01:00
Jean-Yves Avenard
9212649b5a Bug 1295886 - P3. Remove darwin 32 bits support. r=gerald
OS X 32 bits is no longer supported.

MozReview-Commit-ID: 2SFxDUeQvpB

--HG--
extra : rebase_source : ba68dc79483c2c0191b1168520afbb36f7502418
2017-10-31 13:45:44 +01:00
Jean-Yves Avenard
3252b06662 Bug 1295886 - P2. Extract FFmpeg BSF config options. r=gerald
Will simplify future resync.

MozReview-Commit-ID: CwkIFKYvWsL

--HG--
extra : rebase_source : 8d40fb7c080f087aa076ada231d3556adee615f9
2017-10-31 13:38:23 +01:00
Jean-Yves Avenard
85c82c1a4b Bug 1295886 - P1. Remove unused flac parser. r=gerald
All the flac parser jobs are done by FlacDemuxer

MozReview-Commit-ID: L7VZG64gi52

--HG--
extra : rebase_source : 31cca110abd9f049923bf9d579cb2781ad38bedf
2017-10-30 17:36:39 +01:00
Michael Froman
7eb5cd2f86 Bug 1413709 - add tests to detect improper ice restart by answer. r=bwc
Adding tests that would have shown the issue fixed in Bug 1405940.
If the answer during a renegotiation has modified ICE credentials,
it should cause an error.  These tests check for that error.

MozReview-Commit-ID: 9u8GGpslDdK

--HG--
extra : rebase_source : 6b204cefa96e95abd61d9a57ddd643dd81a41254
2017-11-01 11:56:35 -05:00
Jean-Yves Avenard
96d64e1c44 Bug 1392961 - Add preference to make VP9 the preferred video codec. r=jesup
Behaviour is controlled through the media.navigator.video.vp9_preferred preference.

MozReview-Commit-ID: J06ArFYNmTk

--HG--
extra : rebase_source : a25bd4783fde0acf8291ee440745a619d3fa7db8
2017-10-19 15:18:51 +02:00
Tom Prince
e1f007efbe Bug 1413257: Allow disabling ffvpx's AVX2 support on linux64 for Thunderbird's buildbot; r=jya,rillian
MozReview-Commit-ID: 6USzO1GE7dJ

--HG--
extra : rebase_source : 4a25c5e7c1cbe7bb063f615accf6563333c48c9c
2017-10-31 12:42:27 -06:00
Sebastian Hengst
4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Jim Chen
ec08814aaa Bug 1406168 - 2. Remove AndroidJNIWrapper; r=snorp
Remove AndroidJNIWrapper. It was primarily used by JNI.jsm and WebRTC.
Usages in WebRTC are replaced with equivalent uses of JNI templates.

MozReview-Commit-ID: DPSeMOtH2wF
2017-11-01 14:48:48 -04:00
Alfredo.Yang
0dd9f867bb Bug 1407833 - update rust mp4 parser for add overflow. r=kinetik
MozReview-Commit-ID: 8nGLWcXmGCr

--HG--
extra : rebase_source : 36452e27c7a6d9488164defa03f7eea281ddeef3
2017-11-01 14:48:15 +08:00
Alfredo.Yang
3d80dc7ec4 Bug 1412216 - remove unused functions in BufferReader. r=kinetik
MozReview-Commit-ID: 8y6CCe1mleo

--HG--
extra : rebase_source : 99a75aa64e99d30b431c576b8e3b4921028df70a
2017-10-27 15:09:36 +08:00
Alfredo.Yang
952d71b21f Bug 1412216 - remove ByteReader. r=kinetik
MozReview-Commit-ID: 26Pf8GXXoPh

--HG--
extra : rebase_source : f48fe10a9b421968c23d7eb7000b0508cd90537b
2017-10-25 15:42:34 +08:00
Sebastian Hengst
f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Attila Craciun
76d19aec36 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE.
--HG--
extra : amend_source : 43eb53623fe5390c69e92f322f938eb4c956ca00
2017-10-30 12:24:16 +02:00
Jean-Yves Avenard
7838f76570 Bug 1412339 - Enable AVX2 optimizations on Linux x86_64. r=jwwang
MozReview-Commit-ID: 6mMf93LQeRj

--HG--
extra : rebase_source : 531b88872914e02b6924f53c452a22323002d53a
2017-10-27 16:20:39 +02:00
Nicholas Nethercote
9252435548 Bug 1410794 (attempt 2) - Change some |string| occurrences in nsIPrefBranch.idl to |ACString|. r=erahm.
This makes the code nicer. In particular, it removes many getter_Copies()
calls. The patch also converts a lot of nsCStrings to nsAutoCString, which will
avoid heap allocation in the common case.

The patch also renames PREF_CopyCharPref() as PREF_GetCStringPref(), because
it's actually getting a string, not a char, and that matches the existing
GetCString() and GetDefaultCString() methods. Correspondingly, it also renames
PREF_SetCharPref() as PREF_SetCStringPref().

The |aPrefName| arguments in nsIPrefBranch.idl remain as |string| because they
almost always involve passing in C string literals, and passing "foo" is much
nicer than passing NS_LITERAL_CSTRING("foo").

It's worth noting that early versions of this patch used |AUTF8String| instead
of |ACString|. But it turns out that libpref stores prefs internally as Latin1.
And |ACString| is compatible with Latin1 but |AUTF8String| isn't, because
non-ASCII Latin1 strings are not valid UTF-8!

MozReview-Commit-ID: D3f7a1Vl1oE

--HG--
extra : rebase_source : e6e4b15d6d210cfd93686f96400281f02bd1d06b
2017-10-27 10:30:33 +11:00
Matthew Gregan
880b9d2455 Bug 1411849 - Update media/audioipc to d17a7c09. r=kamidphish 2017-10-30 14:40:09 +13:00
Alfredo.Yang
510e47a924 Bug 1412183 - use BufferReader instead of ByteReader in DecoderData. r=kinetik
MozReview-Commit-ID: AgcOuWn7ouo

--HG--
extra : rebase_source : e2aa46b47e848a8d51dc6e48a58e46db6f669b68
2017-10-25 15:40:24 +08:00
Alfredo.Yang
c4c528d6c5 Bug 1412183 - use BufferReader instead of ByteReader in H264 parser. r=kinetik
MozReview-Commit-ID: KhwWj1Nr85E

--HG--
extra : rebase_source : 6994f676d9946a38d5577956a4ad33577ef3b535
2017-10-25 15:26:45 +08:00
Alfredo.Yang
ae23abee61 Bug 1412183 - use BufferReader instead of ByteReader in AnnexB parser. r=kinetik
MozReview-Commit-ID: YZ4vo7o0Gs

--HG--
extra : rebase_source : 01d7242162cc31dfe1d703e4ded03cd8c5d93748
2017-10-25 09:58:43 +08:00
Alfredo.Yang
86695f2d80 Bug 1412183 - use BufferReader instead of ByteReader in mp4 index parser. r=kinetik
MozReview-Commit-ID: KNfqpgzQleE

--HG--
extra : rebase_source : ef97f84ba308df097097a9ef84e3c3378078d432
2017-10-23 10:43:30 +08:00
Sebastian Hengst
5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Sebastian Hengst
d10e26c913 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-27 00:00:25 +02:00
Andi-Bogdan Postelnicu
b5bdcb596f Bug 1411605 - don't memset the entire mCodecSpecificInfo. r=dminor
MozReview-Commit-ID: DEJXdfAuZrl

--HG--
extra : rebase_source : 6ebbf8191d02e8b55bf05e9a0df1a47586defbf6
2017-10-26 12:20:26 +03:00
Jean-Yves Avenard
f69622c5b0 Bug 1411883 - P2. Update resync documentation. r=gerald
MozReview-Commit-ID: 9L6B8qPsUcR

--HG--
extra : rebase_source : eba16ab6d1e0f58aa9aec6212c1916c7f2788481
2017-10-26 12:55:35 +02:00
Jean-Yves Avenard
1154b74148 Bug 1411883 - P1. Copy files as-is from FFmpeg upstream. r=gerald
r?gerald

MozReview-Commit-ID: J8AZngUJSOb

--HG--
extra : rebase_source : 887f47644b21e00b0b494a51f1f6f83f9b01ae6e
2017-10-26 12:53:30 +02:00
Nils Ohlmeier [:drno]
daf7230f6d Bug 1411498: delete unused sipcc states. r=bwc,smaug
MozReview-Commit-ID: DnJrQk4hkYb

--HG--
extra : rebase_source : c615899389154cca4eecdbd6e332986837451d26
2017-10-24 23:40:02 -07:00
Attila Craciun
252daa8e0a Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-26 12:32:58 +03:00
Attila Craciun
0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
Nathan Froyd
01b0ad5257 Bug 1411694 - add an override declaration in WebrtcMediaCodecVP8VideoCodec; r=jesup
We have override declarations for lots of other overriden virtual
functions, but not this one.
2017-10-25 16:00:54 -04:00
Alfredo.Yang
41a2709293 Bug 1411525 - use BufferReader in flac/ogg parser. r=kinetik
MozReview-Commit-ID: 5chnxLnpqmY

--HG--
extra : rebase_source : 85e68812f1d354813ae36731a5a36bfe7f58c2e2
2017-10-19 10:16:32 +08:00
Munro Mengjue Chiang
eba2fd4463 Bug 1409643 - call GetWindowTextLength() for visble window only. r=jib
MozReview-Commit-ID: CKl1mwV7YHw

--HG--
extra : rebase_source : fe743f735c8c1935d0042279e70d15b289189107
2017-10-19 18:03:05 +08:00
Alfredo.Yang
8da0342978 Bug 1411821 - use BufferReader instead of ByteReader in MP3 parser. r=kinetik
MozReview-Commit-ID: BpfCZUG7C6c

--HG--
extra : rebase_source : 45716111d62faac68499f4c369e3cb948de190ce
2017-10-20 11:54:29 +08:00
Jean-Yves Avenard
4063f63822 Bug 1366201 - P4. Remove no longer necessary files. r=gerald
MozReview-Commit-ID: 8aGXFlw6sR0

--HG--
extra : rebase_source : 4d8e27ad4a81276d5a55cce11e37978fb966ac3b
2017-10-24 21:59:46 +02:00
Jean-Yves Avenard
9bbe2b99fa Bug 1366201 - P3. Update ffvp9/ffvp8 to 3.4 branch. r=gerald
Structure of code was slightly modified so that it should be no longer necessary to re-generate the config_*.h files, greatly simplifying the resync process.

MozReview-Commit-ID: Ap6HpJAANT6

--HG--
extra : rebase_source : 52e5e3b9b2401644dc536d746219e5f3864c600c
2017-10-24 21:44:23 +02:00
Jean-Yves Avenard
07d56f7ff5 Bug 1366201 - P2. Revert "Bug 1292039: [ffmpeg] P1. Remove unused options and dictionary features." r=gerald
This partially reverts commit e99d6caa3a3778c0bb1f2fa9f2b4222bba2eeafereverts

FFmpeg requires specific default values in AVCodecContext to be set. It is quickly becoming too complicated to track what those should be. AVOptions automatically set all the values to their default.

MozReview-Commit-ID: lDFeUvwTMg

--HG--
extra : rebase_source : 04c5df11e485bcbae4fbf41d8b5ed512316b4d1b
2017-10-24 19:33:05 +02:00
Jean-Yves Avenard
24d074b126 Bug 1366201 - P1. Revert "Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto." r=gerald
This reverts commit f69e779a1903

FFmpeg 3.4 no longer requires this change.

--HG--
extra : rebase_source : 4767a08e886e17df2144e182105a29b0475d6367
2017-10-19 17:13:09 +02:00
Dan Glastonbury
f02d2cb4e5 Bug 1410702 - P2: Handle EINTR from recvmsg/sendmsg calls. r=kinetik
MozReview-Commit-ID: juVD61XSzL

--HG--
extra : rebase_source : feb6c51c3259dd2cd64188ab27f83579efc7d1b0
2017-10-25 14:57:26 +10:00
Dan Glastonbury
4f66ebac06 Bug 1410702 - P1: Handle errors in send_recv! r=kinetik
Connection handling code wasn't handling errors from receive()
properly. Attempting to unwrap on an Err was causing a panic.

MozReview-Commit-ID: GURe3FHPbjT

--HG--
extra : rebase_source : 664bf389020feb4a12f43422351c20ab7e804e30
2017-10-25 14:53:03 +10:00
Chris Manchester
c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Alfredo.Yang
ccda6970dd Bug 1410565 - add gtest for mTimescale checking. r=kinetik
MozReview-Commit-ID: JHpbUKIyOkN

--HG--
extra : rebase_source : 34768a30256b2f1e39478049a5009b28beb1d9e5
2017-10-24 16:05:46 +08:00
Alfredo.Yang
5ad617cb8a Bug 1410565 - check mTimescale to avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 7uxgaVAbQds

--HG--
extra : rebase_source : c3976d03877cdd8d1e03ee22ca29f54a9800eb67
2017-10-24 14:44:19 +08:00
Dan Glastonbury
0ac4f5bd34 Bug 1410107 - Grow audioipc server slabs as required. r=kinetik
MozReview-Commit-ID: zFfex3LX7K

--HG--
extra : rebase_source : 2ebbb826c210e05a259bf3376853d1886759dfc1
2017-10-25 09:14:45 +10:00
Tom Ritter
64fa57a006 Bug 1406542 Enable PTHREAD for vpx and aom under MinGW because we do in fact have them. r=rillian
We were getting warnings that HAVE_PTHREAD_H was being redeclared with the wrong value.
Let's correct that.

MozReview-Commit-ID: KVAsYofozIT

--HG--
rename : media/libvpx/config/win/ia32/vp8_rtcd.h => media/libvpx/config/win/mingw32/vp8_rtcd.h
rename : media/libvpx/config/win/ia32/vp9_rtcd.h => media/libvpx/config/win/mingw32/vp9_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_config.asm => media/libvpx/config/win/mingw32/vpx_config.asm
rename : media/libvpx/config/win/ia32/vpx_config.c => media/libvpx/config/win/mingw32/vpx_config.c
rename : media/libvpx/config/win/ia32/vpx_config.h => media/libvpx/config/win/mingw32/vpx_config.h
rename : media/libvpx/config/win/ia32/vpx_dsp_rtcd.h => media/libvpx/config/win/mingw32/vpx_dsp_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_scale_rtcd.h => media/libvpx/config/win/mingw32/vpx_scale_rtcd.h
extra : rebase_source : beb8b369df337ce2a6fcd860bb9437537376e4c5
2017-10-24 16:57:51 -05:00
Ralph Giles
cbe716f52a Bug 1411073 - av1: Clean up duplicate filenames check. r=kinetik,mshal
Check for filenames which differ only by .asm vs .c filename
extensions when importing a new version of the libaom reference
implementation of the av1 video codec.

These confuse our build system as well. Also remove the obsolete
vp8 and vp9 search directories, which generate warnings from 'find'.

MozReview-Commit-ID: DRZL7GUrsYh

--HG--
extra : rebase_source : 4bc8708dd3b2e386c19bd6b952ca2587a2284a19
2017-10-17 10:21:58 -07:00
Andrew Gaul
7ee6e2a506 Bug 1382049 - Make inner classes static when possible. r=nalexander, r=sebastian
This avoids an implicit this field and can help GC. Found via error-prone.

--HG--
extra : rebase_source : 6d91bfcb98a05c94c13fc41fd0b5b14f1404ddcf
2017-07-18 16:51:30 -07:00
Alex Chronopoulos
0ae243650c Bug 1411866 - Update cubeb from upstream to cf5ddc5. r=padenot,kinetik
MozReview-Commit-ID: IPgIZ6oBVfg
2017-10-26 10:41:49 +03:00
Dan Minor
93e787c563 Bug 1414632 - Prevent division by zero in webrtc::Merge::SignalScaling; r=jesup
A zero input_length here would be caused by a decoder error in
NetEqImpl::Decode(). Looking at the code in GetAudioInternal() which calls
Decode() it appears that the intention is to continue processing even if no new
audio data is decoded. Based on this, it seems safest to just skip muting in
SignalScaling if the input_length is zero.

The other potential cause of a division by zero here is if fs_mult_ is zero which
should not normally happen. But there's no harm in checking for that as well.


MozReview-Commit-ID: J0pd2wbjeZl

--HG--
extra : rebase_source : 5206abd1f85986d395a7eead148cb06d1d050842
2017-11-08 12:39:53 -05:00
Nika Layzell
c223b9ff2d Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell
3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Randell Jesup
97cdc0cf7f Bug 1408523 - Use SyncRunnable instead of Dispatch(...NS_DISPATCH_SYNC) when running on non-nsThreads. r=jib
--HG--
extra : rebase_source : 3b80f942f75e7c36b8f753d09d095793fc440cb8
2017-10-24 00:16:29 -04:00
Sylvestre Ledru
d60d69e2cb Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
MozReview-Commit-ID: DjDkL20wRg0

--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
bechen@mozilla.com
c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Dan Minor
20baeb4811 Bug 1404039 - Add a unittest for VideoConduit getting a signal to reduce quality due to load or bandwidth; r=pehrsons
MozReview-Commit-ID: 5J3wINSnStR

--HG--
extra : rebase_source : 0c9518c0501ca579ed9d948bde63159c21d9657c
2017-10-18 15:19:21 -04:00
Jean-Yves Avenard
858f178676 Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce
For webrtc, the most important part of the code had already been removed in bug 1355048 and could no longer be called

MozReview-Commit-ID: Fx9XI0zR1gn

--HG--
extra : rebase_source : 360996760abab650684440fbeea258b43dccfd83
2017-10-19 16:51:04 +02:00
Nils Ohlmeier [:drno]
75da806f11 Bug 1408218: ignore EUI 64 and Teredo addresses if not needed. r=bwc
MozReview-Commit-ID: 5QHi9iC2e7y

--HG--
extra : rebase_source : 0f4f4afa3edd4153418661d8ef6f3efa12bf6223
2017-10-13 08:32:16 -07:00
James Cheng
f0a43c284e Bug 1409670 - Skip decrypting request when receiving an unencrypted sample in Clearkey implementation. r=cpearce
MozReview-Commit-ID: 5XIUeFc3PSD

--HG--
extra : rebase_source : a36e27b385f1622bc7125e8d7e8c1b1b6e930842
2017-10-19 16:45:21 +08:00
Sebastian Hengst
24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Dan Minor
5168e78250 Bug 1402334 - Fix static analysis warning in CSFLog.cpp; r=drno
MozReview-Commit-ID: 2m1nKxCsxwg

--HG--
extra : rebase_source : 88b50248bf4b065af5bd893c660bf27ab40dc6dd
2017-10-16 09:03:04 -04:00
Dan Minor
0fd69c4f78 Bug 1408582 - Fix unused variable warning in CSFLog.cpp on Android; r=drno
MozReview-Commit-ID: 2PZyw40eMaF

--HG--
extra : rebase_source : 96f6460593afcfa5bc16ba9cfdb9244965ec6210
extra : amend_source : f18bd495180bbd2d3031fa226433e8f2f29e4a6e
2017-10-16 12:44:26 -04:00
Matthew Gregan
0d6e66757d Bug 1407487 - P5: Support connections from within chrome process in audioipc. r=kamidphish
MozReview-Commit-ID: 9SdUWlJ02DR
2017-10-19 18:02:59 +13:00
Matthew Gregan
cb483fa8cf Bug 1407487 - P4: Disable backtrace in error-log to work around bug 1409276. r=kamidphish
MozReview-Commit-ID: KHGTVi6QePx
2017-10-19 18:02:57 +13:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Nils Ohlmeier [:drno]
8fd8af4c1b Bug 1408371: report AEC log dir through getter. r=ng,smaug
MozReview-Commit-ID: 1Tb8nwYzMFt

--HG--
extra : rebase_source : e44b90749667961771d573da3b9e6d65b3bf554c
2017-10-13 17:57:15 -07:00
Byron Campen [:bwc]
4fda13fafa Bug 1406154: Ensure that we avoid truncating the interface description strings in a couple of corner cases. r+drno
MozReview-Commit-ID: KMTpbkvA4N

--HG--
extra : rebase_source : 377b9ae8c2664d186a496ef04a6e42b00d56883f
2017-10-12 12:12:40 -05:00
Dan Horák
a098eb0deb Bug 1408504 - Implement WriteSamples in tests for big endian platforms; r=dminor
Webrtc code supports big endian platforms, but a method in tests lacks a big endian
variant. Add it based on WavReader/WavWriter code.

MozReview-Commit-ID: A4OTnYlGgvU

--HG--
extra : rebase_source : f331c799cea89e6090fd02269d3ee8728cbeca45
2017-10-17 10:27:12 +00:00
Makoto Kato
58ad07f1ee Bug 1402334 - Fix bustage for 10.11 SDK. r=jesup
MozReview-Commit-ID: 3dnZmFEhNBQ

--HG--
extra : histedit_source : 260168a1d04ede514a12bb33ab1ed571ab25e56e
2017-10-18 10:15:45 +09:00
Sebastian Hengst
34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Dan Minor
1d0e9fe0b4 Bug 1404250 - Ensure that target bitrate is between minimum and maximum bitrates in VideoConduit; r=pehrsons
MozReview-Commit-ID: Am19abfrETx

--HG--
extra : rebase_source : 7906e80ab0a07cc5ffb7940a4f362b709a4bacbc
2017-10-10 10:43:09 -04:00
Alfredo.Yang
a9ea7d485f Bug 1409298 - print log when parse failed. r=kinetik
MozReview-Commit-ID: D02HVh6liJS

--HG--
extra : rebase_source : 5ef37ad35a79050db61e4ada42e40ae634fe8940
2017-10-17 16:51:58 +08:00
Sebastian Hengst
0fde5cb6b5 merge mozilla-central to autoland. r=merge a=merge 2017-10-17 11:46:52 +02:00
Sebastian Hengst
32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Matthew Gregan
bc2c40ef4d Bug 1407490 - Update media/audioipc to c466287. r=kamidphish
MozReview-Commit-ID: 8V6k3m2f3lI

--HG--
extra : rebase_source : 9e986d5c4a5b509162ef03ec86b2a95a9cd4ff0c
2017-10-16 15:37:10 +13:00
Alfredo.Yang
2c5201069c Bug 1387798 - remove uncessary check for remaining data and add error log when parsing fails. r=kinetik
MozReview-Commit-ID: Bo6q3ysvktr

--HG--
extra : rebase_source : 2c6f4e2b9475c2c8a8d718f1cb2ef59cde518b71
2017-10-13 14:40:05 +08:00
Alfredo.Yang
136532474c Bug 1387798 - use Result as return value in BufferReader. r=kinetik
MozReview-Commit-ID: uLny8ebSic

--HG--
extra : rebase_source : 964a677865f82f1fa745ffa0530ebe5fb5ebb76b
2017-10-13 09:44:48 +08:00
Alfredo.Yang
e707fdfbf4 Bug 1387798 - move initialized codes out of box constructor to another function which could be able to return error. r=kinetik
MozReview-Commit-ID: 5LJVCTYIT7o

--HG--
extra : rebase_source : a87d825abb76b5c9410eee1b996f3559ca7153d7
2017-10-13 10:13:28 +08:00
Alfredo.Yang
9bc0b0adbc Bug 1387798 - rename to BufferReader. r=kinetik
MozReview-Commit-ID: E1zhXdLEPFS

--HG--
extra : rebase_source : d2ef3260a6545c2d8c271126d7917df9443473fd
2017-10-11 15:55:15 +08:00
Alfredo.Yang
1eb3494e1d Bug 1387798 - copy ByteReader. r=kinetik
MozReview-Commit-ID: 6L0A3sEbLKY

--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 4605dadad2be963306277f5c6563c12c62427615
2017-10-11 15:51:35 +08:00
Kris Maglione
9184710ae5 Bug 1404198: Part 2g - Switch to NS_NewTimer* in media. r=njn
MozReview-Commit-ID: 3ydSj5HfYzZ

--HG--
extra : rebase_source : 6d38da71d3c82b900b46e69c12ceb81202dd965d
2017-10-15 23:14:33 -07:00
Michael Froman
dd94c4ef01 Bug 1408487 - handle parent process returning 0 STUN addrs. r=drno
1) don't call StartGathering in e10s mode if parent process failed to provide STUN addrs.
2) set ICE connection state to failed if parent process returns 0 STUN addrs

MozReview-Commit-ID: COPr3TavdvM

--HG--
extra : rebase_source : 6e20424cf51fa28311f7f9f6968c2a59333b6729
2017-10-18 14:06:02 -05:00
Michael Froman
90e4564993 Bug 1405940 - Fix Null Pointer dereference in sigslot::lock_block r=bwc
Caused by several issues:
1) We were allowing an answer with modified ufrag/pass to
   begin an ICE restart even if the offer didn't indicate
   it was restarting.
2) This should no longer happen, but in cases where restart logic
   was started inappropriately, TransportLayerIce::SetParameters
   could get a null stream, and we check for that now.

MozReview-Commit-ID: JFQ1zz3l5wY

--HG--
extra : rebase_source : a6d43aabada86669850ddce07ea86da8118a6bec
2017-10-12 22:38:01 -05:00
Sebastian Hengst
ffcd2ce160 merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ef359be373a97cad5a91f0150a46add4c3d8ab7c
2017-10-18 15:54:23 +02:00
Chris Pearce
3a511d931d Bug 1409546 - Use literal strings instead of assigning const char* to TrackInfo::mMimeType in mp4 demuxer. r=gerald
This works around an issue in xpcom strings that causes us to report leaking
a string for some unknown reason, so that we can unblock gecko-media which
wants to run the MP4Demuxer seek test.

We should follow up and try to figure out the root cause at a later time.

MozReview-Commit-ID: C6UlOTAIh1l

--HG--
extra : rebase_source : e9b3bceb28ada6ab0e0c3de5588c07228d722d0e
2017-10-18 08:12:51 +02:00
Dan Minor
b66f2f1f6f Bug 1402334 - Build mediapipeline using unified build; r=drno
This replaces MOZ_MTLOG with CSFLog, which is already set up to handle having
a shared LazyLogModule used from difference source files.

MozReview-Commit-ID: KNUKL92aWcw

--HG--
extra : rebase_source : 6a52dfc3c69a98318b26067aa608e5d484c8b8e2
2017-10-02 14:29:20 -04:00
Dan Minor
588a074b49 Bug 1402334 - Add log level test to CSFLog; r=drno
MozReview-Commit-ID: 3EKeDLAmEs0

--HG--
extra : rebase_source : 71a26aa97d20b280b7453e08a389a5b8d10bdcde
2017-10-02 14:33:23 -04:00
Dan Minor
69e58e48d9 Bug 1402334 - Build media-conduit and peerconnection using unified build; r=jesup
This removes the duplicate definition of logTag and fixes a preprocessor related
unified build error.

MozReview-Commit-ID: LP5frg0QZul

--HG--
extra : rebase_source : b3a6d4dbd40545e34b72623e9c976750d7f1d0ca
2017-10-02 11:05:29 -04:00
Byron Campen [:bwc]
f651e3ada4 Bug 1404535: Add telemetry that times nr_ice_gather. r+drno r=chutten,drno,liuche
MozReview-Commit-ID: I4nH8sZNX5g

--HG--
extra : rebase_source : 9a7cc3673f68fefb9ed19a58ab896b0d60648b17
2017-09-29 17:49:32 -05:00
Nils Ohlmeier [:drno]
660bb85308 Bug 1407492: remove aec log dir user pref. r=mjf
MozReview-Commit-ID: 5oNuOrSHY2y

--HG--
extra : rebase_source : 4fdf9a7cd4e88dde6b7ac583007ae90fed7fb0fe
2017-10-10 19:43:37 -07:00
Ryan VanderMeulen
0dcd727f08 Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Tom Ritter
701ee70a22 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : fe434db73a8da686391462c12b91648348abcdc9
2017-10-09 15:01:48 -05:00
Jeff Walden
be56429c85 Bug 1402344 - Update mfbt-double-conversion to the latest upstream rev. r=froydnj
--HG--
rename : mfbt/double-conversion/source/LICENSE => mfbt/double-conversion/double-conversion/LICENSE
rename : mfbt/double-conversion/source/README.md => mfbt/double-conversion/double-conversion/README.md
rename : mfbt/double-conversion/source/bignum-dtoa.cc => mfbt/double-conversion/double-conversion/bignum-dtoa.cc
rename : mfbt/double-conversion/source/bignum-dtoa.h => mfbt/double-conversion/double-conversion/bignum-dtoa.h
rename : mfbt/double-conversion/source/bignum.cc => mfbt/double-conversion/double-conversion/bignum.cc
rename : mfbt/double-conversion/source/bignum.h => mfbt/double-conversion/double-conversion/bignum.h
rename : mfbt/double-conversion/source/cached-powers.cc => mfbt/double-conversion/double-conversion/cached-powers.cc
rename : mfbt/double-conversion/source/cached-powers.h => mfbt/double-conversion/double-conversion/cached-powers.h
rename : mfbt/double-conversion/source/diy-fp.cc => mfbt/double-conversion/double-conversion/diy-fp.cc
rename : mfbt/double-conversion/source/diy-fp.h => mfbt/double-conversion/double-conversion/diy-fp.h
rename : mfbt/double-conversion/source/double-conversion.cc => mfbt/double-conversion/double-conversion/double-conversion.cc
rename : mfbt/double-conversion/source/double-conversion.h => mfbt/double-conversion/double-conversion/double-conversion.h
rename : mfbt/double-conversion/source/fast-dtoa.cc => mfbt/double-conversion/double-conversion/fast-dtoa.cc
rename : mfbt/double-conversion/source/fast-dtoa.h => mfbt/double-conversion/double-conversion/fast-dtoa.h
rename : mfbt/double-conversion/source/fixed-dtoa.cc => mfbt/double-conversion/double-conversion/fixed-dtoa.cc
rename : mfbt/double-conversion/source/fixed-dtoa.h => mfbt/double-conversion/double-conversion/fixed-dtoa.h
rename : mfbt/double-conversion/source/ieee.h => mfbt/double-conversion/double-conversion/ieee.h
rename : mfbt/double-conversion/source/strtod.cc => mfbt/double-conversion/double-conversion/strtod.cc
rename : mfbt/double-conversion/source/strtod.h => mfbt/double-conversion/double-conversion/strtod.h
rename : mfbt/double-conversion/source/utils.h => mfbt/double-conversion/double-conversion/utils.h
extra : rebase_source : 2d03850dcd1db749f0debecffec2e870acd1b958
2017-10-09 22:15:37 -07:00
Philippe Normand
52c9629669 Bug 1407063 - Fix non-unified build in SampleTable.h. r=gerald
nsTArray was previously used without prior declaration. Including the nsTArray.h
header fixes this issue.

MozReview-Commit-ID: 5FmrbjSmZUD

--HG--
extra : rebase_source : d87fd737d3a15067d7106b4fe4ae1f937d799e10
2017-10-05 15:58:16 +02:00
Philippe Normand
6aa2e63f95 Bug 1407063 - Fix non-unified build in MPEG4Extractor.cpp. r=gerald
Calls to fallible need to be prefixed by the mozilla namespace because
it's not declared as globally usable.

MozReview-Commit-ID: CJoAoTjXGUH

--HG--
extra : rebase_source : 81618f26b4f2b16b11998673a6cad67d4bca49d4
2017-10-05 15:57:12 +02:00
Philippe Normand
40d1887a1d Bug 1407063 - Fix non-unified build in ESDS.cpp. r=gerald
Fallible is used in this compilation unit so the corresponding header
needs to be included. The <new> header is also required for new placement
calls.

MozReview-Commit-ID: 2eZ8U1wDYs8

--HG--
extra : rebase_source : 53f17d2ef7f8826ac344a2dc2bb278b7b83cbee5
2017-10-05 15:55:43 +02:00
Philippe Normand
b93692bf71 Bug 1407063 - Fix non-unified build in SinfParser.cpp. r=gerald
The Stream class is used in this compilation unit so the Stream.h header needs
to be included.

MozReview-Commit-ID: 54X1UKuydUy

--HG--
extra : rebase_source : 96585c678b163fd7506b60ba3c2390d6f8b51d33
2017-10-05 15:54:08 +02:00
Philippe Normand
71f0559306 Bug 1407063 - Fix non-unified build in DecoderData.cpp. r=gerald
EndianUtils.h include was missing and some function calls required
explicit mention to the mozilla namespace.

MozReview-Commit-ID: CFsr7RJ7IGx

--HG--
extra : rebase_source : 01cde66752d6a71938cd1fe9d5f009158ceb7868
2017-10-05 15:53:07 +02:00
Philippe Normand
de1fe404f9 Bug 1407063 - Fix non-unified build in MoofParser.cpp. r=gerald
The stagefright namespace isn't used in this file and because it
wasn't previously declared in this compilation unit, a compiler error was raised.

MozReview-Commit-ID: HoYyrmIIXSV

--HG--
extra : rebase_source : 57ac59c06cdc4f54676c86a109ae404072541555
2017-10-05 15:51:32 +02:00
James Cheng
38c77e80cb Bug 1406080 - Part2 - Reject creating with unsupported cdm version in clearkey cdm and cdm-fake. r=cpearce
MozReview-Commit-ID: JvSsqZekRQ6

--HG--
extra : rebase_source : e80713dbf52aad29a32ff71a083c19479094b9a6
2017-10-07 00:06:06 +08:00
Sebastian Hengst
ee63f2e30a Backed out changeset 0317bcff40bc (bug 1406687) for build bustage at testing/gtest/gtest/src/gtest.cc:3871: 'Unused' was not declared in this scope. r=backout 2017-10-09 18:52:39 +02:00
Tom Ritter
22d2cdf063 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : c54b129c6815096035e262322f40aa0884b1ae56
2017-10-09 00:26:16 -05:00
Michael Froman
2bb753aa78 Bug 1406434 - fixing ice restart and rollback counts on about:webrtc. r=ng
This is re-adding changes from Bug 1321628 that were overwritten by the
webrtc.org v49 import.

MozReview-Commit-ID: GI4OdFANJ8N

--HG--
extra : rebase_source : ec7af8f7d9c35831b3b58a92ae30bc1da6f43f23
2017-10-06 11:26:22 -05:00
Chris Pearce
47c2e3ae92 Bug 1405697 - Move BaseMediaResource declaration to its own file. r=jwwang
This means we can simplify MediaResource.h to only include the abstract
interface, and MediaResourceIndex.

I also had to add a few includes here and there to fix the non-unified build.


MozReview-Commit-ID: 4R7LTXq25dm

--HG--
rename : dom/media/MediaResource.h => dom/media/BaseMediaResource.h
extra : rebase_source : edef4a65df4dcb92f8536052d170d78f95315753
2017-10-04 20:57:11 +02:00
Sebastian Hengst
7b3f84a66d Backed out changeset 4eb36d1710ca (bug 1402334) for bustage at media/webrtc/signaling/src/media-conduit/AudioConduit.cpp:609: 'logTag' was not declared in this scope. r=backout on a CLOSED TREE 2017-10-04 19:13:56 +02:00
Sebastian Hengst
41b7635dd5 Backed out changeset de7bd38908da (bug 1402334) 2017-10-04 19:12:24 +02:00
Sebastian Hengst
f50ee09496 Backed out changeset 978b0400ac3b (bug 1402334) 2017-10-04 19:12:19 +02:00
Dan Minor
85e0a8d5b0 Bug 1402334 - Build mediapipeline using unified build; r=drno
This replaces MOZ_MTLOG with CSFLog, which is already set up to handle having
a shared LazyLogModule used from difference source files.

MozReview-Commit-ID: KNUKL92aWcw

--HG--
extra : rebase_source : 6d9eb3421c364f941c4cdf6d40217d2b853faacb
2017-10-02 14:29:20 -04:00
Dan Minor
5e6e96008c Bug 1402334 - Add log level test to CSFLog; r=drno
MozReview-Commit-ID: 3EKeDLAmEs0

--HG--
extra : rebase_source : 3cd2251011988f7cd5fc9101af9ec9a8e55696c9
2017-10-02 14:33:23 -04:00
Dan Minor
8bfcd583ee Bug 1402334 - Build media-conduit and peerconnection using unified build; r=jesup
This removes the duplicate definition of logTag and fixes a preprocessor related
unified build error.

MozReview-Commit-ID: LP5frg0QZul

--HG--
extra : rebase_source : 64f2d77816c8d3681a7cf795317e8bdcb73c6713
2017-10-02 11:05:29 -04:00
Byron Campen [:bwc]
0c94395051 Bug 1377299: Add packet dump hooks r+drno r=drno,smaug
MozReview-Commit-ID: Jr7n49OOduG

--HG--
extra : rebase_source : 8880b8b6bf842f996f99e86fc45510e59e70a665
2017-06-29 19:14:06 -05:00