Element is the abstract base class needed to construct an element that can be used in a GStreamer pipeline. Please refer to the plugin writers guide for more information on creating Element subclasses.
The name of a Element can be retrieved with {@link #getName} and set with{@link #setName}.
All elements have pads (of the type {@link Pad}). These pads link to pads on other elements. {@link Buffer}s flow between these linked pads. An Element has a list of {@link Pad} structures for all their input (or sink)and output (or source) pads. Core and plug-in writers can add and remove pads with {@link #addPad}and {@link #removePad}.
A pad of an element can be retrieved by name with {@link #getPad}. An list of all pads can be retrieved with {@link #getPads}.
Elements can be linked through their pads. If the link is straightforward, use the {@link #link}convenience function to link two elements, or {@link #linkMany}for more elements in a row.
For finer control, use {@link #linkPads} and {@link #linkPadsFiltered}to specify the pads to link on each element by name.
Each element has a state (see {@link State}). You can get and set the state of an element with {@link #getState} and {@link #setState}.
|
|
|
|
|
|
|
|
|
|