diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-25 21:55:13 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-25 21:55:13 +0000 |
commit | 2bd737b3965cc29c8f27dbf481c6efb1e68fe587 (patch) | |
tree | 7460591cee0952bf71096f5d9a8447b9f5db8d6d /libmpcodecs | |
parent | 205024fed1888a8c0d9b7508c7073b48ce762538 (diff) | |
download | mpv-2bd737b3965cc29c8f27dbf481c6efb1e68fe587.tar.bz2 mpv-2bd737b3965cc29c8f27dbf481c6efb1e68fe587.tar.xz |
print warning about unsupported video eq attributes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6801 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_video.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 7a264504ce..26d11583dd 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -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; } |