mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 23:57:39 +08:00
2023-10-24 21:24:55 CST W43D2
This commit is contained in:
12
avfilter.go
12
avfilter.go
@@ -300,17 +300,17 @@ func (fltc *AVFilterContext) GetGraphAddr() **AVFilterGraph {
|
||||
return (**AVFilterGraph)(unsafe.Pointer(&fltc.graph))
|
||||
}
|
||||
|
||||
// Custom: GetThreadType gets `AVFilterContext.thread_type` value.
|
||||
// Custom: GetThreadType gets `AVFilterContext.threadtype` value.
|
||||
func (fltc *AVFilterContext) GetThreadType() int32 {
|
||||
return (int32)(fltc.thread_type)
|
||||
}
|
||||
|
||||
// Custom: SetThreadType sets `AVFilterContext.thread_type` value.
|
||||
// Custom: SetThreadType sets `AVFilterContext.threadtype` value.
|
||||
func (fltc *AVFilterContext) SetThreadType(v int32) {
|
||||
fltc.thread_type = (C.int)(v)
|
||||
}
|
||||
|
||||
// Custom: GetThreadTypeAddr gets `AVFilterContext.thread_type` address.
|
||||
// Custom: GetThreadTypeAddr gets `AVFilterContext.threadtype` address.
|
||||
func (fltc *AVFilterContext) GetThreadTypeAddr() *int32 {
|
||||
return (*int32)(&fltc.thread_type)
|
||||
}
|
||||
@@ -866,17 +866,17 @@ func (fltg *AVFilterGraph) GetResampleLavrOpts() string {
|
||||
return C.GoString(fltg.resample_lavr_opts)
|
||||
}
|
||||
|
||||
// Custom: GetThreadType gets `AVFilterGraph.thread_type` value.
|
||||
// Custom: GetThreadType gets `AVFilterGraph.threadtype` value.
|
||||
func (fltg *AVFilterGraph) GetThreadType() int32 {
|
||||
return (int32)(fltg.thread_type)
|
||||
}
|
||||
|
||||
// Custom: SetThreadType sets `AVFilterGraph.thread_type` value.
|
||||
// Custom: SetThreadType sets `AVFilterGraph.threadtype` value.
|
||||
func (fltg *AVFilterGraph) SetThreadType(v int32) {
|
||||
fltg.thread_type = (C.int)(v)
|
||||
}
|
||||
|
||||
// Custom: GetThreadTypeAddr gets `AVFilterGraph.thread_type` address.
|
||||
// Custom: GetThreadTypeAddr gets `AVFilterGraph.threadtype` address.
|
||||
func (fltg *AVFilterGraph) GetThreadTypeAddr() *int32 {
|
||||
return (*int32)(&fltg.thread_type)
|
||||
}
|
||||
|
Reference in New Issue
Block a user