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

reimar subversion at mplayerhq.hu
Thu Jun 6 15:08:48 CEST 2013


Author: reimar
Date: Thu Jun  6 15:08:48 2013
New Revision: 36304

Log:
Do not lose OSD and subtitles on resize.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Thu Jun  6 15:06:35 2013	(r36303)
+++ trunk/libvo/vo_vdpau.c	Thu Jun  6 15:08:48 2013	(r36304)
@@ -328,8 +328,11 @@ static void resize(void)
         }
     }
     video_to_output_surface();
-    if (visible_buf)
+    if (visible_buf) {
+        draw_eosd();
+        draw_osd();
         flip_page();
+    }
 }
 
 static void preemption_callback(VdpDevice device, void *context)


More information about the MPlayer-cvslog mailing list