We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6116b64 + b428c88 commit 08e7575Copy full SHA for 08e7575
src/AvTranscoder/file/OutputFile.cpp
@@ -74,6 +74,7 @@ IOutputStream& OutputFile::addAudioStream( const AudioCodec& audioDesc )
74
stream.codec->sample_rate = audioDesc.getAVCodecContext().sample_rate;
75
stream.codec->channels = audioDesc.getAVCodecContext().channels;
76
stream.codec->sample_fmt = audioDesc.getAVCodecContext().sample_fmt;
77
+ stream.codec->frame_size = audioDesc.getAVCodecContext().frame_size;
78
79
// need to set the time_base on the AVCodecContext of the AVStream
80
av_reduce(
0 commit comments