[Mplayer-cvslog] CVS: main dec_video.c,1.119,1.120
Atmosfear
atmos4 at mplayer.dev.hu
Sat Mar 9 01:13:01 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/tech dr-methods.txt,NONE,1.1
- Next message: [Mplayer-cvslog] CVS: main/DOCS/German bugreports.html,1.9,1.10 cd-dvd.html,1.15,1.16 codecs.html,1.23,1.24 documentation.html,1.42,1.43 encoding.html,1.9,1.10 faq.html,1.18,1.19 formats.html,1.6,1.7 gcc-2.96-3.0.html,1.3,1.4 mencoder.1,1.2,1.3 mplayer.1,1.4,1.5 sound.html,1.13,1.14 video.html,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv30008
Modified Files:
dec_video.c
Log Message:
DivX5linux support working (only tested with divx3 and divx4 upto now, will try getting divx5 damples now)
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- dec_video.c 6 Mar 2002 14:27:36 -0000 1.119
+++ dec_video.c 9 Mar 2002 00:12:49 -0000 1.120
@@ -584,6 +584,16 @@
#else
dec_param.color_depth = 32;
#endif
+#ifdef DECORE_DIVX5
+ /* codec_version should be 311, 400 or 500 according
+ * to DivX version used in video, let's hope 500 is
+ * compatible with all DivX4 content, otherwise we
+ * should find some logic to also choose between
+ * 400 and 500 - Atmos
+ */
+ dec_param.codec_version = (sh_video->format==mmioFOURCC('D','I','V','3'))?311:500;
+ dec_param.build_number = 0;
+#endif
dec_param.x_dim = sh_video->bih->biWidth;
dec_param.y_dim = sh_video->bih->biHeight;
decore(0x123, DEC_OPT_INIT, &dec_param, NULL);
@@ -617,6 +627,10 @@
mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Unsupported out_fmt: 0x%X\n",out_fmt);
return 0;
}
+#ifdef DECORE_DIVX5
+ dec_param.codec_version = (sh_video->format==mmioFOURCC('D','I','V','3'))?311:500;
+ dec_param.build_number = 0;
+#endif
dec_param.x_dim = sh_video->bih->biWidth;
dec_param.y_dim = sh_video->bih->biHeight;
decore(0x123, DEC_OPT_INIT, &dec_param, NULL);
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/tech dr-methods.txt,NONE,1.1
- Next message: [Mplayer-cvslog] CVS: main/DOCS/German bugreports.html,1.9,1.10 cd-dvd.html,1.15,1.16 codecs.html,1.23,1.24 documentation.html,1.42,1.43 encoding.html,1.9,1.10 faq.html,1.18,1.19 formats.html,1.6,1.7 gcc-2.96-3.0.html,1.3,1.4 mencoder.1,1.2,1.3 mplayer.1,1.4,1.5 sound.html,1.13,1.14 video.html,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list