Пример #1
0
//int swr_config_frame (SwrContext *swr, const AVFrame *out, const AVFrame *in)
//Configure or reconfigure the SwrContext using the information provided by the AVFrames.
func Swr_config_frame(s *SwrContext, o, i *AVFrame) int {
	return int(C.swr_config_frame((*C.struct_SwrContext)(s), (*C.struct_AVFrame)(o), (*C.struct_AVFrame)(i)))
}
Пример #2
0
//Configure or reconfigure the Context using the information provided by the AvFrames.
func (s *Context) SwrConfigFrame(o, i *Frame) int {
	return int(C.swr_config_frame((*C.struct_SwrContext)(s), (*C.struct_AVFrame)(o), (*C.struct_AVFrame)(i)))
}