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