diff options
-rw-r--r-- | player/video.c | 2 | ||||
-rw-r--r-- | video/out/vo.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/player/video.c b/player/video.c index 1fb54fe75d..af98c676ed 100644 --- a/player/video.c +++ b/player/video.c @@ -1022,8 +1022,6 @@ static void handle_display_sync_frame(struct MPContext *mpctx, // corner cases or exceptional situations cause too much havoc. drop_repeat = MPCLAMP(drop_repeat, -num_vsyncs, num_vsyncs * 10); num_vsyncs += drop_repeat; - if (drop_repeat < 0) - vo_increment_drop_count(vo, 1); // Estimate the video position, so we can calculate a good A/V difference // value below. This is used to estimate A/V drift. diff --git a/video/out/vo.c b/video/out/vo.c index 2926167b1e..5bc34c0f1b 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -618,6 +618,7 @@ static bool render_frame(struct vo *vo) in->current_frame = in->frame_queued; in->frame_queued = NULL; } else if (in->paused || !in->current_frame || !in->hasframe || + in->current_frame->num_vsyncs < 1 || (!in->vsync_timed && !in->current_frame->display_synced)) { goto done; |