gecko-dev/dom/media/mediasink
ctai a3cc6128d3 Bug 1201363 - Call MediaStreamVideoSink::setCurrentFrames in SourceMediaStream::AppendToTrack. r=jesup
In this patch, we first deal with the case of MediaElement. Now we replace |PlayVideo| with |VideoFrameContainer::SetCurrentFrames| in |SourceMediaStream::AppendToTrack|. The MSG use TimeStamp::Now() for the TimeStamp of each video frame in most of case except MediaElement case. Becasue the MediaElement has its own VideoQueue, we need to calucalte the correct Timestamp based on the StartTimeStamp of this MediaStream and the elpased time of the video frame in DecodedStream.

MozReview-Commit-ID: 2bm2AHkFXHu

--HG--
extra : amend_source : 7b9c51dcb4046c6c807d1cf1e48bef301e45fa8e
2016-07-25 10:01:26 +08:00
..
AudioSink.h Bug 948267. Part 2 - implement AudioStream::DataSource for DecodedAudioDataSink and remove its audio thread. r=kinetik. 2016-01-12 21:48:25 +08:00
AudioSinkWrapper.cpp Bug 1283489 - mParams.mPlaybackRate should be updated after call GetVideoPosition(). r=jwwang 2016-07-10 23:35:00 +02:00
AudioSinkWrapper.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
DecodedAudioDataSink.cpp Bug 1277175 - Remove AudioStream::IsPaused(). r=kinetik. 2016-05-31 15:59:20 +08:00
DecodedAudioDataSink.h Bug 1269672 - part2 : move audible data checking from MDSM to DecodedAudioDataSink. 2016-05-12 14:18:53 +08:00
DecodedStream.cpp Bug 1201363 - Call MediaStreamVideoSink::setCurrentFrames in SourceMediaStream::AppendToTrack. r=jesup 2016-07-25 10:01:26 +08:00
DecodedStream.h Bug 1208371 - Hook up DecodedStream with PrincipalHandle. r=mt,jwwang 2016-02-02 13:14:13 +08:00
MediaSink.h Bug 1272565 - draw a blank image when no frames in the video track. 2016-05-17 10:33:32 +08:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
OutputStreamManager.cpp Bug 1248229. Part 2 - GC might happen in between OutputStreamManager::Disconnect() and OutputStreamManager::Connect(). We need to check if the stream is already destroyed before trying to connect it. r=roc. 2016-02-22 11:04:41 +08:00
OutputStreamManager.h Bug 1248229. Part 2 - GC might happen in between OutputStreamManager::Disconnect() and OutputStreamManager::Connect(). We need to check if the stream is already destroyed before trying to connect it. r=roc. 2016-02-22 11:04:41 +08:00
VideoSink.cpp Bug 1289668 - Refactor FrameStatistics writers to use Data struct - r=kamidphish 2016-07-18 10:41:40 +10:00
VideoSink.h Bug 1272565 - draw a blank image when no frames in the video track. 2016-05-17 10:33:32 +08:00