Mercurial > mplayer.hg
diff libvo/vo_sdl.c @ 1501:d40f2b686846
changes according to -utf8 option, draw_osd() function added
author | atlka |
---|---|
date | Mon, 13 Aug 2001 11:08:18 +0000 |
parents | 3c7f13cb0a8a |
children | f9beae70c5c2 |
line wrap: on
line diff
--- a/libvo/vo_sdl.c Mon Aug 13 10:38:01 2001 +0000 +++ b/libvo/vo_sdl.c Mon Aug 13 11:08:18 2001 +0000 @@ -1152,9 +1152,15 @@ } } +static void draw_osd(void) +{ struct sdl_priv_s *priv = &sdl_priv; + + /* update osd/subtitles */ + vo_draw_text(priv->width,priv->height,draw_alpha); +} /** - * Display the surface we have written our data to and check for events. + * Display the surface we have written our data to * * params : mode == index of the desired fullscreen mode * returns : doesn't return @@ -1164,12 +1170,6 @@ { struct sdl_priv_s *priv = &sdl_priv; - /* update osd/subtitles */ - vo_draw_text(priv->width,priv->height,draw_alpha); - - /* check and react on keypresses and window resizes */ - check_events(); - switch(priv->format) { case IMGFMT_RGB15: case IMGFMT_BGR15: