Valadoc | Vala | Tutorial | API-References | Markup

Pad


Object Hierarchy:

Object hierarchy for Pad

Description:

public class Pad : Object

A Element is linked to other elements via "pads", which are extremely light-weight generic link points. After two pads are retrieved from an element with get_pad, the pads can be link with link. (For quick links, you can also use link, which will make the obvious link for you if it's straightforward.) Pads are typically created from a PadTemplate with Pad.from_template. Pads have Caps attached to it to describe the media type they are capable of dealing with. get_caps and set_caps are used to manipulate the caps of the pads. Pads created from a pad template cannot set capabilities that are incompatible with the pad template capabilities. Pads without pad templates can be created with Pad, which takes a direction and a name as an argument. If the name is NULL, then a guaranteed unique name will be assigned to it. gst_pad_get_parent will retrieve the Element that owns the pad. A Element creating a pad will typically use the various gst_pad_set_*_function() calls to register callbacks for various events on the pads. GstElements will use push and pull_range to push out or pull in a buffer. To send a Event on a pad, use send_event and push_event. Last reviewed on 2006-07-06 (0.10.9)

All known sub-classes:
 

Namespace: Gst
Package: gstreamer-0.10

Content:

Properties:

Creation methods:

Methods:

Signals:

Fields: