[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.18,1.19
Michael Niedermayer
michael at mplayerhq.hu
Wed Aug 7 02:09:00 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv15799
Modified Files:
ve_lavc.c
Log Message:
mpeg4 mpeg quantizer encoding
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ve_lavc.c 8 Jul 2002 21:34:24 -0000 1.18
+++ ve_lavc.c 7 Aug 2002 00:08:57 -0000 1.19
@@ -67,6 +67,7 @@
static int lavc_param_strict= 0;
static int lavc_param_data_partitioning= 0;
static int lavc_param_gray=0;
+static int lavc_param_mpeg_quant=0;
#include "cfgparser.h"
@@ -101,6 +102,9 @@
#if LIBAVCODEC_BUILD >= 4614
{"gray", &lavc_param_gray, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_PART, NULL},
#endif
+#if LIBAVCODEC_BUILD >= 4619
+ {"mpeg_quant", &lavc_param_mpeg_quant, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+#endif
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -156,7 +160,10 @@
if(lavc_param_packet_size )lavc_venc_context.rtp_mode=1;
lavc_venc_context.strict_std_compliance= lavc_param_strict;
#endif
-
+#if LIBAVCODEC_BUILD >= 4619
+ lavc_venc_context.mpeg_quant=lavc_param_mpeg_quant;
+#endif
+
/* keyframe interval */
if (lavc_param_keyint >= 0) /* != -1 */
lavc_venc_context.gop_size = lavc_param_keyint;
More information about the MPlayer-cvslog
mailing list