Ralph Giles
4efb0b68fe
Bug 1056408 - Flush local task queues in AppleDecoderModule. r=cpearce
...
We could still have data pending submission on the local task queue
which would be submitted after we were supposed to have flushed.
2014-08-20 16:38:00 -07:00
Ralph Giles
8ad88b4ab5
Bug 1056371 - Fix AppleATDecoder dtor counting. r=cpearce
...
Typo affecting leak detection.
2014-08-20 15:28:00 -07:00
Blake Wu
54f7448061
Bug 1055383 Make MP4Reader::Decode not return false if output EOS is not reached. r=cpearce
2014-08-19 11:23:00 +08:00
Anthony Jones
cc7b452600
Bug 1054153 - Fix MP4 demuxer is init vs buffered range race; r=edwin
2014-08-19 14:13:56 +12:00
Anthony Jones
dfffe06cbd
Bug 1049133 - Calculate eviction offset for MP4 instead of guessing; r=kinetik,edwin
2014-08-19 14:13:55 +12:00
Jean-Yves Avenard
ee64078bc7
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
extra : rebase_source : 964077ffa7abd11a5da586bfcdee2ee98d4bc210
2014-08-15 16:25:06 +10:00
Matthew Gregan
97ae9de9dc
Bug 1054149 - Fix anFoo coding style violation in content/media. r=cpearce
2014-08-14 21:24:00 +12:00
Ryan VanderMeulen
deaa74fb0e
Backed out changesets b8e0173c9c47, b087e84a99f1, and 66c055120ca7 (bug 1049133) for Android and B2G bustage.
...
CLOSED TREE
2014-08-17 22:28:34 -04:00
Anthony Jones
fce84186cc
Bug 1049133 - Calculate accurate MP4 eviction offset; r=edwin
2014-08-18 13:02:27 +12:00
Ralph Giles
fcb6f98d56
Bug 1047486 - Don't crash on null VideoData. r=cpearce
...
Avoid crashing when we can't create a VideoData object for
the decoded data MacOS X returns.
2014-08-15 11:24:00 -07:00
Ryan VanderMeulen
8b24589784
Backed out changesets 9329fb07c373 and ff8dc9ac0228 (bug 1022501) for Windows mochitest-1 failures.
...
CLOSED TREE
--HG--
rename : content/media/fmp4/eme/EMEAudioDecoder.cpp => content/media/fmp4/eme/EMEAACDecoder.cpp
rename : content/media/fmp4/eme/EMEAudioDecoder.h => content/media/fmp4/eme/EMEAACDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h => content/media/fmp4/ffmpeg/FFmpegAACDecoder.h
2014-08-15 13:14:03 -04:00
Jean-Yves Avenard
fad535af97
Bug 1052383 - Properly detect HE-AAC stream. r=rillian
2014-08-15 15:52:18 +10:00
Jean-Yves Avenard
09cdc50043
Bug 1052383 - Minor style fixes. r=rillian
2014-08-14 14:32:59 +10: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
Nigel Babu
573a67d3d1
Backed out changeset 5cbae203cad2 (bug 1054149) for bustage ON A CLOSED TREE
2014-08-15 12:34:58 +05:30
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
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
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
9259915554
Bug 1050060 - Update index off main thread; r=edwin
2014-08-13 17:13:28 +12:00
Chris Pearce
abf1a2b467
Bug 1050064 - Reconfigure WMFAACDecoder on stream change. r=padenot
2014-08-13 09:56:33 +12:00
Blake Wu
80908bb94a
Bug 941302 - Part 5: Add Gonk Decoder Module. r=cpearce
...
From 6832d7208fc72eb8ff6782c87f5831ab3ff5a9bb Mon Sep 17 00:00:00 2001
2014-08-07 17:46:11 +08:00
Blake Wu
3b455f5dfd
Bug 941302 - Part 3: Changes for adding Gonk Decode Module. r=cpearce
...
From de67de8646b413bce991789b42d09f398b162b53 Mon Sep 17 00:00:00 2001
2014-08-07 18:23:45 +08:00
Chris Pearce
a249b98033
Bug 1049107 - Fix build with --disable-eme. r=kentuckyfriedtakahe
2014-08-08 14:44:04 +12:00
Chris Pearce
636eece8ca
Bug 1050199 - Support the GMP returning arbitrary audio sample rates and number of channels. r=jesup
2014-08-08 14:44:01 +12:00
Mike Hommey
ec54bf6c1f
Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal
2014-08-06 07:25:33 +09:00
Chris Pearce
bbdccf59f7
Bug 1047214 - Add MediaDataDecoders that uses a GMP for decoding as well as EME decryption. r=edwin
2014-08-05 19:56:04 +12:00
Anthony Jones
e7ff4e143d
Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin
2014-08-05 18:12:48 +12:00
Wes Kocher
8690584308
Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
...
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Anthony Jones
1d729bea82
Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin
2014-08-05 13:35:04 +12:00
Chris Pearce
3c3331c94e
Bug 1047824 - Make Apple PDM handle Shutdown() call on non-main thread. r=rillian
2014-08-03 19:29:19 +12:00
Chris Pearce
acf9e6cd5b
Bug 1047824 - Call PlatformDecoderModule::Shutdown() in MP4Reader::Shutdown() on the decode task queue. r=kinetik
2014-08-03 19:28:39 +12:00
Nathan Froyd
b0d8d29205
Bug 1046784 - move -DNOMINMAX definitions to moz.build; r=mshal
2014-07-31 10:41:48 -04:00
Ralph Giles
2e9e69a4dc
Bug 1046301 - AppleATDecoder: call DrainComplete. r=cpearce
...
Propagate changes from bug 1039128.
2014-07-30 16:07:00 -07:00
Ralph Giles
c6fb82a56d
Bug 1046301 - AppleVTDecoder: call DrainComplete. r=cpearce
...
Propagate changes from bug 1039128 and some other cleanup.
2014-07-30 16:06:00 -07:00
Chris Pearce
0d51998ee9
Bug 1047188 - Ensure we only call MediaDataDecoder::Drain() once, and break out of MP4Reader::Decode() when DrainComplete() is called. r=kentuckyfriedtakahe
2014-08-01 16:04:37 +12:00
Daniel Holbert
aa377700c6
Bug 1046282 part 4: Make Create*Decoder functions return already_AddRefed. r=rillian
2014-07-30 18:40:21 -07:00
Daniel Holbert
44a462e1a0
Bug 1046282 part 3: Use nsRefPtr instead of RefPtr for DecoderData::mDecoder (and mTaskQueue, for consistency & good measure). r=rillian r=cpearce
2014-07-30 18:40:19 -07:00
Daniel Holbert
9c663b0e34
Bug 1046282 part 2: Drop unnecessary else-after-return in EMEDecoderModule.cpp. r=rillian
2014-07-30 18:40:18 -07:00
Daniel Holbert
07ea0b12df
Bug 1046282 part 1: Make Create*Decoder function-signatures use a consistent style. r=rillian
2014-07-30 18:40:14 -07:00
Daniel Holbert
282beab189
Bug 1046263: Drop EMEDecoderModule.cpp's unused #include for runnable_utils.h (to fix --disable-webrtc builds). r=cpearce
2014-07-30 12:25:27 -07:00
Ralph Giles
42bbe06969
Bug 941296 - Fix non-unified build. r=bustage CLOSED TREE
...
We need to include a headers defining nsrefcnt and NS_IsMainThread(),
and make sure we reference the CMLinker versions of the CoreMedia
functions rather than the system ones.
2014-07-30 11:43:05 -07:00
Ralph Giles
f43eae08fb
Bug 1043695 - Fix comment formatting. r=cpearce
2014-07-26 23:45:00 -07:00
Ralph Giles
b56cc112f0
Bug 1043695 - Add a frame reorder queue. r=cpearce
...
This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.
Based on now-removed code from Edwin's FFmpegH264Decoder.
2014-07-24 17:08:00 -07:00
Ralph Giles
9fcd06be4b
Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce
...
Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
2014-07-24 16:58:00 -07:00
Ralph Giles
ac294c190a
Bug 1043695 - Log output frame metadata. r=cpearce
...
Also cleans up the input sample log so they're easier to compare.
2014-07-24 16:57:00 -07:00
Ralph Giles
6ff640055a
Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce
...
Everything else auto-releases, might as well do this too.
2014-07-24 16:56:00 -07:00
Jean-Yves Avenard
2f471276ca
Bug 1046005 - Fix compilation on OS X 10.9. r=rillian
...
We never directly link against the CoreVideo framework,
as such no external definition will be resolved
2014-07-30 22:32:58 +12:00
Ralph Giles
ee6e2e7884
Bug 941296 - Fix type conversion errors on 32-bit MacOS. r=cpearce
...
UInt32 is an unsigned long on i686 while uint32_t is an unsigned int.
The compiler can't covert from a pointer to one to the pointer to
the other, so just use the MacOS type.
There's no problem on 64-bit.
2014-07-26 23:43:00 -07:00