2023-11-02 10:14:31 CST W44D4

This commit is contained in:
aggresss
2023-11-02 10:14:31 +08:00
parent b9b515b939
commit 9e1c7290a8
21 changed files with 11 additions and 584 deletions

View File

@@ -658,7 +658,6 @@ func (stm *AVStream) GetEventFlagsAddr() *int32 {
const (
AVSTREAM_EVENT_FLAG_METADATA_UPDATED = int32(C.AVSTREAM_EVENT_FLAG_METADATA_UPDATED)
AVSTREAM_EVENT_FLAG_NEW_PACKETS = int32(C.AVSTREAM_EVENT_FLAG_NEW_PACKETS)
)
// GetRFrameRate gets `AVStream.r_frame_rate` value.
@@ -2414,8 +2413,6 @@ func AvFormatOpenInput(ps **AVFormatContext, url string, fmt *AVInputFormat, opt
(*C.char)(urlPtr), (*C.struct_AVInputFormat)(fmt), (**C.struct_AVDictionary)(unsafe.Pointer(options))))
}
// Deprecated: Use an AVDictionary to pass options to a demuxer.
//
// AvDemuxerOpen
func AvDemuxerOpen(ic *AVFormatContext) int32 {
return (int32)(C.av_demuxer_open((*C.struct_AVFormatContext)(ic)))