From be782776b535c52f49f0d64145ee9dc3e12e4d19 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 24 Aug 2018 11:30:34 +0800 Subject: [PATCH] FS-11189 add back default flags LOOP_FILTER and PSNR for H264 --- src/mod/applications/mod_av/avcodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c index 9f45982781..04dbf84b02 100644 --- a/src/mod/applications/mod_av/avcodec.c +++ b/src/mod/applications/mod_av/avcodec.c @@ -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); } }