mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 07:37:20 +08:00
2023-10-17 15:38:39 CST W42D2
This commit is contained in:
@@ -447,7 +447,7 @@ func initOutputFrame(outputcodecContext *ffmpeg.AvCodecContext,
|
||||
// are assumed for simplicity.
|
||||
frame.SetNbSamples(frameSize)
|
||||
frame.SetChannelLayout(outputcodecContext.GetChannelLayout())
|
||||
frame.SetFormat(int32(outputcodecContext.GetSampleFmt()))
|
||||
frame.SetFormat(outputcodecContext.GetSampleFmt())
|
||||
frame.SetSampleRate(outputcodecContext.GetSampleRate())
|
||||
|
||||
// Allocate the samples of the created frame. This call will make
|
||||
|
Reference in New Issue
Block a user