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.
1 parent 6116b64 commit 019e23cCopy full SHA for 019e23c
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