Wait for keyframe after decoding error.
Bug: chromium:936715 Change-Id: I0a51c8fa0025cb0f8e9afcbe8d8e4a84c2709ecf Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134960 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27827}
This commit is contained in:
@ -153,7 +153,8 @@ FrameBuffer::ReturnReason FrameBuffer::NextFrame(
|
||||
// means that the frame buffer was cleared as the thread in this function
|
||||
// was waiting to acquire |crit_| in order to return. Wait for the
|
||||
// remaining time and then return.
|
||||
return NextFrame(latest_return_time_ms - now_ms, frame_out);
|
||||
return NextFrame(latest_return_time_ms - now_ms, frame_out,
|
||||
keyframe_required);
|
||||
}
|
||||
return kTimeout;
|
||||
}
|
||||
|
Reference in New Issue
Block a user