gecko/content/media/fmp4
Chris Pearce 1ade2536ed Bug 959440 - Various cleanups in MP4Reader. r=kinetik
Change PlatformDecoderModule::Create*Decoder() to take an
mp4_demuxer::{Audio,Video}DecoderConfig parameter, instead of enumerating all
parameters. This means the platform decoders can have more data if need be,
like the AACAudioConfig.

Change MediaDataDecoder::Input() to take an nsAutoPtr<MP4Sample>&. The sample
will be deleted by the caller (MP4Reader) if Input() returns DECODE_STATUS_OK,
but if the MediaDataDecoder wants to assume responsibility of the
lifecycle of the sample (say to enqueue it), it can forget() on the
nsAutoPtr& passed in and assume responsibility.

Call PlatformDecoderModule::Create() on the decode thread. This is a step
towards making these classes decode-thread only.

Add PlatformDecoderModule::Init(), which caches the pref's we need, since
PlatformDecoderModule::Create() is no longer called on the main thread, we can
no longer access them in there.

Add Init() method to MediaDataDecoder interface. This is so that we can call
MediaDataDecoder::Shutdown() to unblock the initialization of a decoder, if
that init needs to block.

Pass LayersBackend type to WMFVideoDecoder, so it knows whether to init DXVA.
2014-01-15 13:31:12 +13:00
..
demuxer Bug 944900 - Fix content/media/fmp4 compilation on mingw. r=cpearce 2013-12-02 12:12:35 +01:00
wmf Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan 2014-01-06 10:06:04 -05:00
BlankDecoderModule.cpp Bug 959440 - Various cleanups in MP4Reader. r=kinetik 2014-01-15 13:31:12 +13:00
Makefile.in
moz.build Bug 950507 - Build content/media/fmp4 in unified mode; r=roc 2013-12-15 19:00:54 -05:00
MP4Decoder.cpp Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
MP4Decoder.h
MP4Reader.cpp Bug 959440 - Various cleanups in MP4Reader. r=kinetik 2014-01-15 13:31:12 +13:00
MP4Reader.h Bug 959440 - Various cleanups in MP4Reader. r=kinetik 2014-01-15 13:31:12 +13:00
PlatformDecoderModule.cpp Bug 959440 - Various cleanups in MP4Reader. r=kinetik 2014-01-15 13:31:12 +13:00
PlatformDecoderModule.h Bug 959440 - Various cleanups in MP4Reader. r=kinetik 2014-01-15 13:31:12 +13:00