checkSetupSinkPadByName

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

element gst.element.Element

element to setup pad on

tmpl gst.static_pad_template.StaticPadTemplate

pad template

name string

Name of the element src pad that will be linked to the sink pad that will be setup

Return Value

Type: gst.pad.Pad

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