diff options
author | wm4 <wm4@nowhere> | 2013-08-18 01:48:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-18 01:48:58 +0200 |
commit | 8f75588615ce90ef11229e05ef8958d3f30158c3 (patch) | |
tree | ba9d85c2e2ef466308e7ff0fcf4cba821cd92362 /video | |
parent | 6bbcb861fad0e8cc9bd3cc99069f06f309eaea6b (diff) | |
download | mpv-8f75588615ce90ef11229e05ef8958d3f30158c3.tar.bz2 mpv-8f75588615ce90ef11229e05ef8958d3f30158c3.tar.xz |
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.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_vdpau.c | 2 |
1 files changed, 0 insertions, 2 deletions
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], |