mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 16:16:50 +08:00
14 lines
309 B
Go
14 lines
309 B
Go
package astiav
|
|
|
|
//#include <libavcodec/avcodec.h>
|
|
import "C"
|
|
|
|
type ThreadType int
|
|
|
|
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L1451
|
|
const (
|
|
ThreadTypeFrame = ThreadType(C.FF_THREAD_FRAME)
|
|
ThreadTypeSlice = ThreadType(C.FF_THREAD_SLICE)
|
|
ThreadTypeUndefined = ThreadType(0)
|
|
)
|