changeset 36208:363dce384fba

Do not lose OSD and subtitles on resize.
author reimar
date Thu, 06 Jun 2013 13:08:48 +0000
parents 658a648d3301
children 236179a10ee9
files libvo/vo_vdpau.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Thu Jun 06 13:06:35 2013 +0000
+++ b/libvo/vo_vdpau.c	Thu Jun 06 13:08:48 2013 +0000
@@ -328,8 +328,11 @@
         }
     }
     video_to_output_surface();
-    if (visible_buf)
+    if (visible_buf) {
+        draw_eosd();
+        draw_osd();
         flip_page();
+    }
 }
 
 static void preemption_callback(VdpDevice device, void *context)