summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/dec_video.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-25 21:55:13 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-25 21:55:13 +0000
commit2bd737b3965cc29c8f27dbf481c6efb1e68fe587 (patch)
tree7460591cee0952bf71096f5d9a8447b9f5db8d6d /libmpcodecs/dec_video.c
parent205024fed1888a8c0d9b7508c7073b48ce762538 (diff)
downloadmpv-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/dec_video.c')
-rw-r--r--libmpcodecs/dec_video.c5
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;
}