mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-07 17:10:58 +08:00
bufferSrcCtx.Initialize with dictionary (#124)
* OpenIOContextWithDictionary * OpenIOContext * OpenIOContext * IOInterrupterCB * OpenIOContext(filename string, flags IOContextFlags, ii *IOInterrupter, d *Dictionary) * Program and Discard * Program and Discard * Program and Discard * Program and Discard * Program and Discard * Program and Discard * CodecContext MaxBFrames() SetMaxBFrames(n int) * another pr * delete Flags() * delete Flags() * delete Flags() * delete PmtVersion() * SetStreamIndex * SetStreamIndex * MaxBFrames() SetMaxBFrames(n int) RcMaxRate() SetRcMaxRate(n int64) RcMinRate() SetRcMinRate(n int64) RcBufferSize() SetRcBufferSize(n int) * rename rate control methods * test passed * bufferSrcCtx initialize with dictionary * bufferSrcCtx initialize with dictionary * SetHardwareDeviceContext * SetHardwareDeviceContext
This commit is contained in:
@@ -431,7 +431,7 @@ func initFilters() (err error) {
|
||||
}
|
||||
|
||||
// Initialize buffersrc context
|
||||
if err = s.buffersrcContext.Initialize(); err != nil {
|
||||
if err = s.buffersrcContext.Initialize(nil); err != nil {
|
||||
err = fmt.Errorf("main: initializing buffersrc context failed: %w", err)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user