gecko-dev/content/media/wmf
Chris Pearce 7f6e8b96b9 Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot
Report that we can play MP3 inside MP4 on Windows Vista and later in
HTMLMediaElement.canPlayType. Chrome and IE on Windows match this behaviour.

Add a test file with MP3 contained inside MP4. Note the B2G emulator can't play
this file, so I added a codecs parameter to the file's mime type so that
decoder backends have to opt-in to testing with it.

Enable playback of MP3 inside MP4 in WMFReader.

Change from reporting the IMFSourceReader's duration inside WMFReader, to
instead report the IMFSourceReader's duration as the media "end time". This is
needed because the MP3-contained-in-MP4 file's first sample output by the
IMFSourceReader has a non-zero timestamp, and the MediaDecoderStateMachine
assumes that the media samples will be in the range
[$firstSampleStartTime, $firstSampleStartTime+$reportedDuration]. But that's
not the case here, the IMFSourceReader seems to output samples in the range
[0,$reportedDuration]. This assumption mismatch means on the
MP3-contained-in-MP4 file we end up trying to seek after what the
IMFSourceReader assumes is the end of the file, which fails and causes
test failures.
2014-04-04 10:39:42 +13:00
..
DXVA2Manager.cpp Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
DXVA2Manager.h Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Makefile.in Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
moz.build Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
WMF.h Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
WMFByteStream.cpp Bug 968016 - Add a parameter to SharedThreadPool to control the number of threads in the pool. r=kinteik 2014-02-18 11:53:52 +13:00
WMFByteStream.h Bug 962354 - Create a threadsafe threadpool singleton for media threads. r=kinetik 2014-01-23 17:21:05 +13:00
WMFDecoder.cpp Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot 2014-04-04 10:39:42 +13:00
WMFDecoder.h Bug 871804 - Clarify HTMLMediaElement.canPlayType() codecs for MPEG on Windows. r=kinetik 2013-11-18 11:29:55 +13:00
WMFReader.cpp Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot 2014-04-04 10:39:42 +13:00
WMFReader.h Bug 987127 - Destroy and re-create IMFSourceReader without using DXVA when DXVA init fails to fix failure on AMD Radeon 3000 chipsets. r=padenot 2014-04-02 14:07:41 +13:00
WMFSourceReaderCallback.cpp Bug 950840 - Rename some logging macros in content/media/wmf; r=cpearce 2013-12-17 14:43:29 -05:00
WMFSourceReaderCallback.h Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug 2013-07-18 21:21:19 -05:00
WMFUtils.cpp Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
WMFUtils.h Bug 950505 - Build content/media/wmf in unified mode; r=roc 2013-12-15 19:00:54 -05:00