mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
Include mStartTime when calculating endPosition
This commit is contained in:
@@ -541,7 +541,7 @@ void MediaDecoderStateMachine::SendStreamData()
|
||||
}
|
||||
endPosition = std::max(endPosition,
|
||||
mediaStream->MicrosecondsToStreamTimeRoundDown(
|
||||
stream->mNextVideoTime - stream->mInitialTime));
|
||||
stream->mNextVideoTime - stream->mInitialTime - mStartTime));
|
||||
}
|
||||
|
||||
if (!stream->mHaveSentFinish) {
|
||||
|
||||
Reference in New Issue
Block a user