Commit ca7852e2 authored by Hii's avatar Hii Committed by Fiona Glaser

Make --profile main/baseline force off CQMfile

parent ae2a6d80
......@@ -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" ) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment