1GStreamer::Index(3) User Contributed Perl Documentation GStreamer::Index(3)
2
3
4
6 GStreamer::Index
7
9 Glib::Object
10 +----GStreamer::Object
11 +----GStreamer::Index
12
14 index = GStreamer::Index->new
15 integer = $index->new_group
16 indexentry or undef = $index->add_association ($id, $flags, $format,
17 $value, ...)
18 · $id (integer)
19
20 · $flags (GStreamer::AssocFlags)
21
22 · $format (GStreamer::Format)
23
24 · $value (64 bit integer)
25
26 · ... (list)
27
28 indexentry or undef = $index->add_format ($id, $format)
29 · $id (integer)
30
31 · $format (GStreamer::Format)
32
33 indexentry or undef = $index->add_id ($id, $description)
34 · $id (integer)
35
36 · $description (string)
37
38 indexentry or undef = $index->add_object ($id, $key, $object)
39 · $id (integer)
40
41 · $key (string)
42
43 · $object (scalar)
44
45 indexentry or undef = $index->get_assoc_entry ($id, $method, $flags,
46 $format, $value)
47 · $id (integer)
48
49 · $method (GStreamer::IndexLookupMethod)
50
51 · $flags (GStreamer::AssocFlags)
52
53 · $format (GStreamer::Format)
54
55 · $value (64 bit integer)
56
57 indexcertainty = $index->get_certainty
58 $index->set_certainty ($certainty)
59 · $certainty (GStreamer::IndexCertainty)
60
61 $index->commit ($id)
62 · $id (integer)
63
64 $index->set_filter ($func, $data=undef)
65 · $func (scalar)
66
67 · $data (scalar)
68
69 integer = $index->get_group
70 boolean = $index->set_group ($groupnum)
71 · $groupnum (integer)
72
73 $index->set_resolver ($func, $data=undef)
74 · $func (scalar)
75
76 · $data (scalar)
77
78 integer = $index->get_writer_id ($writer)
79 · $writer (GStreamer::Object)
80
82 'resolver' (GstIndexResolver : default "path" : readable / writable /
83 private)
84 Select a predefined object to string mapper
85
87 entry-added (GStreamer::Index, GStreamer::IndexEntry)
88
90 flags GStreamer::AssocFlags
91 · 'none' / 'GST_ASSOCIATION_FLAG_NONE'
92
93 · 'key-unit' / 'GST_ASSOCIATION_FLAG_KEY_UNIT'
94
95 · 'delta-unit' / 'GST_ASSOCIATION_FLAG_DELTA_UNIT'
96
97 · 'last' / 'GST_ASSOCIATION_FLAG_LAST'
98
99 enum GStreamer::Format
100 · 'undefined' / 'GST_FORMAT_UNDEFINED'
101
102 · 'default' / 'GST_FORMAT_DEFAULT'
103
104 · 'bytes' / 'GST_FORMAT_BYTES'
105
106 · 'time' / 'GST_FORMAT_TIME'
107
108 · 'buffers' / 'GST_FORMAT_BUFFERS'
109
110 · 'percent' / 'GST_FORMAT_PERCENT'
111
112 enum GStreamer::IndexCertainty
113 · 'unknown' / 'GST_INDEX_UNKNOWN'
114
115 · 'certain' / 'GST_INDEX_CERTAIN'
116
117 · 'fuzzy' / 'GST_INDEX_FUZZY'
118
119 enum GStreamer::IndexLookupMethod
120 · 'exact' / 'GST_INDEX_LOOKUP_EXACT'
121
122 · 'before' / 'GST_INDEX_LOOKUP_BEFORE'
123
124 · 'after' / 'GST_INDEX_LOOKUP_AFTER'
125
126 enum GstIndexResolver
127 · 'custom' / 'GST_INDEX_RESOLVER_CUSTOM'
128
129 · 'gtype' / 'GST_INDEX_RESOLVER_GTYPE'
130
131 · 'path' / 'GST_INDEX_RESOLVER_PATH'
132
134 GStreamer, Glib::Object, GStreamer::Object
135
137 Copyright (C) 2005-2014 by the gtk2-perl team.
138
139 This software is licensed under the LGPL. See GStreamer for a full
140 notice.
141
142
143
144perl v5.30.0 2019-09-19 GStreamer::Index(3)