1GStreamer::PadTemplate(U3s)er Contributed Perl DocumentatGiSotnreamer::PadTemplate(3)
2
3
4
6 GStreamer::PadTemplate
7
9 Glib::Object
10 +----GStreamer::Object
11 +----GStreamer::PadTemplate
12
14 padtemplate = GStreamer::PadTemplate->new ($name_template, $direction,
15 $presence, $caps)
16 · $name_template (string)
17
18 · $direction (GStreamer::PadDirection)
19
20 · $presence (GStreamer::PadPresence)
21
22 · $caps (GStreamer::Caps)
23
24 caps = $templ->get_caps
25 paddirection = $templ->get_direction
26 string = $templ->get_name_template
27 $templ->pad_created ($pad)
28 · $pad (GStreamer::Pad)
29
30 padpresence = $templ->get_presence
32 'caps' (GStreamer::Caps : default undef : readable / writable /
33 construct-only / private)
34 The capabilities of the pad described by the pad template
35
36 'direction' (GStreamer::PadDirection : default "unknown" : readable /
37 writable / construct-only / private)
38 The direction of the pad described by the pad template
39
40 'name-template' (string : default undef : readable / writable /
41 construct-only / private)
42 The name template of the pad template
43
44 'presence' (GStreamer::PadPresence : default "always" : readable /
45 writable / construct-only / private)
46 When the pad described by the pad template will become available
47
49 pad-created (GStreamer::PadTemplate, GStreamer::Pad)
50
52 enum GStreamer::PadDirection
53 · 'unknown' / 'GST_PAD_UNKNOWN'
54
55 · 'src' / 'GST_PAD_SRC'
56
57 · 'sink' / 'GST_PAD_SINK'
58
59 enum GStreamer::PadPresence
60 · 'always' / 'GST_PAD_ALWAYS'
61
62 · 'sometimes' / 'GST_PAD_SOMETIMES'
63
64 · 'request' / 'GST_PAD_REQUEST'
65
67 GStreamer, Glib::Object, GStreamer::Object
68
70 Copyright (C) 2005-2014 by the gtk2-perl team.
71
72 This software is licensed under the LGPL. See GStreamer for a full
73 notice.
74
75
76
77perl v5.30.0 2019-09-19 GStreamer::PadTemplate(3)