Mercurial > mplayer.hg
diff libmpcodecs/dec_video.c @ 6800:6ad5d182153c
print warning about unsupported video eq attributes
author | arpi |
---|---|
date | Thu, 25 Jul 2002 21:55:13 +0000 |
parents | b16cb6cbff5a |
children | 54578e5a8050 |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Thu Jul 25 21:36:04 2002 +0000 +++ b/libmpcodecs/dec_video.c Thu Jul 25 21:55:13 2002 +0000 @@ -86,7 +86,10 @@ 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; }