osd crash fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5854 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-04-26 23:18:06 +00:00
parent 8f04ed9476
commit f8bc84124e
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}