gecko/content/media
Paul Adenot 6a633ae6b2 Bug 1062293 - Ensure the graph stays alive when doing driver switches and audio stream shutdown operations. r=jesup
This basically gets a grip on the graph while doing driver switches operations
on another thread (system thread or audio thread), because those can take time.
Because the graph is refcounted, it'll be freed when the last operation
finishes, which is what we want.

This patch also only allows driver switching when the graph is in state
LIFECYCLE_RUNNING, which is what we want anyway.

--HG--
extra : rebase_source : 76365981ec909796509bd21e616b1ff8602406bd
2014-09-03 15:52:43 +02:00
..
android
apple Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
compiledtest Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
directshow Bug 832768 - Add logs to debug DirectShowReader::ReadMetadata() failures. r=cpearce 2014-08-24 20:54:00 -04:00
eme Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
encoder Bug 1024188 - Checks can be removed because EncodedFrame::SwapInFrameData() is infallible. r=roc 2014-08-12 16:57:55 +08:00
fmp4 Bug 1055694 - Disable mac mp4 hardware acceleration. r=ajones 2014-09-02 12:56:00 -07:00
gmp Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
gstreamer Bug 1061252 - Fix more bad implicit constructors in media code; r=roc 2014-09-02 09:46:56 -04:00
gtest Bug 1061051 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:59 -04:00
mediasource Bug 1059058 - Test bustage fix. 2014-09-04 03:56:37 +12:00
ogg Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
omx Bug 1033915 - Integrate MP3FrameParser into MediaCodecReader. r=cajbir 2014-09-01 18:04:36 +08:00
raw Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
systemservices Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
test Bug 968109 - Add test for recording audio node output. r=roc 2014-08-27 23:43:00 +02:00
wave Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
webaudio Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
webm Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
webrtc Bug 1061475: fix crash in Loop calls on Macs due to Refresh() change r=gcp 2014-09-02 04:52:45 -04:00
webspeech bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
webvtt
wmf Bug 1059523 - Make codecs/mimetypes supported by MP4Decoder/Reader less inaccurate. r=kinetik 2014-08-28 15:32:34 +12:00
AbstractMediaDecoder.h Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
AudioBufferUtils.h Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
AudioChannelFormat.cpp
AudioChannelFormat.h
AudioCompactor.cpp
AudioCompactor.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
AudioMixer.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
AudioSampleFormat.h
AudioSegment.cpp Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
AudioSegment.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
AudioSink.cpp Bug 1055967 - Fix logging in AudioSink. r=cpearce 2014-08-20 01:12:00 +12:00
AudioSink.h
AudioStream.cpp Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
AudioStream.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
AudioStreamTrack.cpp
AudioStreamTrack.h
AudioTrack.cpp
AudioTrack.h
AudioTrackList.cpp
AudioTrackList.h
BufferMediaResource.h Bug 1055653 - Most MediaResource::GetDownloadRate() implementions ignore their out-parameter. r=cpearce. 2014-08-20 19:28:59 +02:00
CubebUtils.cpp Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
CubebUtils.h Bug 848954 - Part 6 - Put cubeb-related static functions in their own file. r=kinetik 2014-08-25 15:26:09 +02:00
DecoderTraits.cpp Bug 1036775 - Add one more define check to separate omx decoder mp4 decoder. r=edwin 2014-09-01 13:32:47 +08:00
DecoderTraits.h
DOMMediaStream.cpp Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
DOMMediaStream.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
EncodedBufferCache.cpp
EncodedBufferCache.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
FileBlockCache.cpp
FileBlockCache.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
GraphDriver.cpp Bug 1062293 - Ensure the graph stays alive when doing driver switches and audio stream shutdown operations. r=jesup 2014-09-03 15:52:43 +02:00
GraphDriver.h Bug 1062293 - Ensure the graph stays alive when doing driver switches and audio stream shutdown operations. r=jesup 2014-09-03 15:52:43 +02:00
Latency.cpp
Latency.h
MediaCache.cpp Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
MediaCache.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
MediaData.cpp Bug 1046003 - Ensure duplicate frames after a seek have an Image. r=kinetik 2014-08-07 12:02:56 +12:00
MediaData.h 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
MediaDataDecodedListener.h
MediaDecoder.cpp Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
MediaDecoder.h Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
MediaDecoderOwner.h Bug 1057173 - Rename MediaKeyNeededEvent to MediaEncryptedEvent. r=bz 2014-08-27 20:46:56 +12:00
MediaDecoderReader.cpp Bug 1056537 - Bustage fix: move DecodeToFirstVideoData back to MediaDecoderReader for now. r=UNDISCLOSED TREETOPS 2014-08-22 15:11:58 +12:00
MediaDecoderReader.h Backed out changeset b9e3a9f5d04a (bug 1036849) for build bustage, a=backout 2014-09-01 19:22:06 -07:00
MediaDecoderStateMachine.cpp Bug 1059052 - centralize state transitions of MediaDecoderStateMachine. r=cpearce 2014-08-28 02:46:00 +02:00
MediaDecoderStateMachine.h Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
MediaDecoderStateMachineScheduler.cpp
MediaDecoderStateMachineScheduler.h
MediaInfo.h
MediaMetadataManager.h
MediaQueue.h Bug 1054149 - Fix anFoo coding style violation in content/media. r=cpearce 2014-08-14 21:24:00 +12:00
MediaRecorder.cpp Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
MediaRecorder.h Bug 968109 - Add new constructor to support recording from any web audio node. r=roc,smaug 2014-08-27 23:40:00 +02:00
MediaResource.cpp Bug 1061447 - bail out if NS_NewChannel() fails to avoid crashing on |mChannel| below. r=roc 2014-09-02 00:36:00 +02:00
MediaResource.h Bug 1060182 - Cache MP4 buffered ranges; r=cpearce 2014-09-01 20:45:46 +12:00
MediaSegment.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
MediaShutdownManager.cpp
MediaShutdownManager.h
MediaStreamGraph.cpp Bug 1062293 - Ensure the graph stays alive when doing driver switches and audio stream shutdown operations. r=jesup 2014-09-03 15:52:43 +02:00
MediaStreamGraph.h Bug 1057274 - SourceMediaStream::SourceMediaStream does not initialise mNeedsMixing. r=karlt. 2014-09-02 22:55:11 +02:00
MediaStreamGraphImpl.h Bug 1062293 - Add specialized logging to track the lifetime state change of MediaStreamGraphs r=jesup 2014-08-31 14:19:48 +02:00
MediaStreamTrack.cpp Bug 1057955: Support MediaStreamTrack.stop() r=roc,smaug 2014-08-27 01:03:49 -04:00
MediaStreamTrack.h Bug 1057955: Support MediaStreamTrack.stop() r=roc,smaug 2014-08-27 01:03:49 -04:00
MediaTaskQueue.cpp Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
MediaTaskQueue.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
MediaTrack.cpp
MediaTrack.h
MediaTrackList.cpp
MediaTrackList.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
moz.build Bug 848954 - Part 8 - Implement classes to ensure safe audio buffer manipulation. r=roc 2014-08-25 15:26:34 +02:00
MP3FrameParser.cpp
MP3FrameParser.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
nsIDocumentActivity.h
RtspMediaResource.cpp
RtspMediaResource.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
SharedBuffer.h
SharedThreadPool.cpp Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
SharedThreadPool.h
StreamBuffer.cpp
StreamBuffer.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
TextTrack.cpp
TextTrack.h
TextTrackCue.cpp
TextTrackCue.h
TextTrackCueList.cpp
TextTrackCueList.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
TextTrackList.cpp
TextTrackList.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
TextTrackRegion.cpp
TextTrackRegion.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
ThreadPoolCOMListener.cpp Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
ThreadPoolCOMListener.h Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
TimeVarying.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
TrackUnionStream.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
VideoFrameContainer.cpp
VideoFrameContainer.h
VideoPlaybackQuality.cpp
VideoPlaybackQuality.h
VideoSegment.cpp
VideoSegment.h
VideoStreamTrack.cpp
VideoStreamTrack.h
VideoTrack.cpp
VideoTrack.h
VideoTrackList.cpp
VideoTrackList.h
VideoUtils.cpp Bug 1059523 - Make codecs/mimetypes supported by MP4Decoder/Reader less inaccurate. r=kinetik 2014-08-28 15:32:34 +12:00
VideoUtils.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00
VorbisUtils.h
WebVTTListener.cpp
WebVTTListener.h Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc 2014-08-31 23:50:23 -04:00