Drop out of order frames in VideoRenderFrames.

BUG=webrtc:7253

Review-Url: https://codereview.webrtc.org/2724823004
Cr-Commit-Position: refs/heads/master@{#16970}
This commit is contained in:
tommi 2017-03-02 05:59:42 -08:00 committed by Commit bot
parent a44ba63cb7
commit 0d3573976c

View File

@ -67,8 +67,9 @@ int32_t VideoRenderFrames::AddFrame(VideoFrame&& new_frame) {
"%s: frame scheduled out of order, render_time=%u, latest=%u.",
__FUNCTION__, new_frame.render_time_ms(),
last_render_time_ms_);
// TODO(mflodman): Decide what to do when this happens.
// See bug: https://bugs.chromium.org/p/webrtc/issues/detail?id=7253
// For more details, see bug:
// https://bugs.chromium.org/p/webrtc/issues/detail?id=7253
return -1;
}
last_render_time_ms_ = new_frame.render_time_ms();