package astiav //#cgo pkg-config: libavformat //#include import "C" type FormatContextFlag int64 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1321 const ( FormatContextFlagGenPts = FormatContextFlag(C.AVFMT_FLAG_GENPTS) FormatContextFlagIgnidx = FormatContextFlag(C.AVFMT_FLAG_IGNIDX) FormatContextFlagNonblock = FormatContextFlag(C.AVFMT_FLAG_NONBLOCK) FormatContextFlagIgnDts = FormatContextFlag(C.AVFMT_FLAG_IGNDTS) FormatContextFlagNofillin = FormatContextFlag(C.AVFMT_FLAG_NOFILLIN) FormatContextFlagNoparse = FormatContextFlag(C.AVFMT_FLAG_NOPARSE) FormatContextFlagNobuffer = FormatContextFlag(C.AVFMT_FLAG_NOBUFFER) FormatContextFlagCustomIo = FormatContextFlag(C.AVFMT_FLAG_CUSTOM_IO) FormatContextFlagDiscardCorrupt = FormatContextFlag(C.AVFMT_FLAG_DISCARD_CORRUPT) FormatContextFlagFlushPackets = FormatContextFlag(C.AVFMT_FLAG_FLUSH_PACKETS) FormatContextFlagBitexact = FormatContextFlag(C.AVFMT_FLAG_BITEXACT) FormatContextFlagSortDts = FormatContextFlag(C.AVFMT_FLAG_SORT_DTS) FormatContextFlagPrivOpt = FormatContextFlag(C.AVFMT_FLAG_PRIV_OPT) FormatContextFlagFastSeek = FormatContextFlag(C.AVFMT_FLAG_FAST_SEEK) FormatContextFlagShortest = FormatContextFlag(C.AVFMT_FLAG_SHORTEST) FormatContextFlagAutoBsf = FormatContextFlag(C.AVFMT_FLAG_AUTO_BSF) )