]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11425 default to level 3.1 follows 459baa858679b74abe8398b4ad06e43beafd9b89
authorSeven Du <seven@signalwire.com>
Wed, 27 Feb 2019 06:04:47 +0000 (14:04 +0800)
committerAndrey Volk <andywolk@gmail.com>
Wed, 17 Jul 2019 21:52:30 +0000 (01:52 +0400)
src/mod/applications/mod_av/avcodec.c

index 1631cf5be5c43c76649b117e0e6d85efcb874b92..8ff007419a7325e5f187ab2a383deee24caa45a1 100644 (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