From 8f75588615ce90ef11229e05ef8958d3f30158c3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 18 Aug 2013 01:48:58 +0200 Subject: vo_vdpau: remove unused variable It was used to manage video surface in the software decoding path, but now surface management shares the code with hardware decoding. --- video/out/vo_vdpau.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video') 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], -- cgit v1.2.3