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

reimar subversion at mplayerhq.hu
Thu Jun 6 15:06:36 CEST 2013


Author: reimar
Date: Thu Jun  6 15:06:35 2013
New Revision: 36303

Log:
Handle expose event also when not paused and do not draw
frame twice in case of redraw events.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Thu Jun  6 15:05:16 2013	(r36302)
+++ trunk/libvo/vo_vdpau.c	Thu Jun  6 15:06:35 2013	(r36303)
@@ -774,8 +774,7 @@ static void check_events(void)
 
     if (e & VO_EVENT_RESIZE)
         resize();
-
-    if ((e & VO_EVENT_EXPOSE || e & VO_EVENT_RESIZE) && int_pause) {
+    else if (e & VO_EVENT_EXPOSE) {
         /* did we already draw a buffer */
         if (visible_buf) {
             /* redraw the last visible buffer */


More information about the MPlayer-cvslog mailing list