gecko-dev/content/media
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
..
apple Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
directshow Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
encoder Bug 988884 - Properly shutdown mediaencoder threads. r=roc 2014-04-01 07:33:48 +08:00
fmp4 Bug 986885 - Fix build problem in fmp4/demuxer. r=nalexander 2014-03-22 20:27:27 -07:00
gstreamer Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
gtest Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD 2014-03-31 13:21:38 +02:00
mediasource Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
ogg Bug 991448 - Skip Theora decode to next keyframe after seek, so that we don't get visual artifacts after a fastSeek. r=cajbir 2014-04-04 10:39:15 +13:00
omx Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
plugins Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
raw Bug 952033 - Part c: Use IntSize and IntRect in VideoData; r=roc 2014-02-09 09:04:38 +01:00
test Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot 2014-04-04 10:39:42 +13:00
wave Bug 966311 - Calculate frame size for stereo wave. r=doublec 2014-01-31 13:50:45 -08:00
webaudio Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
webm Bug 981276 - Initialize mAudioCodec in WebMReader. r=rillian 2014-04-02 14:08:59 +13:00
webrtc Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
webspeech Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
webvtt Bug 882677 - Part 2: Handle ParsingErrors from vtt.js correctly. r=cpearce 2014-03-17 15:11:41 -04:00
wmf Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot 2014-04-04 10:39:42 +13:00
AbstractMediaDecoder.h Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik 2014-03-11 11:44:09 +08:00
AudioChannelFormat.cpp
AudioChannelFormat.h Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
AudioCompactor.cpp Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce 2014-02-05 18:11:25 -05:00
AudioCompactor.h Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce 2014-02-05 18:11:25 -05:00
AudioEventTimeline.h
AudioNodeEngine.cpp b=933304 Remove unnecessary channel count parameter from AudioBlockInPlaceScale r=padenot 2014-01-28 18:14:25 +13:00
AudioNodeEngine.h b=932400 rename ProduceAudioBlock to ProcessBlock r=padenot 2014-03-05 10:09:49 +13:00
AudioNodeEngineNEON.cpp b=956604 Remove unnecessary channel count parameter from AudioBufferInPlaceScale r=padenot 2014-01-08 16:57:53 +13:00
AudioNodeEngineNEON.h b=956604 Remove unnecessary channel count parameter from AudioBufferInPlaceScale r=padenot 2014-01-08 16:57:53 +13:00
AudioNodeExternalInputStream.cpp Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
AudioNodeExternalInputStream.h b=932400 rename ProduceOutput to ProcessInput r=roc 2014-03-05 10:53:55 +13:00
AudioNodeStream.cpp b=987976 rename ComputeFinalOuputChannelCount ComputedNumberOfChannels to match spec r=padenot 2014-04-01 10:26:02 +13:00
AudioNodeStream.h b=987976 rename ComputeFinalOuputChannelCount ComputedNumberOfChannels to match spec r=padenot 2014-04-01 10:26:02 +13:00
AudioSampleFormat.h Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
AudioSegment.cpp Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
AudioSegment.h Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
AudioStream.cpp b=966867 don't overwrite preferred sample rate with default r=kinetik 2014-02-03 17:40:03 +13:00
AudioStream.h Backed out changeset 2e2c930a960c (bug 948269) for android 4.0 mochitest-2 permaorange 2013-12-19 19:24:42 -08:00
AudioStreamTrack.cpp
AudioStreamTrack.h
BufferDecoder.cpp Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik 2014-03-11 11:44:09 +08:00
BufferDecoder.h Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik 2014-03-11 11:44:09 +08:00
BufferMediaResource.h Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
DecoderTraits.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
DecoderTraits.h
DOMMediaStream.cpp Bug 879669 - Part 1: Don't callback if there is no track in MediaStream. r=roc 2013-11-23 09:14:29 +13:00
DOMMediaStream.h Bug 879669 - Part 1: Don't callback if there is no track in MediaStream. r=roc 2013-11-23 09:14:29 +13:00
EncodedBufferCache.cpp
EncodedBufferCache.h
FileBlockCache.cpp Bug 938693 - Check the return value of PR_Close() in ~FileBlockCache() and issue a message if it fails. r=cpearce 2013-11-15 21:46:40 -05:00
FileBlockCache.h Bug 984786 part 5: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /content/media. r=kinetik 2014-04-02 09:21:11 -07:00
Latency.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
Latency.h Bug 953130 - Fix system NSPR builds for content/media. r=rjesup 2014-01-02 09:14:52 +01:00
Makefile.in Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium 2014-03-02 15:41:32 -05:00
MediaCache.cpp Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaCache.h Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaData.cpp Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
MediaData.h Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
MediaDecoder.cpp Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
MediaDecoder.h Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
MediaDecoderOwner.h Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
MediaDecoderReader.cpp Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
MediaDecoderReader.h Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
MediaDecoderStateMachine.cpp Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
MediaDecoderStateMachine.h Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
MediaInfo.h Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
MediaMetadataManager.h Bug 990892 - MediaMetadataManager::DispatchMetadataIfNeeded leaks items popped from mMetadataQueue. r=padenot 2014-04-03 10:54:36 +13:00
MediaQueue.h Bug 973408 - Add pop listeners to MediaQueue. r=kinetik 2014-03-11 11:44:09 +08:00
MediaRecorder.cpp Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
MediaRecorder.h Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
MediaResource.cpp Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaResource.h Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaSegment.h Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
MediaShutdownManager.cpp Bug 968016 - Ensure all threads in media SharedThreadPools are joined in MediaShutdownManager's xpcom shutdown listener. r=kinetik 2014-02-18 11:53:53 +13:00
MediaShutdownManager.h Bug 968016 - Use a SharedThreadPool of size 1 for the Media State Machine thread. r=kinetik 2014-02-18 11:53:53 +13:00
MediaStreamGraph.cpp Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
MediaStreamGraph.h Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
MediaStreamGraphImpl.h Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
MediaStreamTrack.cpp Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
MediaStreamTrack.h Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
MediaTaskQueue.cpp Bug 968016 - Use SharedThreadPool instead of manually managed threads for the media decoding. r=kinetik 2014-02-18 11:53:52 +13:00
MediaTaskQueue.h Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 23:07:24 -05:00
moz.build Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
MP3FrameParser.cpp Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
MP3FrameParser.h Bug 950506 - Part 2: Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
RtspMediaResource.cpp Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman 2014-02-27 15:28:18 +08:00
RtspMediaResource.h Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman 2014-02-27 15:28:18 +08:00
SharedBuffer.h Bug 984786 part 5: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /content/media. r=kinetik 2014-04-02 09:21:11 -07:00
SharedThreadPool.cpp Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
SharedThreadPool.h Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
StreamBuffer.cpp Bug 943461. Part 1: A stream is fully finished when all its tracks have finished playing out. r=padenot 2013-12-04 14:08:12 +13:00
StreamBuffer.h Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc 2014-02-28 09:11:37 -05:00
TextTrack.cpp Bug 879431 - Set VTTCue's TextTrack from TextTrack::AddCue r=rillian 2014-04-02 18:16:00 +02:00
TextTrack.h Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
TextTrackCue.cpp Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
TextTrackCue.h Bug 879431 - Set VTTCue's TextTrack from TextTrack::AddCue r=rillian 2014-04-02 18:16:00 +02:00
TextTrackCueList.cpp Backed out 5 changesets (bug 865407) for Windows crashes. 2014-01-10 11:50:49 -05:00
TextTrackCueList.h Backed out 5 changesets (bug 865407) for Windows crashes. 2014-01-10 11:50:49 -05:00
TextTrackList.cpp Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
TextTrackList.h Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
TextTrackRegion.cpp Bug 978163 - Part 1: Remove VTTRegionList and VTTRegion TextTrack extensions. r=rillian, r=bz 2014-03-10 11:33:06 -04:00
TextTrackRegion.h Bug 982183 - Put VTTRegion DOM API behind a pref. r=rillian, r=bz 2014-03-12 13:55:45 -04:00
TimeVarying.h Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE. 2014-01-29 14:34:08 -05:00
TrackUnionStream.h b=932400 rename ProduceOutput to ProcessInput r=roc 2014-03-05 10:53:55 +13:00
VideoFrameContainer.cpp Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
VideoFrameContainer.h
VideoPlaybackQuality.cpp Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double 2014-03-04 15:31:57 +13:00
VideoPlaybackQuality.h Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double 2014-03-04 15:31:57 +13:00
VideoSegment.cpp Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
VideoSegment.h Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
VideoStreamTrack.cpp
VideoStreamTrack.h
VideoUtils.cpp Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
VideoUtils.h Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
VorbisUtils.h
WebVTTListener.cpp Bug 882677 - Part 4: TextTrack::ReadyState should be set to 'error' if loading the stream fails. r=cpearce 2014-03-17 17:49:52 -04:00
WebVTTListener.h Bug 882677 - Part 2: Handle ParsingErrors from vtt.js correctly. r=cpearce 2014-03-17 15:11:41 -04:00