changeset 6800:6ad5d182153c

print warning about unsupported video eq attributes
author arpi
date Thu, 25 Jul 2002 21:55:13 +0000
parents 60a7886834af
children 7847b993acf3
files libmpcodecs/dec_video.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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;
 }