1GStreamer::Pad(3)     User Contributed Perl Documentation    GStreamer::Pad(3)
2
3
4

NAME

6       GStreamer::Pad
7

HIERARCHY

9         Glib::Object
10         +----GStreamer::Object
11              +----GStreamer::Pad
12

METHODS

14   pad or undef = GStreamer::Pad->new ($name, $direction)
15           ·   $name (string)
16
17           ·   $direction (GStreamer::PadDirection)
18
19   pad or undef = GStreamer::Pad->new_from_template ($templ, $name)
20           ·   $templ (GStreamer::PadTemplate)
21
22           ·   $name (string)
23
24   boolean = $pad->accept_caps ($caps)
25           ·   $caps (GStreamer::Caps)
26
27   boolean = $pad->activate_pull ($active)
28           ·   $active (boolean)
29
30   boolean = $pad->activate_push ($active)
31           ·   $active (boolean)
32
33   $pad->set_active ($active)
34           ·   $active (boolean)
35
36   caps or undef = $srcpad->get_allowed_caps
37   boolean = $pad->set_blocked ($blocked)
38           ·   $blocked (boolean)
39
40   caps = $pad->get_caps
41   boolean = $pad->set_caps ($caps)
42           ·   $caps (GStreamer::Caps or undef)
43
44   flowreturn = $pad->chain ($buffer)
45           ·   $buffer (GstBuffer)
46
47   boolean = $pad->check_pull_range
48   paddirection = $pad->get_direction
49   boolean = $pad->event_default ($event)
50           ·   $event (GstEvent)
51
52   $pad->fixate_caps ($caps)
53           ·   $caps (GStreamer::Caps)
54
55   list = $pad->get_internal_links_default
56   list = $pad->get_internal_links
57   boolean = $pad->is_active
58   boolean = $pad->is_blocked
59   boolean = $pad->is_blocking
60           Since: gst 0.10
61
62   boolean = $pad->is_linked
63   iterator = $pad->iterate_internal_links
64           Since: gst 0.10
65
66   iterator = $pad->iterate_internal_links_default
67           Since: gst 0.10
68
69   boolean = $srcpad->link ($sinkpad)
70           ·   $sinkpad (GStreamer::Pad)
71
72   caps or undef = $pad->get_negotiated_caps
73   caps = $pad->get_pad_template_caps
74   padtemplate = $pad->get_pad_template
75   boolean = $pad->pause_task
76   boolean = $pad->peer_accept_caps ($caps)
77           ·   $caps (GStreamer::Caps)
78
79   pad = $pad->get_peer
80   caps = $pad->peer_get_caps
81   boolean = $pad->peer_query ($query)
82           ·   $query (GstQuery)
83
84           Since: gst 0.10
85
86   list = $pad->pull_range ($offset, $size)
87           ·   $offset (Glib::UInt64)
88
89           ·   $size (integer)
90
91   flowreturn = $pad->push ($buffer)
92           ·   $buffer (GstBuffer)
93
94   boolean = $pad->push_event ($event)
95           ·   $event (GstEvent)
96
97   boolean = $pad->query ($query)
98           ·   $query (GstQuery)
99
100   boolean = $pad->query_default ($query)
101           ·   $query (GstQuery)
102
103   list = $pad->get_query_types_default
104   list = $pad->get_query_types
105   list = $pad->get_range ($offset, $size)
106           ·   $offset (Glib::UInt64)
107
108           ·   $size (integer)
109
110   boolean = $pad->send_event ($event)
111           ·   $event (GstEvent)
112
113   boolean = $pad->start_task ($func, $data=undef)
114           ·   $func (scalar)
115
116           ·   $data (scalar)
117
118   boolean = $pad->stop_task
119   $srcpad->unlink ($sinkpad)
120           ·   $sinkpad (GStreamer::Pad)
121

PROPERTIES

123       'caps' (GStreamer::Caps : readable / private)
124           The capabilities of the pad
125
126       'direction' (GStreamer::PadDirection : readable / writable / construct-
127       only / private)
128           The direction of the pad
129
130       'template' (GStreamer::PadTemplate : readable / writable / private)
131           The GstPadTemplate of this pad
132

SIGNALS

134       linked (GStreamer::Pad, GStreamer::Pad)
135       unlinked (GStreamer::Pad, GStreamer::Pad)
136       request-link (GStreamer::Pad)
137       boolean = have-data (GStreamer::Pad, GStreamer::MiniObject)
138

ENUMS AND FLAGS

140   enum GStreamer::FlowReturn
141       ·   'custom-success-2' / 'GST_FLOW_CUSTOM_SUCCESS_2'
142
143       ·   'custom-success-1' / 'GST_FLOW_CUSTOM_SUCCESS_1'
144
145       ·   'custom-success' / 'GST_FLOW_CUSTOM_SUCCESS'
146
147       ·   'resend' / 'GST_FLOW_RESEND'
148
149       ·   'ok' / 'GST_FLOW_OK'
150
151       ·   'not-linked' / 'GST_FLOW_NOT_LINKED'
152
153       ·   'wrong-state' / 'GST_FLOW_WRONG_STATE'
154
155       ·   'unexpected' / 'GST_FLOW_UNEXPECTED'
156
157       ·   'not-negotiated' / 'GST_FLOW_NOT_NEGOTIATED'
158
159       ·   'error' / 'GST_FLOW_ERROR'
160
161       ·   'not-supported' / 'GST_FLOW_NOT_SUPPORTED'
162
163       ·   'custom-error' / 'GST_FLOW_CUSTOM_ERROR'
164
165       ·   'custom-error-1' / 'GST_FLOW_CUSTOM_ERROR_1'
166
167       ·   'custom-error-2' / 'GST_FLOW_CUSTOM_ERROR_2'
168
169   enum GStreamer::PadDirection
170       ·   'unknown' / 'GST_PAD_UNKNOWN'
171
172       ·   'src' / 'GST_PAD_SRC'
173
174       ·   'sink' / 'GST_PAD_SINK'
175

SEE ALSO

177       GStreamer, Glib::Object, GStreamer::Object
178
180       Copyright (C) 2005-2008 by the gtk2-perl team.
181
182       This software is licensed under the LGPL.  See GStreamer for a full
183       notice.
184
185
186
187perl v5.12.0                      2010-05-02                 GStreamer::Pad(3)
Impressum