[Mplayer-cvslog] CVS: main/libmpcodecs dec_video.c,1.141,1.142
Arpi of Ize
arpi at mplayerhq.hu
Thu Jul 25 23:55:16 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv1481
Modified Files:
dec_video.c
Log Message:
print warning about unsupported video eq attributes
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_video.c,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- dec_video.c 25 Jul 2002 13:10:28 -0000 1.141
+++ dec_video.c 25 Jul 2002 21:55:13 -0000 1.142
@@ -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;
}
More information about the MPlayer-cvslog
mailing list