mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
New VDPAU deinterlacing code needs one reference surface less for software decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29053 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c266ad4de4
commit
a0f0db79f4
@ -881,7 +881,7 @@ static uint32_t draw_image(mp_image_t *mpi)
|
||||
VdpStatus vdp_st;
|
||||
void *destdata[3] = {mpi->planes[0], mpi->planes[2], mpi->planes[1]};
|
||||
struct vdpau_render_state *rndr = get_surface(deint_counter);
|
||||
deint_counter = (deint_counter + 1) & 3;
|
||||
deint_counter = (deint_counter + 1) % 3;
|
||||
vid_surface_num = rndr - surface_render;
|
||||
vdp_st = vdp_video_surface_put_bits_y_cb_cr(rndr->surface,
|
||||
VDP_YCBCR_FORMAT_YV12,
|
||||
|
Loading…
Reference in New Issue
Block a user