[MPlayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.138,1.139
Corey Hickey CVS
syncmail at mplayerhq.hu
Sat May 13 22:18:59 CEST 2006
CVS change done by Corey Hickey CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv25994/libmpcodecs
Modified Files:
ve_lavc.c
Log Message:
support lavc mv0_threshold
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- ve_lavc.c 31 Mar 2006 00:15:47 -0000 1.138
+++ ve_lavc.c 13 May 2006 20:18:57 -0000 1.139
@@ -160,6 +160,7 @@
static int lavc_param_bidir_refine = 0;
static int lavc_param_sc_factor = 1;
static int lavc_param_video_global_header= 0;
+static int lavc_param_mv0_threshold = 256;
char *lavc_param_acodec = "mp2";
int lavc_param_atag = 0;
@@ -319,6 +320,7 @@
{"sc_factor", &lavc_param_sc_factor, CONF_TYPE_INT, CONF_RANGE, 1, INT_MAX, NULL},
{"vglobal", &lavc_param_video_global_header, CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},
{"aglobal", &lavc_param_audio_global_header, CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},
+ {"mv0_threshold", &lavc_param_mv0_threshold, CONF_TYPE_INT, CONF_RANGE, 0, INT_MAX, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -649,6 +651,7 @@
if(lavc_param_video_global_header&2){
lavc_venc_context->flags2 |= CODEC_FLAG2_LOCAL_HEADER;
}
+ lavc_venc_context->mv0_threshold = lavc_param_mv0_threshold;
switch(lavc_param_format)
{
More information about the MPlayer-cvslog
mailing list