[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.87,1.88
Michael Niedermayer CVS
michael at mplayerhq.hu
Sun Dec 28 20:36:12 CET 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/tmp/cvs-serv15964/libmpcodecs
Modified Files:
ve_lavc.c
Log Message:
scenechange_threshold command line option patch by (Balatoni Denes <pnis at coder dot hu>)
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- ve_lavc.c 22 Dec 2003 20:22:06 -0000 1.87
+++ ve_lavc.c 28 Dec 2003 19:36:10 -0000 1.88
@@ -139,6 +139,7 @@
static int lavc_param_noise_reduction= 0;
static int lavc_param_qp_rd= 0;
static int lavc_param_inter_threshold= 0;
+static int lavc_param_sc_threshold= 0;
static int lavc_param_ss= 0;
static int lavc_param_top= -1;
@@ -269,6 +270,7 @@
{"ss", &lavc_param_ss, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_H263P_SLICE_STRUCT, NULL},
#endif
{"inter_threshold", &lavc_param_inter_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL},
+ {"sc_threshold", &lavc_param_sc_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL},
{"top", &lavc_param_top, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
@@ -380,6 +382,9 @@
lavc_venc_context->coder_type= lavc_param_coder;
lavc_venc_context->context_model= lavc_param_context;
#endif
+#if LIBAVCODEC_BUILD >= 4680
+ lavc_venc_context->scenechange_threshold= lavc_param_sc_threshold;
+#endif
#if LIBAVCODEC_BUILD >= 4690
lavc_venc_context->noise_reduction= lavc_param_noise_reduction;
#endif
More information about the MPlayer-cvslog
mailing list