Back to Seed Clases

Gst


Classes

Interfaces

Structs

Unions

Enums

Class Gst.Pad

Import line: Gst = imports.gi.Gst;
GIR File: Gst-0.10.gir
C documentation: GstPad
Class : Pad
Extends: Gst.Object
  Show / Hide Inherited methods, properties and signals
The GstPad structure. Use the functions to update the variables.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gst
Method
Gst.print_pad_caps (String buf, Number indent, Pad pad) : none
Write the pad capabilities in a human readable format into the given GString.
Gst.Bin
Method
find_unlinked_pad (PadDirection direction) : Gst.Pad
Recursively looks for elements with an unlinked pad of the given direction within the specified bin and returns an unlinked pad if one is found, or NULL otherwise.
Gst.Bin
Method
find_unconnected_pad (PadDirection direction) : Gst.Pad
Recursively looks for elements with an unlinked pad of the given direction within the specified bin and returns an unlinked pad if one is found, or NULL otherwise.
Gst.Element
Signal
pad_added (Element self, Pad new_pad) : none
a new GstPad has been added to the element.
Gst.Element
Signal
pad_removed (Element self, Pad old_pad) : none
a GstPad has been removed from the element
Gst.Element
Method
add_pad (Pad pad) : Boolean
Adds a pad (link point) to element.
Gst.Element
Method
remove_pad (Pad pad) : Boolean
Removes pad from element.
Gst.Element
Method
get_pad (String name) : Gst.Pad
Retrieves a pad from element by name.
Gst.Element
Method
get_static_pad (String name) : Gst.Pad
Retrieves a pad from element by name.
Gst.Element
Method
get_request_pad (String name) : Gst.Pad
Retrieves a pad from the element by name.
Gst.Element
Method
release_request_pad (Pad pad) : none
Makes the element free the previously requested pad as obtained with gst_element_get_request_pad().
Gst.Element
Method
get_compatible_pad (Pad pad, Caps caps) : Gst.Pad
Looks for an unlinked pad to which the given pad can link.
Gst.Element
Method
found_tags_for_pad (Pad pad, TagList list) : none
Posts a message to the bus that new tags were found and pushes the tags as event.
Gst.GhostPad
Method
new Gst.GhostPad.c_new (String name, Pad target) : Gst.GhostPad
Create a new Gst.GhostPad
Gst.GhostPad
Method
new Gst.GhostPad.from_template (String name, Pad target, PadTemplate templ) : Gst.GhostPad
Create a new Gst.GhostPad
Gst.GhostPad
Method
get_target () : Gst.Pad
Get the target pad of gpad.
Gst.GhostPad
Method
set_target (Pad newtarget) : Boolean
Set the new target of the ghostpad gpad.
Gst.Message
Method
new Gst.Message.tag_full (Object src, Pad pad, TagList tag_list) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
parse_tag_full (Pad pad, TagList tag_list) : none
Extracts the tag list from the GstMessage.
Gst.PadTemplate
Signal
pad_created (PadTemplate self, Pad pad) : none
This signal is fired when an element creates a pad from this template.
Gst.PadTemplate
Method
pad_created (Pad pad) : none
Emit the pad-created signal for this template when created by this pad.
GstAudio
Method
GstAudio.duration_from_pad_buffer (Pad pad, Buffer buf) : Number
Calculate length in nanoseconds of audio buffer buf based on capabilities of
GstAudio
Method
GstAudio.frame_byte_size (Pad pad) : Number
Calculate byte size of an audio frame.
GstAudio
Method
GstAudio.frame_length (Pad pad, Buffer buf) : Number
Calculate length of buffer in frames.
GstAudio
Method
GstAudio.is_buffer_framed (Pad pad, Buffer buf) : Boolean
Check if the buffer size is a whole multiple of the frame size.
GstBase
Method
GstBase.type_find_helper (Pad src, Number size) : Gst.Caps
Tries to find what type of data is flowing from the given source GstPad.
GstBase.CollectPads
Method
add_pad (Pad pad, Number size) : GstBase.CollectData
Add a pad to the collection of collect pads.
GstBase.CollectPads
Method
add_pad_full (Pad pad, Number size, Function destroy_notify) : GstBase.CollectData
structure is freed Add a pad to the collection of collect pads.
GstBase.CollectPads
Method
remove_pad (Pad pad) : Boolean
Remove a pad from the collection of collect pads.
GstBase.CollectPads
Method
is_active (Pad pad) : Boolean
Check if a pad is active.
GstCheck
Method
GstCheck.buffer_straw_get_buffer (Element bin, Pad pad) : Gst.Buffer
Get one buffer from pad.
GstCheck
Method
GstCheck.buffer_straw_start_pipeline (Element bin, Pad pad) : none
Sets up a pipeline for buffer sucking.
GstCheck
Method
GstCheck.buffer_straw_stop_pipeline (Element bin, Pad pad) : none
Set bin to GST_STATE_NULL and release resource allocated in gst_buffer_straw_start_pipeline().
GstCheck
Method
GstCheck.chain_func (Pad pad, Buffer buffer) : Gst.FlowReturn
GstCheck
Method
GstCheck.consistency_checker_new (Pad pad) : GstCheck.StreamConsistency
Sets up a data probe on the given pad which will raise assertions if the data flow is inconsistent.
GstCheck
Method
GstCheck.setup_sink_pad (Element element, StaticPadTemplate template, Caps caps) : Gst.Pad
GstCheck
Method
GstCheck.setup_sink_pad_by_name (Element element, StaticPadTemplate template, String name) : Gst.Pad
GstCheck
Method
GstCheck.setup_src_pad (Element element, StaticPadTemplate template, Caps caps) : Gst.Pad
GstCheck
Method
GstCheck.setup_src_pad_by_name (Element element, StaticPadTemplate template, String name) : Gst.Pad
GstRiff
Method
GstRiff.read_chunk (Element element, Pad pad, Object out_values, Number tag, Buffer chunk_data) : Gst.FlowReturn
Reads a single chunk of data.
GstVideo
Method
GstVideo.frame_rate (Pad pad) : GObject.Value
A convenience function to retrieve a GValue holding the framerate from the caps on a pad.
GstVideo
Method
GstVideo.get_size (Pad pad, Object out_values) : Boolean
Inspect the caps of the provided pad and retrieve the width and height of the video frames it is configured for.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:53 GMT+0800 (HKT)