mirror of
https://github.com/asticode/go-astiav.git
synced 2025-09-26 20:21:15 +08:00
15 lines
380 B
Go
15 lines
380 B
Go
package astiav
|
|
|
|
//#include <libavformat/avformat.h>
|
|
import "C"
|
|
|
|
// https://ffmpeg.org/doxygen/7.0/avformat_8h.html#ac736f8f4afc930ca1cda0b43638cc678
|
|
type SeekFlag int64
|
|
|
|
const (
|
|
SeekFlagAny = SeekFlag(C.AVSEEK_FLAG_ANY)
|
|
SeekFlagBackward = SeekFlag(C.AVSEEK_FLAG_BACKWARD)
|
|
SeekFlagByte = SeekFlag(C.AVSEEK_FLAG_BYTE)
|
|
SeekFlagFrame = SeekFlag(C.AVSEEK_FLAG_FRAME)
|
|
)
|