GStreamer::Pad.3pm

Langue: en

Version: 2008-01-15 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

GStreamer::Pad

HIERARCHY

   Glib::Object
   +----GStreamer::Object
        +----GStreamer::Pad
 
 

METHODS


pad or undef = GStreamer::Pad->new ($name, $direction)


pad or undef = GStreamer::Pad->new ($name, $direction)

$name (string)
$direction (GStreamer::PadDirection)

pad or undef = GStreamer::Pad->new_from_template ($templ, $name)


pad or undef = GStreamer::Pad->new_from_template ($templ, $name)

$templ (GStreamer::PadTemplate)
$name (string)

boolean = $pad->accept_caps ($caps)


boolean = $pad->accept_caps ($caps)

$caps (GStreamer::Caps)

boolean = $pad->activate_pull ($active)


boolean = $pad->activate_pull ($active)

$active (boolean)

boolean = $pad->activate_push ($active)


boolean = $pad->activate_push ($active)

$active (boolean)

$pad->set_active ($active)


$pad->set_active ($active)

$active (boolean)

caps or undef = $srcpad->get_allowed_caps


caps or undef = $srcpad->get_allowed_caps


boolean = $pad->set_blocked ($blocked)


boolean = $pad->set_blocked ($blocked)

$blocked (boolean)

caps = $pad->get_caps


caps = $pad->get_caps


boolean = $pad->set_caps ($caps)


boolean = $pad->set_caps ($caps)

$caps (GStreamer::Caps or undef)

flowreturn = $pad->chain ($buffer)


flowreturn = $pad->chain ($buffer)

$buffer (GstBuffer)

boolean = $pad->check_pull_range


boolean = $pad->check_pull_range


paddirection = $pad->get_direction


paddirection = $pad->get_direction


boolean = $pad->event_default ($event)


boolean = $pad->event_default ($event)

$event (GstEvent)

$pad->fixate_caps ($caps)


$pad->fixate_caps ($caps)

$caps (GStreamer::Caps)

list = $pad->get_internal_links_default


list = $pad->get_internal_links_default


list = $pad->get_internal_links


list = $pad->get_internal_links


boolean = $pad->is_active


boolean = $pad->is_active


boolean = $pad->is_blocked


boolean = $pad->is_blocked


boolean = $pad->is_linked


boolean = $pad->is_linked


boolean = $srcpad->link ($sinkpad)


boolean = $srcpad->link ($sinkpad)

$sinkpad (GStreamer::Pad)

caps or undef = $pad->get_negotiated_caps


caps or undef = $pad->get_negotiated_caps


caps = $pad->get_pad_template_caps


caps = $pad->get_pad_template_caps


padtemplate = $pad->get_pad_template


padtemplate = $pad->get_pad_template


boolean = $pad->pause_task


boolean = $pad->pause_task


boolean = $pad->peer_accept_caps ($caps)


boolean = $pad->peer_accept_caps ($caps)

$caps (GStreamer::Caps)

pad = $pad->get_peer


pad = $pad->get_peer


caps = $pad->peer_get_caps


caps = $pad->peer_get_caps


list = $pad->pull_range ($offset, $size)


list = $pad->pull_range ($offset, $size)

$offset (Glib::UInt64)
$size (integer)

flowreturn = $pad->push ($buffer)


flowreturn = $pad->push ($buffer)

$buffer (GstBuffer)

boolean = $pad->push_event ($event)


boolean = $pad->push_event ($event)

$event (GstEvent)

boolean = $pad->query ($query)


boolean = $pad->query ($query)

$query (GstQuery)

boolean = $pad->query_default ($query)


boolean = $pad->query_default ($query)

$query (GstQuery)

list = $pad->get_query_types_default


list = $pad->get_query_types_default


list = $pad->get_query_types


list = $pad->get_query_types


list = $pad->get_range ($offset, $size)


list = $pad->get_range ($offset, $size)

$offset (Glib::UInt64)
$size (integer)

boolean = $pad->send_event ($event)


boolean = $pad->send_event ($event)

$event (GstEvent)

boolean = $pad->start_task ($func, $data=undef)


boolean = $pad->start_task ($func, $data=undef)

$func (scalar)
$data (scalar)

boolean = $pad->stop_task


boolean = $pad->stop_task


$srcpad->unlink ($sinkpad)


$srcpad->unlink ($sinkpad)

$sinkpad (GStreamer::Pad)

PROPERTIES

'caps' (GStreamer::Caps : readable)
The capabilities of the pad
'direction' (GStreamer::PadDirection : readable / writable / construct-only)
The direction of the pad
'template' (GStreamer::PadTemplate : readable / writable)
The GstPadTemplate of this pad

SIGNALS

linked (GStreamer::Pad, GStreamer::Pad)
unlinked (GStreamer::Pad, GStreamer::Pad)
request-link (GStreamer::Pad)
boolean = have-data (GStreamer::Pad, GStreamer::MiniObject)

ENUMS AND FLAGS


enum GStreamer::FlowReturn

'custom-success' / 'GST_FLOW_CUSTOM_SUCCESS'
'resend' / 'GST_FLOW_RESEND'
'ok' / 'GST_FLOW_OK'
'not-linked' / 'GST_FLOW_NOT_LINKED'
'wrong-state' / 'GST_FLOW_WRONG_STATE'
'unexpected' / 'GST_FLOW_UNEXPECTED'
'not-negotiated' / 'GST_FLOW_NOT_NEGOTIATED'
'error' / 'GST_FLOW_ERROR'
'not-supported' / 'GST_FLOW_NOT_SUPPORTED'
'custom-error' / 'GST_FLOW_CUSTOM_ERROR'

enum GStreamer::PadDirection

'unknown' / 'GST_PAD_UNKNOWN'
'src' / 'GST_PAD_SRC'
'sink' / 'GST_PAD_SINK'

SEE ALSO

GStreamer, Glib::Object, GStreamer::Object Copyright (C) 2005-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See GStreamer for a full notice.