summaryrefslogtreecommitdiffstats
path: root/libvo/sub.c
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-22 15:25:11 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-22 15:25:11 +0000
commit06ebd66015ae446564f505ed3345fb50a5e74bfc (patch)
tree2ab1424c8881a626a746b8322205f08c479e40ed /libvo/sub.c
parentd60a7a1d74d6c016e2ea08dd564ed07225a2b945 (diff)
downloadmpv-06ebd66015ae446564f505ed3345fb50a5e74bfc.tar.bz2
mpv-06ebd66015ae446564f505ed3345fb50a5e74bfc.tar.xz
osd outside movie support for vo_sdl, patch by Fredrik Kuivinen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4808 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sub.c')
-rw-r--r--libvo/sub.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libvo/sub.c b/libvo/sub.c
index c9ec41d291..9532775602 100644
--- a/libvo/sub.c
+++ b/libvo/sub.c
@@ -320,3 +320,11 @@ void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h,
}
+static int vo_osd_changed_status = 0;
+
+int vo_osd_changed(int new_value)
+{
+ int ret = vo_osd_changed_status;
+ vo_osd_changed_status = new_value;
+ return ret;
+}