mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-06 16:46:52 +08:00
Now using int64 for flags
This commit is contained in:
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavfilter/buffersink.h>
|
||||
import "C"
|
||||
|
||||
type BuffersinkFlag int
|
||||
type BuffersinkFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersink.h#L89
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavfilter/buffersrc.h>
|
||||
import "C"
|
||||
|
||||
type BuffersrcFlag int
|
||||
type BuffersrcFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersrc.h#L36
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavcodec/avcodec.h>
|
||||
import "C"
|
||||
|
||||
type CodecContextFlag int
|
||||
type CodecContextFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L206
|
||||
const (
|
||||
@@ -28,7 +28,7 @@ const (
|
||||
CodecContextFlagClosedGop = CodecContextFlag(C.AV_CODEC_FLAG_CLOSED_GOP)
|
||||
)
|
||||
|
||||
type CodecContextFlag2 int
|
||||
type CodecContextFlag2 int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L287
|
||||
const (
|
||||
|
@@ -5,7 +5,7 @@ package astiav
|
||||
import "C"
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L420
|
||||
type CodecHardwareConfigMethodFlag int
|
||||
type CodecHardwareConfigMethodFlag int64
|
||||
|
||||
const (
|
||||
CodecHardwareConfigMethodFlagAdHoc = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_AD_HOC)
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavutil/dict.h>
|
||||
import "C"
|
||||
|
||||
type DictionaryFlag int
|
||||
type DictionaryFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L67
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavfilter/avfilter.h>
|
||||
import "C"
|
||||
|
||||
type FilterCommandFlag int
|
||||
type FilterCommandFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L739
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type FormatContextCtxFlag int
|
||||
type FormatContextCtxFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1153
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type FormatContextFlag int
|
||||
type FormatContextFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1321
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type FormatEventFlag int
|
||||
type FormatEventFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1519
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type IOContextFlag int
|
||||
type IOContextFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L621
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type IOFormatFlag int
|
||||
type IOFormatFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L464
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavcodec/avcodec.h>
|
||||
import "C"
|
||||
|
||||
type PacketFlag int
|
||||
type PacketFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L428
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type SeekFlag int
|
||||
type SeekFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L2277
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libswscale/swscale.h>
|
||||
import "C"
|
||||
|
||||
type SoftwareScaleContextFlag int
|
||||
type SoftwareScaleContextFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale.h#L59
|
||||
const (
|
||||
|
@@ -4,7 +4,7 @@ package astiav
|
||||
//#include <libavformat/avformat.h>
|
||||
import "C"
|
||||
|
||||
type StreamEventFlag int
|
||||
type StreamEventFlag int64
|
||||
|
||||
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1070
|
||||
const (
|
||||
|
Reference in New Issue
Block a user