// 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) }
func (e *Element) AddPad(p *Pad) bool { return C.gst_element_add_pad(e.g(), p.g()) != 0 }