mirror of https://github.com/mpv-player/mpv
print warning about unsupported video eq attributes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6801 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
205024fed1
commit
2bd737b396
|
@ -86,7 +86,10 @@ int set_video_colors(sh_video_t *sh_video,char *item,int value)
|
|||
return(1);
|
||||
}
|
||||
/* try software control */
|
||||
if(mpvdec) return mpvdec->control(sh_video,VDCTRL_SET_EQUALIZER, item, (int *)value);
|
||||
if(mpvdec)
|
||||
if( mpvdec->control(sh_video,VDCTRL_SET_EQUALIZER, item, (int *)value)
|
||||
== CONTROL_OK) return 1;
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_INFO,"Video attribute '%s' isn't supported by selected vo & vd! \n",item);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue