2023-11-04 09:57:04 CST W44D6

This commit is contained in:
aggresss
2023-11-04 09:57:04 +08:00
parent b8ad4f6a3d
commit 35ead29659
3 changed files with 9 additions and 3 deletions

View File

@@ -3871,7 +3871,9 @@ const (
SUBTITLE_ASS = AVSubtitleType(C.SUBTITLE_ASS)
)
const AV_SUBTITLE_FLAG_FORCED = C.AV_SUBTITLE_FLAG_FORCED
const (
AV_SUBTITLE_FLAG_FORCED = C.AV_SUBTITLE_FLAG_FORCED
)
// AVSubtitleRect
type AVSubtitleRect C.struct_AVSubtitleRect

View File

@@ -47,7 +47,9 @@ func AvBufferAllocz(size int32) *AVBufferRef {
return (*AVBufferRef)(C.av_buffer_allocz((C.int)(size)))
}
const AV_BUFFER_FLAG_READONLY = C.AV_BUFFER_FLAG_READONLY
const (
AV_BUFFER_FLAG_READONLY = C.AV_BUFFER_FLAG_READONLY
)
// typedef void (*av_buffer_free_func)(void *opaque, uint8_t *data)
type AVBufferFreeFunc = C.av_buffer_free_func

View File

@@ -100,7 +100,9 @@ func AvGetExtendedChannelLayout(name string, channelLayout *uint64, nbChannels *
(*C.uint64_t)(channelLayout), (*C.int32_t)(nbChannels)))
}
const AV_CH_LAYOUT_MAX_STRING_SIZE = 256
const (
AV_CH_LAYOUT_MAX_STRING_SIZE = 256
)
// AvGetChannelLayoutString returns a description of a channel layout.
func AvGetChannelLayoutString(nbChannels int32, channelLayout uint64) string {