Commit Graph

159 Commits

Author SHA1 Message Date
Jean-Yves Avenard
65e8ed80a7 Bug 1059066 - Avoid picture frame copy and keep picture in GPU by using IOSurface objects. r=rillian 2014-09-07 20:40:52 +10:00
Jean-Yves Avenard
2a7be6b8c7 Bug 1062596 - Use official 10.9 constant. r=rillian
There are no functional changes, but it prevents errors or typo
2014-09-07 20:33:55 +10:00
Jean-Yves Avenard
79dedad168 Bug 1062596 - Re-enable hardware acceleration in AppleVTDecoder. r=rillian 2014-09-05 11:50:37 +10:00
Jean-Yves Avenard
e199f069f2 Bug 1063255 - Revert fix from bug 1062098. r=rillian 2014-09-05 12:29:08 +10:00
Jean-Yves Avenard
6e755c76a4 Bug 1062098: Do not attempt to output dropped frames. r=rillian 2014-09-03 18:13:35 +10:00
Ralph Giles
b8ab1c2f12 Bug 1055694 - Disable mac mp4 hardware acceleration. r=ajones
Works around crashes initializing multiple sessions.
2014-09-02 12:56:00 -07:00
Phil Ringnalda
231a486798 Backed out changeset b9e3a9f5d04a (bug 1036849) for build bustage, a=backout 2014-09-01 19:22:06 -07:00
Anthony Jones
a1e2cbc462 Bug 1036849 - Share a single MediaSourceReader; r=edwin; a=philor 2014-09-02 13:42:39 +12:00
Ehsan Akhgari
a3e58b5225 Bug 1061051 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : c3d5f6a1cc95f4a7f123129e14a9a0c57d00ef38
2014-08-31 23:50:59 -04:00
Ehsan Akhgari
5c071cc02e Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : 14da50f7d2e37e04452445dea575ea4d582e8efd
2014-08-31 23:50:23 -04:00
Anthony Jones
2707540462 Bug 1057911 - Fix libav/ffmpeg drain; r=jya 2014-08-29 14:29:12 +12:00
Jean-Yves Avenard
633e79da27 Bug 1059569 - Check that GetTaskQueue() doesn't return NULL. r=cpearce 2014-08-28 11:56:32 +12:00
Chris Pearce
27cf80e942 Bug 1059523 - Make codecs/mimetypes supported by MP4Decoder/Reader less inaccurate. r=kinetik 2014-08-28 15:32:34 +12:00
Ralph Giles
09315708bc Bug 1043710 - Reorder frames by comparing pts to dts. r=ajones
Pull frames out of the reorder queue in presentation
timestamp order when those timestamps are prior to
the latest decode timestamp.

The idea here is that when we see a frame with a decode
timestamp after the presentation timestamp of a frame
in the reorder buffer, that buffered frame can't be a
dependency of any more frames, and so decode timestamp
sample ordering ensures we've buffered all the frames
which need reordering up to that point.
2014-08-27 15:17:00 -07:00
Ralph Giles
2f9e812c9b Bug 1043710 - Pass dts to VideoToolbox decoder. r=ajones 2014-08-27 14:08:00 -07:00
Anthony Jones
3b67e0d61c Bug 1043710 - Expose decode timestamp. r=edwin 2014-08-27 14:08:00 -07:00
Chris Pearce
3659319904 Bug 1057173 - Rename MediaKeyNeededEvent to MediaEncryptedEvent. r=bz
--HG--
rename : content/media/eme/MediaKeyNeededEvent.cpp => content/media/eme/MediaEncryptedEvent.cpp
rename : content/media/eme/MediaKeyNeededEvent.h => content/media/eme/MediaEncryptedEvent.h
rename : dom/webidl/MediaKeyNeededEvent.webidl => dom/webidl/MediaEncryptedEvent.webidl
2014-08-27 20:46:56 +12:00
Ralph Giles
507f086661 Bug 1058400 - Fix AppleCMLinker assertion. r=cpearce
We call Unlink() from the failure cleanup code in Link() when
the dlopen call fails, so it's incorrect to assert that sLink
is non-null. We've already incremented the refcount, so that
check is fine.
2014-08-26 13:26:00 -07:00
Ralph Giles
0906ff6d40 Bug 1058399 - Fix VideoData leak on osx fmp4 seek. r=cpearce
Calling Clear() on the reorder queue doesn't call delete on
the stored pointer elements. Do this explicitly to avoid leaking
decoded frames when ::Flush() is called.
2014-08-26 14:22:00 -07:00
Ralph Giles
d13c2c2522 Bug 1057612 - Tell Apple AAC decoder about seeks. r=cpearce
According to the documentation we should set this flag to
mark data discontinuities after seeking.
2014-08-22 16:39:00 -07:00
Jean-Yves Avenard
bcc8fa43c2 Bug 1056394: OS X: Properly propagate timestamps. r=rillian
This isn't strictly correct, but is non-decreasing except at
seeks and appears to work in practice.
2014-08-22 15:47:00 -07:00
Chris Pearce
e097011861 Bug 1057201 - Don't dispatch to the MP4Reader's decode task queue to update buffered index, as that confuses the MediaDataDecoders. r=kentuckyfriedtakahe 2014-08-22 18:28:06 +12:00
Ralph Giles
7d5d318ec7 Bug 1057110 - Don't log h.264 sample sha1 by default. r=cpearce
This was useful for comparing input between different demuxers
but isn't really necessary now that things are running. Can be
removed when things are more stable.
2014-08-21 16:21:00 -07:00
Ralph Giles
5aeadf29d9 Bug 1057110 - Add separate PRLogModule for AppleDecoderModule. r=cpearce
The apple media decoders are quite noisy. Switching them to their
own "AppleMedia" log module simplifies the output when debugging
demuxer-specific issues.
2014-08-21 16:20:00 -07:00
Chris Pearce
d385364fb3 Bug 1055974 - Enable MP3 decoding in WMF PDM. r=padenot 2014-08-22 13:37:57 +12:00
Nathan Froyd
631962a036 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Nathan Froyd
762482b3da Bug 1055114 - convert GMPVideo{Encoder,Decoder} methods to take UniquePtr arguments where appropriate; r=cpearce 2014-08-18 13:11:11 -04:00
Blake Wu
ab95b53da3 Bug 1049325 - Part 1: Notify decoder for input EOS and report MP4Reader when output EOS is reached. r=cpearce 2014-08-21 14:22:25 +08:00
Chris Pearce
00435a4d1c Bug 1055907 - Delete output sent to MP4Reader while it's flushing, prevents leaks. r=kentuckyfriedtakahe 2014-08-21 16:10:57 +12:00
Chris Pearce
1d09cc3c02 Bug 1055907 - Ensure HasAudio() works earlier in MP4Reader::ReadMetadata(). r=kentuckyfriedtakahe 2014-08-21 16:10:34 +12:00
Chris Pearce
4b297710f9 Bug 1054824 - Detect GMP death in EMEDecryptors. r=edwin 2014-08-21 16:10:11 +12:00
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