Ejemplo n.º 1
0
//Get the type of the given codec.
func AvcodecGetType(c CodecId) avutil.MediaType {
	return (avutil.MediaType)(C.avcodec_get_type((C.enum_AVCodecID)(c)))
}
Ejemplo n.º 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)))
}