예제 #1
0
파일: avcodec.go 프로젝트: hbdlb/goav
//Return a name for the specified profile, if available.
func (c *Codec) AvGetProfileName(p int) string {
	return C.GoString(C.av_get_profile_name((*C.struct_AVCodec)(c), C.int(p)))
}
예제 #2
0
//Return a name for the specified profile, if available.
//const char *av_get_profile_name (const AVCodec *codec, int profile)
func Av_get_profile_name(c *AVCodec, p int) string {
	return C.GoString(C.av_get_profile_name((*C.struct_AVCodec)(c), C.int(p)))
}