Draw EOSD with VOCTRL_DRAW_EOSD instead of along with OSD.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28839 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
greg 2009-03-06 10:38:27 +00:00
parent 397c4db88b
commit 658bcd5e35
1 changed files with 1 additions and 1 deletions

View File

@ -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, void *data, ...)
if (!data)
return VO_FALSE;
generate_eosd(data);
draw_eosd();
return VO_TRUE;
case VOCTRL_GET_EOSD_RES: {
mp_eosd_res_t *r = data;