checkSetupSinkPadByName

fngst.pad.Pad checkSetupSinkPadByName(gst.element.Element element, gst.static_pad_template.StaticPadTemplate tmpl, string name)

Creates a new sink pad (based on the given tmpl) and links it to the given element src pad (the pad that matches the given name). You can set event/chain/query functions on this pad to check the output of the element.

Parameters

elementelement to setup pad on
tmplpad template
nameName of the element src pad that will be linked to the sink pad that will be setup

Returns

a new pad that can be used to check the output of element