示例#1
0
文件: avcodec.go 项目: hbdlb/goav
//Get the type of the given codec.
func AvcodecGetType(c CodecId) avutil.MediaType {
	return (avutil.MediaType)(C.avcodec_get_type((C.enum_AVCodecID)(c)))
}
示例#2
0
//Get the type of the given codec.
//enum AVMediaType 	avcodec_get_type (enum AVCodecID codec_id)
func Avcodec_get_type(c AVCodecID) AVMediaType {
	return (AVMediaType)(C.avcodec_get_type((C.enum_AVCodecID)(c)))
}