summaryrefslogtreecommitdiffstats
path: root/libvo/vo_sdl.c
diff options
context:
space:
mode:
authoratlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-13 11:08:18 +0000
committeratlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-13 11:08:18 +0000
commitca99c8dc89eba6bb2ebb330beaccea304a930da0 (patch)
tree271aa033eb11e526d98e53441bdbf576f6279445 /libvo/vo_sdl.c
parenteefce080f001e82043111f814d088fa575d855d0 (diff)
downloadmpv-ca99c8dc89eba6bb2ebb330beaccea304a930da0.tar.bz2
mpv-ca99c8dc89eba6bb2ebb330beaccea304a930da0.tar.xz
changes according to -utf8 option, draw_osd() function added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1502 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r--libvo/vo_sdl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index 43de288ffb..7b7a0fc754 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -1152,9 +1152,15 @@ static void check_events (void)
}
}
+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 @@ static void flip_page (void)
{
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: