mirror of
https://github.com/mpv-player/mpv
synced 2025-02-11 17:37:01 +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:
parent
7e364caec2
commit
e4e6bdb288
@ -2210,6 +2210,10 @@ int frame_time_remaining=0; // flag
|
|||||||
int blit_frame=0;
|
int blit_frame=0;
|
||||||
|
|
||||||
osd_text_buffer[0]=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 ==========================
|
//================ SETUP AUDIO ==========================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user