[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.50,1.51

Michael Niedermayer CVS michael at mplayerhq.hu
Wed Jan 1 15:39:12 CET 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv23854

Modified Files:
	ve_lavc.c 
Log Message:
lavc 4649


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ve_lavc.c	31 Dec 2002 17:29:53 -0000	1.50
+++ ve_lavc.c	1 Jan 2003 14:39:09 -0000	1.51
@@ -113,6 +113,7 @@
 static int lavc_param_dia_size= 0;
 static int lavc_param_qpel= 0;
 static int lavc_param_trell= 0;
+static int lavc_param_last_pred= 0;
 
 #include "cfgparser.h"
 
@@ -184,6 +185,7 @@
 #if LIBAVCODEC_BUILD >= 4648
 	{"trell", &lavc_param_trell, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_TRELLIS_QUANT, NULL},
 #endif
+	{"last_pred", &lavc_param_last_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 #endif
@@ -257,7 +259,10 @@
 #if LIBAVCODEC_BUILD >= 4642
     lavc_venc_context->debug= lavc_param_debug;
 #endif    
-
+#if LIBAVCODEC_BUILD >= 4649
+    lavc_venc_context->last_predictor_count= lavc_param_last_pred;
+#endif
+    
     p= lavc_param_rc_override_string;
     for(i=0; p; i++){
         int start, end, q;




More information about the MPlayer-cvslog mailing list