mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
FS-11425 default to level 3.1 follows 459baa858679b74abe8398b4ad06e43beafd9b89
This commit is contained in:
parent
a455614e14
commit
4130184761
@ -520,7 +520,7 @@ static void init_profile(avcodec_profile_t *aprofile, const char *name)
|
|||||||
|
|
||||||
if (!strcasecmp(name, "H264")) {
|
if (!strcasecmp(name, "H264")) {
|
||||||
aprofile->ctx.profile = FF_PROFILE_H264_BASELINE;
|
aprofile->ctx.profile = FF_PROFILE_H264_BASELINE;
|
||||||
aprofile->ctx.level = 41;
|
aprofile->ctx.level = 31;
|
||||||
#ifdef AV_CODEC_FLAG_PSNR
|
#ifdef AV_CODEC_FLAG_PSNR
|
||||||
aprofile->ctx.flags |= AV_CODEC_FLAG_PSNR;
|
aprofile->ctx.flags |= AV_CODEC_FLAG_PSNR;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user