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:
arpi 2002-07-25 21:55:13 +00:00
parent 205024fed1
commit 2bd737b396
1 changed files with 4 additions and 1 deletions

View File

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