mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
6bbcb861fa
commit
8f75588615
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue