diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 9d08ad376b..35bf1aedad 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -99,7 +99,6 @@ struct vdpctx { struct mp_csp_details colorspace; int deint; int deint_type; - int deint_counter; int pullup; float denoise; float sharpen; @@ -1216,7 +1215,6 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) if (!reserved_mpi) return; surface = (VdpVideoSurface)(intptr_t)reserved_mpi->planes[3]; - vc->deint_counter = WRAP_ADD(vc->deint_counter, 1, NUM_BUFFERED_VIDEO); if (handle_preemption(vo) >= 0) { VdpStatus vdp_st; const void *destdata[3] = {mpi->planes[0], mpi->planes[2],