mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
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:
parent
397c4db88b
commit
658bcd5e35
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user