Example #1
0
// AddPad() is a wrapper around gst_element_add_pad().
func (v *Element) AddPad(pad IPad) bool {
	c := C.gst_element_add_pad(v.native(), pad.toPad())
	return gobool(c)
}
Example #2
0
func (e *Element) AddPad(p *Pad) bool {
	return C.gst_element_add_pad(e.g(), p.g()) != 0
}