From: Hii Date: Tue, 24 May 2011 00:31:17 +0000 (+0800) Subject: Make --profile main/baseline force off CQMfile X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=cb97de722d214f2fe8a0a3dda583d5107cc0fb51;p=x264.git Make --profile main/baseline force off CQMfile --- diff --git a/common/common.c b/common/common.c index a30d0d86..ff23cf4f 100644 --- a/common/common.c +++ b/common/common.c @@ -443,6 +443,7 @@ int x264_param_apply_profile( x264_param_t *param, const char *profile ) param->analyse.b_transform_8x8 = 0; param->b_cabac = 0; param->i_cqm_preset = X264_CQM_FLAT; + param->psz_cqm_file = NULL; param->i_bframe = 0; param->analyse.i_weighted_pred = X264_WEIGHTP_NONE; if( param->b_interlaced ) @@ -460,6 +461,7 @@ int x264_param_apply_profile( x264_param_t *param, const char *profile ) { param->analyse.b_transform_8x8 = 0; param->i_cqm_preset = X264_CQM_FLAT; + param->psz_cqm_file = NULL; } else if( !strcasecmp( profile, "high" ) || !strcasecmp( profile, "high10" ) ) {