mirror of https://github.com/mpv-player/mpv
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:
parent
b5c4dfcaba
commit
a48f2fed9b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue