summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-05 12:05:29 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-05 12:05:29 +0000
commite4e6bdb288627f5ab80b0d35698f69fe1537a616 (patch)
treecd61b3f59d77b65531f71d43700db233eecf8601 /mplayer.c
parent7e364caec2aec18aa981ad8145cbd6603d017023 (diff)
downloadmpv-e4e6bdb288627f5ab80b0d35698f69fe1537a616.tar.bz2
mpv-e4e6bdb288627f5ab80b0d35698f69fe1537a616.tar.xz
clear OSD when playing new file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16403 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index ba0ca48a1c..63b75b5aba 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2210,6 +2210,10 @@ int frame_time_remaining=0; // flag
int blit_frame=0;
osd_text_buffer[0]=0;
+// make sure OSD old does not stay around,
+// e.g. with -fixed-vo and same-resolution files
+vo_osd_text = osd_text_buffer;
+vo_osd_changed(OSDTYPE_OSD);
//================ SETUP AUDIO ==========================