[Mplayer-cvslog] CVS: main/libmpcodecs vd_divx4.c,1.6,1.7
Arpi of Ize
arpi at mplayer.dev.hu
Mon Mar 18 01:46:57 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv6333
Modified Files:
vd_divx4.c
Log Message:
decore version check for divx3 and divx5
Index: vd_divx4.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_divx4.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vd_divx4.c 16 Mar 2002 01:10:31 -0000 1.6
+++ vd_divx4.c 18 Mar 2002 00:46:44 -0000 1.7
@@ -75,6 +75,19 @@
DEC_SET dec_set;
int bits=16;
+#ifndef NEW_DECORE
+ if(sh->format==mmioFOURCC('D','I','V','3')){
+ mp_msg(MSGT_DECVIDEO,MSGL_INFO,"DivX 3.x not supported by opendivx decore - it requires divx4linux\n");
+ return 0; // not supported
+ }
+#endif
+#ifndef DECORE_DIVX5
+ if(sh->format==mmioFOURCC('D','X','5','0')){
+ mp_msg(MSGT_DECVIDEO,MSGL_INFO,"DivX 5.00 not supported by divx4linux decore - it requires divx5linux\n");
+ return 0; // not supported
+ }
+#endif
+
if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YUY2)) return 0;
memset(&dec_param,0,sizeof(dec_param));
More information about the MPlayer-cvslog
mailing list