示例#1
0
func (ctx *Context) MetaData() *avutil.Dictionary {
	if ctx.CAVFormatContext.metadata == nil {
		return nil
	}
	return avutil.NewDictionaryFromC(unsafe.Pointer(ctx.CAVFormatContext.metadata))
}
示例#2
0
func (s *Stream) MetaData() *avutil.Dictionary {
	if s.CAVStream.metadata == nil {
		return nil
	}
	return avutil.NewDictionaryFromC(unsafe.Pointer(s.CAVStream.metadata))
}