changeset 28804:5ccdec6c14f0

Draw EOSD with VOCTRL_DRAW_EOSD instead of along with OSD.
author greg
date Fri, 06 Mar 2009 10:38:27 +0000
parents 6887c715c4fa
children b382d065ba53
files libvo/vo_vdpau.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Fri Mar 06 10:33:35 2009 +0000
+++ b/libvo/vo_vdpau.c	Fri Mar 06 10:38:27 2009 +0000
@@ -742,7 +742,6 @@
 {
     mp_msg(MSGT_VO, MSGL_DBG2, "DRAW_OSD\n");
 
-    draw_eosd();
     vo_draw_text_ext(vo_dwidth, vo_dheight, border_x, border_y, border_x, border_y,
                      vid_width, vid_height, draw_osd_I8A8);
 }
@@ -1140,6 +1139,7 @@
             if (!data)
                 return VO_FALSE;
             generate_eosd(data);
+            draw_eosd();
             return VO_TRUE;
         case VOCTRL_GET_EOSD_RES: {
             mp_eosd_res_t *r = data;