Commit Graph

5563 Commits

Author SHA1 Message Date
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
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
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
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