FS-11189 add back default flags LOOP_FILTER and PSNR for H264

This commit is contained in:
Seven Du 2018-08-24 11:30:34 +08:00
parent c1f8bfb442
commit be782776b5
1 changed files with 1 additions and 0 deletions

View File

@ -1864,6 +1864,7 @@ static void load_config()
if (!strcasecmp(CODEC_MAPS[i], "H264")) {
profile->ctx.profile = FF_PROFILE_H264_BASELINE;
profile->ctx.level = 41;
profile->ctx.flags |= (CODEC_FLAG_LOOP_FILTER | AV_CODEC_FLAG_PSNR);
}
}