FS-11425 default to level 3.1 follows 459baa858679b74abe8398b4ad06e43beafd9b89

This commit is contained in:
Seven Du 2019-02-27 14:04:47 +08:00 committed by Andrey Volk
parent a455614e14
commit 4130184761
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ static void init_profile(avcodec_profile_t *aprofile, const char *name)
if (!strcasecmp(name, "H264")) {
aprofile->ctx.profile = FF_PROFILE_H264_BASELINE;
aprofile->ctx.level = 41;
aprofile->ctx.level = 31;
#ifdef AV_CODEC_FLAG_PSNR
aprofile->ctx.flags |= AV_CODEC_FLAG_PSNR;
#endif