mirror of https://github.com/mpv-player/mpv
osd crash fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5854 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8f04ed9476
commit
f8bc84124e
|
@ -44,6 +44,7 @@ static int control(struct vf_instance_s* vf,
|
|||
int request, void* data){
|
||||
switch(request){
|
||||
case VFCTRL_DRAW_OSD:
|
||||
if(!vo_config_count) CONTROL_FALSE; // vo not configured?
|
||||
video_out->draw_osd();
|
||||
return CONTROL_TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue