diff --git a/video/out/vo.c b/video/out/vo.c index 3377145e06..48812fbfdd 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -613,8 +613,6 @@ static bool render_frame(struct vo *vo) vo->in->vsync_interval = in->display_fps > 0 ? 1e6 / in->display_fps : 0; vo->in->vsync_interval = MPMAX(vo->in->vsync_interval, 1); - bool continuous = in->current_frame && in->current_frame->display_synced; - if (in->frame_queued) { talloc_free(in->current_frame); in->current_frame = in->frame_queued; @@ -747,10 +745,6 @@ static bool render_frame(struct vo *vo) in->dropped_frame = prev_drop_count < vo->in->drop_count; in->rendering = false; - if (in->current_frame && in->current_frame->display_synced && - continuous && in->vsync_interval_approx > in->vsync_interval * 3 / 2) - in->missed_count += 1; - double diff = (in->vsync_interval - in->vsync_interval_approx) / 1e6; if (fabs(diff) < 0.150) MP_STATS(vo, "value %f vsync-diff", diff);