GhostPad.from_template
Description:
[ CCode ( has_construct_function = false , type = "GstPad*" ) ]
public GhostPad.from_template (string? name, Pad target, PadTemplate templ)
public GhostPad.from_template (string? name, Pad target, PadTemplate templ)
Create a new ghostpad with target
as the target.
The direction will be taken from the target pad. The template used on the ghostpad will be template
.
Will ref the target.
Parameters:
name |
the name of the new pad, or |
target |
the pad to ghost. |
templ |
the PadTemplate to use on the ghostpad. |
Returns:
a new Pad, or |