1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-06 15:11:58 +00:00

clear OSD when playing new file

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16403 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-09-05 12:05:29 +00:00
parent 7e364caec2
commit e4e6bdb288

View File

@ -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 ==========================