From e4e6bdb288627f5ab80b0d35698f69fe1537a616 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 5 Sep 2005 12:05:29 +0000 Subject: clear OSD when playing new file git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16403 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++++ 1 file changed, 4 insertions(+) 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 ========================== -- cgit v1.2.3