Exemple #1
0
func (this *Frame) CloneNewFrame() *Frame {
	return &Frame{avFrame: C.av_frame_clone(this.avFrame)}
}
Exemple #2
0
//AVFrame * av_frame_clone (AVFrame *src)
//Create a new frame that references the same data as src.
func Av_frame_clone(f *AVFrame) *AVFrame {
	return (*AVFrame)(C.av_frame_clone((*C.struct_AVFrame)(unsafe.Pointer(f))))
}