[MPlayer-cvslog] CVS: main mplayer.c,1.867,1.868

Reimar Döffinger CVS syncmail at mplayerhq.hu
Mon Sep 5 14:05:33 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv10673

Modified Files:
	mplayer.c 
Log Message:
clear OSD when playing new file


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.867
retrieving revision 1.868
diff -u -r1.867 -r1.868
--- mplayer.c	2 Sep 2005 17:10:57 -0000	1.867
+++ mplayer.c	5 Sep 2005 12:05:29 -0000	1.868
@@ -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 ==========================
 




More information about the MPlayer-cvslog mailing list