diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-03-04 15:32:32 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-03-04 15:32:32 +0100 |
commit | 7a4ab93dc358f67b34ab73ef2b1d14f0aa711a43 (patch) | |
tree | 6f4dba9d0754a8877002901bbb8e5c63a2521507 | |
parent | 06311eac3688bfb7c9bd70287b96a6141ab3937b (diff) |
exp
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8cd3632..84f6556 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -288,8 +288,9 @@ static AVCodecContext* create_audio_codec_context(int fps, AudioCodec audio_code codec_context->sample_fmt = audio_codec_get_sample_format(audio_codec); codec_context->bit_rate = audio_codec_get_get_bitrate(audio_codec); codec_context->sample_rate = 48000; - if(audio_codec == AudioCodec::AAC) - codec_context->profile = FF_PROFILE_AAC_LOW; + codec_context->profile = FF_PROFILE_UNKNOWN; + //if(audio_codec == AudioCodec::AAC) + // codec_context->profile = FF_PROFILE_AAC_LOW; #if LIBAVCODEC_VERSION_MAJOR < 60 codec_context->channel_layout = AV_CH_LAYOUT_STEREO; codec_context->channels = 2; |