[MPlayer-cvslog] r36302 - trunk/libvo/vo_vdpau.c

reimar subversion at mplayerhq.hu
Thu Jun 6 15:05:16 CEST 2013


Author: reimar
Date: Thu Jun  6 15:05:16 2013
New Revision: 36302

Log:
Fix expose event redraw to actually redraw the correct frame.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Thu Jun  6 15:03:50 2013	(r36301)
+++ trunk/libvo/vo_vdpau.c	Thu Jun  6 15:05:16 2013	(r36302)
@@ -781,7 +781,7 @@ static void check_events(void)
             /* redraw the last visible buffer */
             VdpStatus vdp_st;
             vdp_st = vdp_presentation_queue_display(vdp_flip_queue,
-                                                    output_surfaces[surface_num],
+                                                    output_surfaces[(surface_num + NUM_OUTPUT_SURFACES - 1) % NUM_OUTPUT_SURFACES],
                                                     vo_dwidth, vo_dheight,
                                                     0);
             CHECK_ST_WARNING("Error when calling vdp_presentation_queue_display")


More information about the MPlayer-cvslog mailing list