mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 16:16:50 +08:00
21 lines
400 B
Go
21 lines
400 B
Go
package astiav
|
|
|
|
//#include <libavfilter/avfilter.h>
|
|
import "C"
|
|
|
|
// https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavfilter/avfilter.h#L1075
|
|
type FilterParams struct {
|
|
c *C.AVFilterParams
|
|
}
|
|
|
|
func newFilterParamsFromC(c *C.AVFilterParams) *FilterParams {
|
|
if c == nil {
|
|
return nil
|
|
}
|
|
return &FilterParams{c: c}
|
|
}
|
|
|
|
func (fp *FilterParams) FilterName() string {
|
|
return C.GoString(fp.c.filter_name)
|
|
}
|