gecko-dev/dom/media/mediasink
Andreas Pehrson 670447873a Bug 1570900 - Remove mStreamTimeOffset and friends from DecodedStream. r=jib
This hasn't been needed since the last larger refactor of DecodedStream
(bug 1423241), but got incorporated wrongly with bug 1493613.

When DecodedStream is Stop()ed and then Start()ed, a track is added to the graph
with a playout position starting at 0, and mStartTime is set to the starting
position, i.e., the seeked position in case of a seek or 0 if decoding from the
start of a file.

Hence, the reported position by DecodedStream should be mStartTime plus the last
reported output time of the tracks.

mStreamTimeOffset was offseting the tracks' reported output time further, so
DecodedStream was reporting a too large number.

Differential Revision: https://phabricator.services.mozilla.com/D40626

--HG--
extra : moz-landing-system : lando
2019-08-05 15:34:24 +00:00
..
AudioSink.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
AudioSink.h Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug,jya 2019-05-27 16:15:33 +00:00
AudioSinkWrapper.cpp Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug,jya 2019-05-27 16:15:33 +00:00
AudioSinkWrapper.h Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug,jya 2019-05-27 16:15:33 +00:00
DecodedStream.cpp Bug 1570900 - Remove mStreamTimeOffset and friends from DecodedStream. r=jib 2019-08-05 15:34:24 +00:00
DecodedStream.h Bug 1570900 - Remove mStreamTimeOffset and friends from DecodedStream. r=jib 2019-08-05 15:34:24 +00:00
MediaSink.h Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug,jya 2019-05-27 16:15:33 +00:00
moz.build Bug 1512456 - P1. Don't use GenericPromise with MediaSink. r=alwu 2018-12-11 10:44:51 +00:00
OutputStreamManager.cpp Bug 1493613 - Move MediaStream control from DOMMediaStream to MediaStreamTrack. r=padenot 2019-07-31 07:58:17 +00:00
OutputStreamManager.h Bug 1493613 - Move MediaStream control from DOMMediaStream to MediaStreamTrack. r=padenot 2019-07-31 07:58:17 +00:00
VideoSink.cpp Bug 1543359 - P13. Let the video decoder determines the default colorspace if unknown. r=mattwoodrow 2019-07-26 08:45:39 +00:00
VideoSink.h Bug 1542674 - Make Media debug info machine parsable r=padenot,smaug,jya 2019-05-27 16:15:33 +00:00