[Mplayer-cvslog] CVS: main/libmpcodecs vd_odivx.c,1.7,1.8
Arpi of Ize
arpi at mplayer.dev.hu
Mon Mar 18 02:48:25 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv18228
Modified Files:
vd_odivx.c
Log Message:
decore version check for divx3 and divx5
Index: vd_odivx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_odivx.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vd_odivx.c 16 Mar 2002 01:10:31 -0000 1.7
+++ vd_odivx.c 18 Mar 2002 01:48:22 -0000 1.8
@@ -99,6 +99,20 @@
static int init(sh_video_t *sh){
DEC_PARAM dec_param;
DEC_SET dec_set;
+
+#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
+
memset(&dec_param,0,sizeof(dec_param));
#ifdef NEW_DECORE
dec_param.output_format=DEC_USER;
More information about the MPlayer-cvslog
mailing list