[MPlayer-cvslog] r34620 - trunk/libmpcodecs/ve_lavc.c
reimar
subversion at mplayerhq.hu
Sat Jan 28 13:22:10 CET 2012
Author: reimar
Date: Sat Jan 28 13:22:10 2012
New Revision: 34620
Log:
Get rid of nonsense usage of CODEC_FLAG_PART.
Modified:
trunk/libmpcodecs/ve_lavc.c
Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c Sat Jan 28 13:17:50 2012 (r34619)
+++ trunk/libmpcodecs/ve_lavc.c Sat Jan 28 13:22:10 2012 (r34620)
@@ -216,7 +216,7 @@ const m_option_t lavcopts_conf[]={
{"vstrict", &lavc_param_strict, CONF_TYPE_INT, CONF_RANGE, -99, 99, NULL},
{"vdpart", &lavc_param_data_partitioning, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"keyint", &lavc_param_keyint, CONF_TYPE_INT, 0, 0, 0, NULL},
- {"gray", &lavc_param_gray, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_PART, NULL},
+ {"gray", &lavc_param_gray, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_GRAY, NULL},
{"mpeg_quant", &lavc_param_mpeg_quant, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"vi_qfactor", &lavc_param_vi_qfactor, CONF_TYPE_FLOAT, CONF_RANGE, -31.0, 31.0, NULL},
{"vi_qoffset", &lavc_param_vi_qoffset, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 31.0, NULL},
@@ -580,7 +580,7 @@ static int config(struct vf_instance *vf
#ifdef CODEC_FLAG_CLOSED_GOP
lavc_venc_context->flags|= lavc_param_closed_gop;
#endif
- if(lavc_param_gray) lavc_venc_context->flags|= CODEC_FLAG_GRAY;
+ lavc_venc_context->flags|= lavc_param_gray;
if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP;
if(lavc_param_interlaced_dct) lavc_venc_context->flags|= CODEC_FLAG_INTERLACED_DCT;
More information about the MPlayer-cvslog
mailing list