mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980868 - Don't skip video frame when |clock time| is less than |mVideoFrameEndTime| for we are still in the safe range without underruning video frames. r=cpearce
This commit is contained in:
parent
f952f1aad2
commit
3729e45eb8
@ -591,6 +591,9 @@ MediaDecoderStateMachine::DecodeVideo()
|
||||
((!mIsAudioPrerolling && mIsAudioDecoding &&
|
||||
GetDecodedAudioDuration() < mLowAudioThresholdUsecs * mPlaybackRate) ||
|
||||
(!mIsVideoPrerolling && mIsVideoDecoding &&
|
||||
// don't skip frame when |clock time| <= |mVideoFrameEndTime| for
|
||||
// we are still in the safe range without underrunning video frames
|
||||
GetClock() > mVideoFrameEndTime &&
|
||||
(static_cast<uint32_t>(mReader->VideoQueue().GetSize())
|
||||
< LOW_VIDEO_FRAMES * mPlaybackRate))) &&
|
||||
!HasLowUndecodedData())
|
||||
|
@ -432,7 +432,6 @@ skip-if = buildapp == 'b2g' # b2g(Test timed out, bug 668973?) b2g-debug(Test ti
|
||||
[test_reset_src.html]
|
||||
[test_streams_autoplay.html]
|
||||
[test_streams_element_capture.html]
|
||||
skip-if = buildapp == 'b2g' # b2g(bug 900172 - timeouts) b2g-debug(bug 900172 - timeouts) b2g-desktop(bug 900172 - timeouts)
|
||||
[test_streams_element_capture_reset.html]
|
||||
skip-if = buildapp == 'b2g' # b2g(bug 901102) b2g-debug(bug 901102) b2g-desktop(bug 901102)
|
||||
[test_streams_element_capture_createObjectURL.html]
|
||||
|
Loading…
Reference in New Issue
Block a user