update overlay only if it is configured

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11211 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-10-21 17:15:34 +00:00
parent b5c4dfcaba
commit a48f2fed9b
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ int vixSetGrKeys( const vidix_grkey_t * grkey){
info->vidixcolorkey = ((grkey->ckey.red<<16)|(grkey->ckey.green<<8)|grkey->ckey.blue);
printf("[nvidia_vid] set colorkey 0x%x\n",info->vidixcolorkey);
}
rivatv_overlay_start(info,0);
if(info->d_width && info->d_height)rivatv_overlay_start(info,0);
return 0;
}