Commit Graph

13 Commits

Author SHA1 Message Date
Chris Pearce
d0a93358ad 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
Masatoshi Kimura
23ff300256 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Chris Pearce
9f15c2477b Bug 871804 - Clarify HTMLMediaElement.canPlayType() codecs for MPEG on Windows. r=kinetik 2013-11-18 11:29:55 +13:00
Chris Pearce
b6744d88a6 Bug 861693 - DirectShow MP3 decoder HTML5 audio backend for Windows. r=padenot 2013-08-13 16:49:25 +12:00
Chris Pearce
60462ac067 Bug 866664 - Don't call WMFDecoder::IsMP3Enabled() off the main thread. r=padenot 2013-04-30 22:14:18 +12:00
Chris Pearce
cdcda30e31 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-19 14:54:26 +12:00
Phil Ringnalda
d0b651a807 Back out 248daf8c6362 (bug 852915) for Win7 mochitest-1 orange 2013-04-17 23:23:33 -07:00
Chris Pearce
d657cc74b8 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-18 16:38:14 +12:00
Brian R. Bondy
d663141a67 Bug 825153 - WMF support in WinVista. r=padenot 2013-03-26 10:40:01 -04:00
Chris Pearce
3c0c6442cc Bug 841239 - Have HTMLMediaElement.canPlayType respond affirmatively to codecs=mp3 and audio/x-m4a. r=padenot 2013-02-27 09:27:43 +13:00
Chris Pearce
c9887127f0 Bug 823646 - Handle dynamic format changes and video frame display apperature attributes in WMFReader. r=padenot 2013-01-21 14:38:47 +13:00
Jacek Caban
7b78ecdea8 Bug 823921 - Fixed GCC warnings r=paul 2012-12-26 11:27:28 +01:00
Chris Pearce
64e2930074 Bug 799315 - Use Windows Media Foundation to play back MP4, MP3 and M4A on Windows 7 and later (preff'd off). r=padenot 2012-12-18 21:49:58 +13:00