diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-01 14:39:09 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-01 14:39:09 +0000 |
commit | 601aadf69e298c0391540ae41a38e2e39a07b76a (patch) | |
tree | dfd1fef251592ec46d224e97f74f90601166fb0a /libmpcodecs | |
parent | 6d5589535b984ab53e8b4c5e77bbd6b79b768d30 (diff) |
lavc 4649
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8696 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ve_lavc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libmpcodecs/ve_lavc.c b/libmpcodecs/ve_lavc.c index a16d4dacb4..a8ed69700b 100644 --- a/libmpcodecs/ve_lavc.c +++ b/libmpcodecs/ve_lavc.c @@ -113,6 +113,7 @@ static int lavc_param_mb_cmp= 0; 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 @@ struct config lavcopts_conf[]={ #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 @@ static int config(struct vf_instance_s* vf, #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; |