Commit Graph

4648 Commits

Author SHA1 Message Date
Bruce Sun
8b1073fa22 Bug 1033902 - Integrate offload player into MediaCodec related codes. r=roc 2014-08-14 11:40:20 +08:00
Bruce Sun
09833d259a Bug 1033902 - Extract the logic of offload-audio from MediaOmxDecoder to a parent class. r=roc
--HG--
rename : content/media/omx/MediaOmxDecoder.cpp => content/media/omx/MediaOmxCommonDecoder.cpp
rename : content/media/omx/MediaOmxDecoder.h => content/media/omx/MediaOmxCommonDecoder.h
rename : content/media/omx/MediaOmxReader.cpp => content/media/omx/MediaOmxCommonReader.cpp
rename : content/media/omx/MediaOmxReader.h => content/media/omx/MediaOmxCommonReader.h
2014-08-14 11:38:21 +08:00
Jean-Yves Avenard
ed9213e715 Bug 1022501 - Add MP3 support to MP4 demuxer. r=edwin
--HG--
rename : content/media/fmp4/eme/EMEAACDecoder.cpp => content/media/fmp4/eme/EMEAudioDecoder.cpp
rename : content/media/fmp4/eme/EMEAACDecoder.h => content/media/fmp4/eme/EMEAudioDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.h => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h
2014-08-15 16:25:06 +10:00
Anthony Jones
8f358d3635 Bug 1022501 - Fix Windows falsely reporting support for MP4 in MP3. r=cpearce 2014-07-17 15:52:14 +12:00
JW Wang
009c505704 Bug 1046837 - Reset |mDispatchedDecodeMetadataTask| only after finishinig decoding metadata to avoid MediaDecoderStateMachine::CallDecodeMetadata() may run more than once. r=cpearce 2014-08-13 19:11:00 -04:00
Nigel Babu
573a67d3d1 Backed out changeset 5cbae203cad2 (bug 1054149) for bustage ON A CLOSED TREE 2014-08-15 12:34:58 +05:30
Nigel Babu
2f2a9e3451 Backed out changeset ddcec188e857 (bug 1053658) for bustage ON A CLOSED TREE 2014-08-15 12:34:49 +05:30
Nigel Babu
e133ae5e90 Backed out changeset 012b4107cfa0 (bug 1053674) for bustage ON A CLOSED TREE 2014-08-15 12:34:40 +05:30
Nigel Babu
e6e954ed86 Backed out changeset 865a9cdfa7b1 (bug 1053682) for bustage ON A CLOSED TREE 2014-08-15 12:34:32 +05:30
Nigel Babu
ed54660da2 Backed out changeset 822a89cfe094 (bug 1053682) for bustage ON A CLOSED TREE 2014-08-15 12:34:20 +05:30
Matthew Gregan
9062307caf Bug 1053682 - Fix formatting of doubles in SourceBuffer logging. r=cajbir
--HG--
extra : rebase_source : db346b75dcf1c4fed6bc269b606ff4e83852d877
2014-08-14 01:41:00 +12:00
Matthew Gregan
06f90184af Bug 1053682 - Optimize SourceBufferResource::ReadAt/ReadFromCache a little. r=cajbir
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
extra : rebase_source : 2ed344b1731d07f4e89b4695d36a1e0d26ada41f
2014-08-14 01:41:00 +12:00
Matthew Gregan
43bb6dd989 Bug 1053674 - Remove subclass of StateMachine and use our own task queue. r=cpearce
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
extra : rebase_source : a34a9a5c0274bae5c7f065535242316d605e8e65
2014-08-14 01:14:00 +12:00
Matthew Gregan
ffd009292b Bug 1053658 - Split MSDecoder and MSReader into separate files. r=cajbir
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
extra : rebase_source : 2fb1adcbf8795259b45bae58fa8fa342b6235bae
2014-08-14 00:22:00 +12:00
Matthew Gregan
667583085f Bug 1054149 - Fix anFoo coding style violation in content/media. r=cpearce
--HG--
extra : rebase_source : 69152bba07ecbf4e1a5790ba0f6abb0a6cda3be2
2014-08-14 21:24:00 +12:00
Karl Tomlinson
b1ce8280c8 mochitest for bug 970773
--HG--
extra : rebase_source : d79239ebc2473a95ac0dde796515c935f3ac3ab2
2014-08-13 18:00:25 +12:00
Karl Tomlinson
d470b12e5c b=970773 convert destination stream time to DOM time for playbackTime r=roc
--HG--
extra : rebase_source : a4385d56d6cc39d59abf14cca4d399a33fd64173
2014-08-13 11:05:09 +12:00
Karl Tomlinson
85754c91be b=970773 remove unnecessary locking when getting AudioNodeEngine Node on main thread r=roc
See also bug 914392.

--HG--
extra : rebase_source : 4c3599dd1866adf5045d69ab97ae362a6de4aba5
2014-08-13 10:43:14 +12:00
Karl Tomlinson
5d520e2e12 b=970773 remove unnecessary IsSafeToRunScript() test on event loop nsRunnable r=roc
If the event loop is running, then it is safe to run script.

--HG--
extra : rebase_source : c0fb5fddb8e714d4d5ed0cdb7384a95cf23ad9af
2014-08-13 10:34:55 +12:00
Karl Tomlinson
30d4a4030b b=970773 collect common AudioProcessingEvent tests into a shared function r=ehsan
--HG--
extra : rebase_source : 191bc425627b5290d2963e23d0bb7dfc569d7719
2014-08-13 12:12:43 +12:00
Ryan VanderMeulen
455115dfcd Backed out changeset 67ec7387436a (bug 1049501) for mochitest-3 crashes.
CLOSED TREE
2014-08-14 14:53:24 -04:00
Randell Jesup
adfec41f85 Bug 1049501: Don't let the GMPThread event loop recurse while handling IPDL shutdowns r=bsmedberg 2014-08-14 13:50:25 -04:00
JW Wang
4872a86be5 Bug 1046756 - Wait until AudioInitTask finished before proceeding to Shutdown(). r=kinetik 2014-08-13 20:08:00 -04:00
Jean-Yves Avenard
96c7ebdc7d Bug 1048173 - Make sure we can link against FFmpeg libraries before attempting to create a decoder. r=edwin 2014-08-05 16:13:05 +10:00
Jean-Yves Avenard
47777a3880 Bug 1047180 - Decode a single audio frame in order to retrieve accurate channel count and sampling rate and propagate to MP4Reader. r=cpearce 2014-08-11 15:27:00 +10:00
Randy Lin
231d612baa Bug 1024188 - Checks can be removed because EncodedFrame::SwapInFrameData() is infallible. r=roc 2014-08-12 16:57:55 +08:00
Anthony Jones
edd099c41e Bug 1050060 - Fix 64 bit file offset in MP4 reader; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
981d7a97a9 Bug 1050060 - Fix MP4 range pinning; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
89cf34962d Bug 1050060 - Optimise MP4 range calculation; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
9259915554 Bug 1050060 - Update index off main thread; r=edwin 2014-08-13 17:13:28 +12:00
Jed Davis
66d1734f54 Bug 1043733 - Require sandboxing to load Gecko Media Plugins on Linux. r=jesup r=kang
Also refactors how sandbox support and disabling are handled, and allows
simulating a lack of sandbox support with an env var (for testing
without rebuilding a kernel).
2014-08-12 21:28:27 -07:00
Chris Pearce
2032523788 Bug 1052378 - Replace stray mIsXXXDecoding fields with IsXXXDecoding() function calls in MediaDecoderStateMachine. r=kinetik 2014-08-13 15:04:19 +12:00
Chris Pearce
abf1a2b467 Bug 1050064 - Reconfigure WMFAACDecoder on stream change. r=padenot 2014-08-13 09:56:33 +12:00
Martijn Wargers
13fc2cd3ac Bug 1032878 - Fix for test_mediatrack_events.html. r=smaug 2014-08-11 11:33:50 -07:00
Martijn Wargers
16b12439ec Bug 1032878 - Fix for test_mediarecorder_getencodeddata.html. r=rlin 2014-08-10 20:10:53 -07:00
Martijn Wargers
174ea37131 Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
Paul Adenot
0f2dbd2460 Bug 1023947 - Revert part of a patch added by mistake, adding back a media file in the content/media manifest. 2014-08-12 13:54:04 +02:00
Chris Double
cbe95fb23b Bug 1052239 - MSE main thread assertion when seeking - r=kinetik
--HG--
extra : rebase_source : 7127180b4257434d65488f9ca7acbcc77bb77e6c
2014-08-12 15:50:57 +12:00
Matthew Gregan
e49cf8600d Bug 1050652 - Implement GetEvictionOffset for WebM reader. r=cajbir 2014-08-10 18:21:00 +12:00
Wes Kocher
0e8de3ce49 Backed out 4 changesets (bug 1032878) for probably introducing a leak, creating a CLOSED TREE
Backed out changeset 780c948d79f3 (bug 1032878)
Backed out changeset 0cfcc44660a8 (bug 1032878)
Backed out changeset 991f8d5da382 (bug 1032878)
Backed out changeset f54984be223e (bug 1032878)
2014-08-11 14:27:57 -07:00
Martijn Wargers
d72edeb291 Bug 1032878 - Fix for test_mediatrack_events.html. r=smaug 2014-08-11 11:33:50 -07:00
Martijn Wargers
d73154405c Bug 1032878 - Fix for test_call_start_from_end_handler.html. r=slin 2014-08-10 20:14:03 -07:00
Martijn Wargers
8159039049 Bug 1032878 - Fix for test_mediarecorder_getencodeddata.html. r=rlin 2014-08-10 20:10:53 -07:00
Martijn Wargers
b102096d4b Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
Matthew Gregan
18948e1ddd Bug 1024858 - Improve buffered range calculation for MediaSource objects. r=cajbir 2014-08-11 16:32:21 +12:00
Chris Pearce
5bdadd2f23 Bug 1050582 - Check we're on the correct thread in SetTimerOnMainThread. r=jesup 2014-08-11 14:18:53 +12:00
Matthew Gregan
cd855a0b39 Bug 1050099 - Avoid calling deprecated FindStartTime and instead use buffer's decoded ranges in switching logic. r=cajbir 2014-08-11 14:05:09 +12:00
Matthew Gregan
bc392029dc Bug 1050083 - Changes to WebM buffered range handling. r=cajbir
Include the frame duration in the range end.  Also handle (ignore) invalid
negative timestamps when parsing.  Include cluster offset in time/data
offset record.  Cluster offset will be used when calculating discard/resync
points in MSE.
2014-08-11 14:05:09 +12:00
Matthew Gregan
01d38a2081 Bug 1049318 - Make SourceBuffer eviction less aggressive. r=cajbir 2014-08-11 14:05:09 +12:00
Matthew Gregan
866a0b54bf Bug 1049321 - Move SubBufferDecoder to a new file. r=cajbir 2014-08-11 14:05:06 +12:00