setup_sink_pad_by_name


Description:


public Pad setup_sink_pad_by_name (Element element, 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:

element

element to setup pad on

tmpl

pad template

name

Name 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


Namespace: Gst.Check