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

greg subversion at mplayerhq.hu
Fri Mar 6 11:38:28 CET 2009


Author: greg
Date: Fri Mar  6 11:38:27 2009
New Revision: 28839

Log:
Draw EOSD with VOCTRL_DRAW_EOSD instead of along with OSD.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Fri Mar  6 11:33:35 2009	(r28838)
+++ trunk/libvo/vo_vdpau.c	Fri Mar  6 11:38:27 2009	(r28839)
@@ -742,7 +742,6 @@ static void draw_osd(void)
 {
     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 @@ static int control(uint32_t request, voi
             if (!data)
                 return VO_FALSE;
             generate_eosd(data);
+            draw_eosd();
             return VO_TRUE;
         case VOCTRL_GET_EOSD_RES: {
             mp_eosd_res_t *r = data;



More information about the MPlayer-cvslog mailing list