[MPlayer-cvslog] r28415 - in trunk: DOCS/man/en/mplayer.1 libmpcodecs/ve_lavc.c

diego subversion at mplayerhq.hu
Sun Feb 1 03:10:31 CET 2009


Author: diego
Date: Sun Feb  1 03:10:31 2009
New Revision: 28415

Log:
Add support for libavcodec GMC flag, patch by Dave Baker, dbkr mxtelecom com.

Modified:
   trunk/libmpcodecs/ve_lavc.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/man/en/mplayer.1

Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c	Sun Feb  1 03:01:31 2009	(r28414)
+++ trunk/libmpcodecs/ve_lavc.c	Sun Feb  1 03:10:31 2009	(r28415)
@@ -113,6 +113,7 @@ static int lavc_param_bit_exact = 0;
 static int lavc_param_aic= 0;
 static int lavc_param_aiv= 0;
 static int lavc_param_umv= 0;
+static int lavc_param_gmc= 0;
 static int lavc_param_obmc= 0;
 static int lavc_param_loop= 0;
 static int lavc_param_last_pred= 0;
@@ -283,6 +284,9 @@ m_option_t lavcopts_conf[]={
 #ifdef CODEC_FLAG_CLOSED_GOP
 	{"cgop", &lavc_param_closed_gop, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_CLOSED_GOP, NULL},
 #endif
+#ifdef CODEC_FLAG_GMC
+	{"gmc", &lavc_param_gmc, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_GMC, NULL},
+#endif
 	{"dc", &lavc_param_dc_precision, CONF_TYPE_INT, CONF_RANGE, 8, 11, NULL},
 	{"border_mask", &lavc_param_border_masking, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL},
 	{"inter_threshold", &lavc_param_inter_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL},
@@ -555,6 +559,7 @@ static int config(struct vf_instance_s* 
     lavc_venc_context->flags|= lavc_param_ss;
     lavc_venc_context->flags|= lavc_param_alt;
     lavc_venc_context->flags|= lavc_param_ilme;
+    lavc_venc_context->flags|= lavc_param_gmc;
 #ifdef CODEC_FLAG_CLOSED_GOP
     lavc_venc_context->flags|= lavc_param_closed_gop;
 #endif    



More information about the MPlayer-cvslog mailing list