зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
02da1fe1b4
Коммит
95bd4f71d1
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче