[MPlayer-cvslog] r29053 - trunk/libvo/vo_vdpau.c
cehoyos
subversion at mplayerhq.hu
Tue Mar 24 22:49:08 CET 2009
Author: cehoyos
Date: Tue Mar 24 22:49:08 2009
New Revision: 29053
Log:
New VDPAU deinterlacing code needs one reference surface less for software decoding.
Modified:
trunk/libvo/vo_vdpau.c
Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c Tue Mar 24 22:47:56 2009 (r29052)
+++ trunk/libvo/vo_vdpau.c Tue Mar 24 22:49:08 2009 (r29053)
@@ -881,7 +881,7 @@ static uint32_t draw_image(mp_image_t *m
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,
More information about the MPlayer-cvslog
mailing list