Commit d8e78dae authored by Craig Watson's avatar Craig Watson

Linux/Podcasts: Enable use of AAC encoder

parent c84ef9d0
......@@ -266,6 +266,7 @@ bool UBFFmpegVideoEncoder::init()
c->channel_layout = av_get_default_channel_layout(c->channels);
c->profile = FF_PROFILE_AAC_MAIN;
c->time_base = {1, mAudioSampleRate};
c->strict_std_compliance = -2; // Enable use of experimental codec
if (mOutputFormatContext->oformat->flags & AVFMT_GLOBALHEADER)
c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment