changeset 16402:75532be41c6d

clear OSD when playing new file
author reimar
date Mon, 05 Sep 2005 12:05:29 +0000
parents 89f3095c3d6e
children a90d07677f2d
files mplayer.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Sep 05 11:25:30 2005 +0000
+++ b/mplayer.c	Mon Sep 05 12:05:29 2005 +0000
@@ -2210,6 +2210,10 @@
 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 ==========================