]> gitweb.factorcode.org Git - factor.git/blob - unmaintained/gstreamer/plugins/pbutils/GstPbutils-0.10.gir
99d8f89eba4ac3960c152be1ce25d09ae9cbcd68
[factor.git] / unmaintained / gstreamer / plugins / pbutils / GstPbutils-0.10.gir
1 <?xml version="1.0"?>
2 <!-- This file was automatically generated from C sources - DO NOT EDIT!
3 To affect the contents of this file, edit the original C definitions,
4 and/or use gtk-doc annotations.  -->
5 <repository version="1.2"
6             xmlns="http://www.gtk.org/introspection/core/1.0"
7             xmlns:c="http://www.gtk.org/introspection/c/1.0"
8             xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9   <include name="GLib" version="2.0"/>
10   <include name="GModule" version="2.0"/>
11   <include name="GObject" version="2.0"/>
12   <include name="Gst" version="0.10"/>
13   <include name="libxml2" version="2.0"/>
14   <package name="gstreamer-pbutils-0.10"/>
15   <c:include name="gst/pbutils/codec-utils.h"/>
16   <c:include name="gst/pbutils/descriptions.h"/>
17   <c:include name="gst/pbutils/encoding-profile.h"/>
18   <c:include name="gst/pbutils/encoding-target.h"/>
19   <c:include name="gst/pbutils/gstdiscoverer.h"/>
20   <c:include name="gst/pbutils/gstpluginsbaseversion.h"/>
21   <c:include name="gst/pbutils/install-plugins.h"/>
22   <c:include name="gst/pbutils/missing-plugins.h"/>
23   <c:include name="gst/pbutils/pbutils-enumtypes.h"/>
24   <c:include name="gst/pbutils/pbutils.h"/>
25   <namespace name="GstPbutils"
26              version="0.10"
27              shared-library="libgstpbutils-0.10.so.0,libgstreamer-0.10.so.0"
28              c:identifier-prefixes="Gst"
29              c:symbol-prefixes="gst">
30     <alias name="DiscovererAudioInfoClass"
31            c:type="GstDiscovererAudioInfoClass">
32       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
33     </alias>
34     <alias name="DiscovererContainerInfoClass"
35            c:type="GstDiscovererContainerInfoClass">
36       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
37     </alias>
38     <alias name="DiscovererInfoClass" c:type="GstDiscovererInfoClass">
39       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
40     </alias>
41     <alias name="DiscovererStreamInfoClass"
42            c:type="GstDiscovererStreamInfoClass">
43       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
44     </alias>
45     <alias name="DiscovererVideoInfoClass"
46            c:type="GstDiscovererVideoInfoClass">
47       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
48     </alias>
49     <alias name="EncodingAudioProfileClass"
50            c:type="GstEncodingAudioProfileClass">
51       <type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
52     </alias>
53     <alias name="EncodingContainerProfileClass"
54            c:type="GstEncodingContainerProfileClass">
55       <type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
56     </alias>
57     <alias name="EncodingProfileClass" c:type="GstEncodingProfileClass">
58       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
59     </alias>
60     <alias name="EncodingTargetClass" c:type="GstEncodingTargetClass">
61       <type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
62     </alias>
63     <alias name="EncodingVideoProfileClass"
64            c:type="GstEncodingVideoProfileClass">
65       <type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
66     </alias>
67     <class name="Discoverer"
68            c:symbol-prefix="discoverer"
69            c:type="GstDiscoverer"
70            version="0.10.31"
71            parent="GObject.Object"
72            glib:type-name="GstDiscoverer"
73            glib:get-type="gst_discoverer_get_type"
74            glib:type-struct="DiscovererClass">
75       <doc xml:whitespace="preserve">The #GstDiscoverer structure.</doc>
76       <constructor name="new"
77                    c:identifier="gst_discoverer_new"
78                    version="0.10.31"
79                    throws="1">
80         <doc xml:whitespace="preserve">Creates a new #GstDiscoverer with the provided timeout.
81 If an error occurred when creating the discoverer, @err will be set
82 accordingly and %NULL will be returned. If @err is set, the caller must
83 free it when no longer needed using g_error_free().</doc>
84         <return-value transfer-ownership="full">
85           <doc xml:whitespace="preserve">The new #GstDiscoverer.</doc>
86           <type name="Discoverer" c:type="GstDiscoverer*"/>
87         </return-value>
88         <parameters>
89           <parameter name="timeout" transfer-ownership="none">
90             <doc xml:whitespace="preserve">timeout per file, in nanoseconds. Allowed are values between one second (#GST_SECOND) and one hour (3600 * #GST_SECOND)</doc>
91             <type name="Gst.ClockTime" c:type="GstClockTime"/>
92           </parameter>
93         </parameters>
94       </constructor>
95       <method name="discover_uri"
96               c:identifier="gst_discoverer_discover_uri"
97               version="0.10.31"
98               throws="1">
99         <doc xml:whitespace="preserve">Synchronously discovers the given @uri.
100 A copy of @uri will be made internally, so the caller can safely g_free()
101 afterwards.
102 error occurred.</doc>
103         <return-value transfer-ownership="full">
104           <doc xml:whitespace="preserve">the result of the scanning. Can be %NULL if an</doc>
105           <type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
106         </return-value>
107         <parameters>
108           <parameter name="uri" transfer-ownership="none">
109             <doc xml:whitespace="preserve">The URI to run on.</doc>
110             <type name="utf8" c:type="gchar*"/>
111           </parameter>
112         </parameters>
113       </method>
114       <method name="discover_uri_async"
115               c:identifier="gst_discoverer_discover_uri_async"
116               version="0.10.31">
117         <doc xml:whitespace="preserve">Appends the given @uri to the list of URIs to discoverer. The actual
118 discovery of the @uri will only take place if gst_discoverer_start() has
119 been called.
120 A copy of @uri will be made internally, so the caller can safely g_free()
121 afterwards.
122 uris, else %FALSE</doc>
123         <return-value transfer-ownership="none">
124           <doc xml:whitespace="preserve">%TRUE if the @uri was succesfully appended to the list of pending</doc>
125           <type name="gboolean" c:type="gboolean"/>
126         </return-value>
127         <parameters>
128           <parameter name="uri" transfer-ownership="none">
129             <doc xml:whitespace="preserve">the URI to add.</doc>
130             <type name="utf8" c:type="gchar*"/>
131           </parameter>
132         </parameters>
133       </method>
134       <method name="start"
135               c:identifier="gst_discoverer_start"
136               version="0.10.31">
137         <doc xml:whitespace="preserve">Allow asynchronous discovering of URIs to take place.
138 A #GMainLoop must be available for #GstDiscoverer to properly work in
139 asynchronous mode.</doc>
140         <return-value transfer-ownership="none">
141           <type name="none" c:type="void"/>
142         </return-value>
143       </method>
144       <method name="stop" c:identifier="gst_discoverer_stop" version="0.10.31">
145         <doc xml:whitespace="preserve">Stop the discovery of any pending URIs and clears the list of
146 pending URIS (if any).</doc>
147         <return-value transfer-ownership="none">
148           <type name="none" c:type="void"/>
149         </return-value>
150       </method>
151       <property name="timeout"
152                 writable="1"
153                 construct="1"
154                 transfer-ownership="none">
155         <type name="guint64"/>
156       </property>
157       <field name="parent">
158         <type name="GObject.Object" c:type="GObject"/>
159       </field>
160       <field name="priv">
161         <type name="DiscovererPrivate" c:type="GstDiscovererPrivate*"/>
162       </field>
163       <field name="_reserved">
164         <array zero-terminated="0" c:type="gpointer" fixed-size="4">
165           <type name="gpointer" c:type="gpointer"/>
166         </array>
167       </field>
168       <glib:signal name="discovered">
169         <doc xml:whitespace="preserve">Will be emitted when all information on a URI could be discovered.</doc>
170         <return-value transfer-ownership="none">
171           <type name="none"/>
172         </return-value>
173         <parameters>
174           <parameter name="object" transfer-ownership="none">
175             <doc xml:whitespace="preserve">the results #GstDiscovererInfo</doc>
176             <type name="DiscovererInfo"/>
177           </parameter>
178           <parameter name="p0" transfer-ownership="none">
179             <doc xml:whitespace="preserve">#GError, which will be non-NULL if an error occurred during discovery</doc>
180             <type name="GLib.Error"/>
181           </parameter>
182         </parameters>
183       </glib:signal>
184       <glib:signal name="finished">
185         <doc xml:whitespace="preserve">Will be emitted when all pending URIs have been processed.</doc>
186         <return-value transfer-ownership="none">
187           <type name="none"/>
188         </return-value>
189       </glib:signal>
190       <glib:signal name="starting">
191         <doc xml:whitespace="preserve">Will be emitted when the discover starts analyzing the pending URIs</doc>
192         <return-value transfer-ownership="none">
193           <type name="none"/>
194         </return-value>
195       </glib:signal>
196     </class>
197     <class name="DiscovererAudioInfo"
198            c:symbol-prefix="discoverer_audio_info"
199            c:type="GstDiscovererAudioInfo"
200            version="0.10.31"
201            parent="DiscovererStreamInfo"
202            glib:type-name="GstDiscovererAudioInfo"
203            glib:get-type="gst_discoverer_audio_info_get_type"
204            glib:fundamental="1">
205       <doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to audio streams.</doc>
206       <method name="get_bitrate"
207               c:identifier="gst_discoverer_audio_info_get_bitrate"
208               version="0.10.31">
209         <return-value transfer-ownership="none">
210           <doc xml:whitespace="preserve">the average or nominal bitrate of the stream in bits/second.</doc>
211           <type name="guint" c:type="guint"/>
212         </return-value>
213       </method>
214       <method name="get_channels"
215               c:identifier="gst_discoverer_audio_info_get_channels"
216               version="0.10.31">
217         <return-value transfer-ownership="none">
218           <doc xml:whitespace="preserve">the number of channels in the stream.</doc>
219           <type name="guint" c:type="guint"/>
220         </return-value>
221       </method>
222       <method name="get_depth"
223               c:identifier="gst_discoverer_audio_info_get_depth"
224               version="0.10.31">
225         <return-value transfer-ownership="none">
226           <doc xml:whitespace="preserve">the number of bits used per sample in each channel.</doc>
227           <type name="guint" c:type="guint"/>
228         </return-value>
229       </method>
230       <method name="get_max_bitrate"
231               c:identifier="gst_discoverer_audio_info_get_max_bitrate"
232               version="0.10.31">
233         <return-value transfer-ownership="none">
234           <doc xml:whitespace="preserve">the maximum bitrate of the stream in bits/second.</doc>
235           <type name="guint" c:type="guint"/>
236         </return-value>
237       </method>
238       <method name="get_sample_rate"
239               c:identifier="gst_discoverer_audio_info_get_sample_rate"
240               version="0.10.31">
241         <return-value transfer-ownership="none">
242           <doc xml:whitespace="preserve">the sample rate of the stream in Hertz.</doc>
243           <type name="guint" c:type="guint"/>
244         </return-value>
245       </method>
246     </class>
247     <record name="DiscovererClass"
248             c:type="GstDiscovererClass"
249             glib:is-gtype-struct-for="Discoverer">
250       <field name="parentclass">
251         <type name="GObject.ObjectClass" c:type="GObjectClass"/>
252       </field>
253       <field name="finished">
254         <callback name="finished">
255           <return-value transfer-ownership="none">
256             <type name="none" c:type="void"/>
257           </return-value>
258           <parameters>
259             <parameter name="discoverer" transfer-ownership="none">
260               <type name="Discoverer" c:type="GstDiscoverer*"/>
261             </parameter>
262           </parameters>
263         </callback>
264       </field>
265       <field name="starting">
266         <callback name="starting">
267           <return-value transfer-ownership="none">
268             <type name="none" c:type="void"/>
269           </return-value>
270           <parameters>
271             <parameter name="discoverer" transfer-ownership="none">
272               <type name="Discoverer" c:type="GstDiscoverer*"/>
273             </parameter>
274           </parameters>
275         </callback>
276       </field>
277       <field name="discovered">
278         <callback name="discovered">
279           <return-value transfer-ownership="none">
280             <type name="none" c:type="void"/>
281           </return-value>
282           <parameters>
283             <parameter name="discoverer" transfer-ownership="none">
284               <type name="Discoverer" c:type="GstDiscoverer*"/>
285             </parameter>
286             <parameter name="info" transfer-ownership="none">
287               <type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
288             </parameter>
289             <parameter name="err" transfer-ownership="none">
290               <type name="GLib.Error" c:type="GError*"/>
291             </parameter>
292           </parameters>
293         </callback>
294       </field>
295       <field name="_reserved">
296         <array zero-terminated="0" c:type="gpointer" fixed-size="4">
297           <type name="gpointer" c:type="gpointer"/>
298         </array>
299       </field>
300     </record>
301     <class name="DiscovererContainerInfo"
302            c:symbol-prefix="discoverer_container_info"
303            c:type="GstDiscovererContainerInfo"
304            version="0.10.31"
305            parent="DiscovererStreamInfo"
306            glib:type-name="GstDiscovererContainerInfo"
307            glib:get-type="gst_discoverer_container_info_get_type"
308            glib:fundamental="1">
309       <doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to container streams.</doc>
310       <method name="get_streams"
311               c:identifier="gst_discoverer_container_info_get_streams"
312               version="0.10.31"
313               introspectable="0">
314         <doc xml:whitespace="preserve">#GstDiscovererStreamInfo this container stream offers.
315 Free with gst_discoverer_stream_info_list_free() after usage.</doc>
316         <return-value transfer-ownership="full">
317           <doc xml:whitespace="preserve">the list of</doc>
318           <type name="GLib.List" c:type="GList*">
319             <type name="Gst.DiscovererStreamInfo"/>
320           </type>
321         </return-value>
322       </method>
323     </class>
324     <class name="DiscovererInfo"
325            c:symbol-prefix="discoverer_info"
326            c:type="GstDiscovererInfo"
327            version="0.10.31"
328            parent="Gst.MiniObject"
329            glib:type-name="GstDiscovererInfo"
330            glib:get-type="gst_discoverer_info_get_type"
331            glib:fundamental="1">
332       <doc xml:whitespace="preserve">Structure containing the information of a URI analyzed by #GstDiscoverer.</doc>
333       <method name="copy"
334               c:identifier="gst_discoverer_info_copy"
335               introspectable="0">
336         <return-value>
337           <type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
338         </return-value>
339       </method>
340       <method name="get_audio_streams"
341               c:identifier="gst_discoverer_info_get_audio_streams"
342               version="0.10.31"
343               introspectable="0">
344         <doc xml:whitespace="preserve">Finds all the #GstDiscovererAudioInfo contained in @info
345 matching #GstDiscovererStreamInfo. The caller should free it with
346 gst_discoverer_stream_info_list_free().</doc>
347         <return-value transfer-ownership="full">
348           <doc xml:whitespace="preserve">A #GList of</doc>
349           <type name="GLib.List" c:type="GList*">
350             <type name="Gst.DiscovererStreamInfo"/>
351           </type>
352         </return-value>
353       </method>
354       <method name="get_container_streams"
355               c:identifier="gst_discoverer_info_get_container_streams"
356               version="0.10.31"
357               introspectable="0">
358         <doc xml:whitespace="preserve">Finds all the #GstDiscovererContainerInfo contained in @info
359 matching #GstDiscovererStreamInfo. The caller should free it with
360 gst_discoverer_stream_info_list_free().</doc>
361         <return-value transfer-ownership="full">
362           <doc xml:whitespace="preserve">A #GList of</doc>
363           <type name="GLib.List" c:type="GList*">
364             <type name="Gst.DiscovererStreamInfo"/>
365           </type>
366         </return-value>
367       </method>
368       <method name="get_duration"
369               c:identifier="gst_discoverer_info_get_duration"
370               version="0.10.31">
371         <return-value transfer-ownership="none">
372           <doc xml:whitespace="preserve">the duration of the URI in #GstClockTime (nanoseconds).</doc>
373           <type name="Gst.ClockTime" c:type="GstClockTime"/>
374         </return-value>
375       </method>
376       <method name="get_misc"
377               c:identifier="gst_discoverer_info_get_misc"
378               version="0.10.31">
379         <doc xml:whitespace="preserve">(for example: information about missing plugins). If you wish to use the
380 #GstStructure after the life-time of @info, you will need to copy it.</doc>
381         <return-value transfer-ownership="none">
382           <doc xml:whitespace="preserve">Miscellaneous information stored as a #GstStructure</doc>
383           <type name="Gst.Structure" c:type="GstStructure*"/>
384         </return-value>
385       </method>
386       <method name="get_result"
387               c:identifier="gst_discoverer_info_get_result"
388               version="0.10.31">
389         <return-value transfer-ownership="none">
390           <doc xml:whitespace="preserve">the result of the discovery as a #GstDiscovererResult.</doc>
391           <type name="DiscovererResult" c:type="GstDiscovererResult"/>
392         </return-value>
393       </method>
394       <method name="get_seekable"
395               c:identifier="gst_discoverer_info_get_seekable"
396               version="0.10.32">
397         <return-value transfer-ownership="none">
398           <doc xml:whitespace="preserve">the wheter the URI is seekable.</doc>
399           <type name="gboolean" c:type="gboolean"/>
400         </return-value>
401       </method>
402       <method name="get_stream_info"
403               c:identifier="gst_discoverer_info_get_stream_info"
404               version="0.10.31">
405         <doc xml:whitespace="preserve">#GstDiscovererStreamInfo.
406 This structure can be traversed to see the original hierarchy. Unref with
407 gst_discoverer_stream_info_unref() after usage.</doc>
408         <return-value transfer-ownership="full">
409           <doc xml:whitespace="preserve">the structure (or topology) of the URI as a</doc>
410           <type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
411         </return-value>
412       </method>
413       <method name="get_stream_list"
414               c:identifier="gst_discoverer_info_get_stream_list"
415               version="0.10.31"
416               introspectable="0">
417         <doc xml:whitespace="preserve">all streams contained in the #info. Free after usage
418 with gst_discoverer_stream_info_list_free().</doc>
419         <return-value transfer-ownership="full">
420           <doc xml:whitespace="preserve">the list of</doc>
421           <type name="GLib.List" c:type="GList*">
422             <type name="Gst.DiscovererStreamInfo"/>
423           </type>
424         </return-value>
425       </method>
426       <method name="get_streams"
427               c:identifier="gst_discoverer_info_get_streams"
428               version="0.10.31"
429               introspectable="0">
430         <doc xml:whitespace="preserve">Finds the #GstDiscovererStreamInfo contained in @info that match the
431 given @streamtype.
432 matching #GstDiscovererStreamInfo. The caller should free it with
433 gst_discoverer_stream_info_list_free().</doc>
434         <return-value transfer-ownership="full">
435           <doc xml:whitespace="preserve">A #GList of</doc>
436           <type name="GLib.List" c:type="GList*">
437             <type name="Gst.DiscovererStreamInfo"/>
438           </type>
439         </return-value>
440         <parameters>
441           <parameter name="streamtype" transfer-ownership="none">
442             <doc xml:whitespace="preserve">a #GType derived from #GstDiscovererStreamInfo</doc>
443             <type name="GType" c:type="GType"/>
444           </parameter>
445         </parameters>
446       </method>
447       <method name="get_tags"
448               c:identifier="gst_discoverer_info_get_tags"
449               version="0.10.31">
450         <doc xml:whitespace="preserve">the tags after the life-time of @info, you will need to copy them.</doc>
451         <return-value transfer-ownership="none">
452           <doc xml:whitespace="preserve">all tags contained in the %URI. If you wish to use</doc>
453           <type name="Gst.TagList" c:type="GstTagList*"/>
454         </return-value>
455       </method>
456       <method name="get_uri"
457               c:identifier="gst_discoverer_info_get_uri"
458               version="0.10.31">
459         <doc xml:whitespace="preserve">Copy it if you wish to use it after the life-time of @info.</doc>
460         <return-value transfer-ownership="none">
461           <doc xml:whitespace="preserve">the URI to which this information corresponds to.</doc>
462           <type name="utf8" c:type="gchar*"/>
463         </return-value>
464       </method>
465       <method name="get_video_streams"
466               c:identifier="gst_discoverer_info_get_video_streams"
467               version="0.10.31"
468               introspectable="0">
469         <doc xml:whitespace="preserve">Finds all the #GstDiscovererVideoInfo contained in @info
470 matching #GstDiscovererStreamInfo. The caller should free it with
471 gst_discoverer_stream_info_list_free().</doc>
472         <return-value transfer-ownership="full">
473           <doc xml:whitespace="preserve">A #GList of</doc>
474           <type name="GLib.List" c:type="GList*">
475             <type name="Gst.DiscovererStreamInfo"/>
476           </type>
477         </return-value>
478       </method>
479     </class>
480     <record name="DiscovererPrivate"
481             c:type="GstDiscovererPrivate"
482             disguised="1">
483     </record>
484     <enumeration name="DiscovererResult"
485                  version="0.10.31"
486                  glib:type-name="GstDiscovererResult"
487                  glib:get-type="gst_discoverer_result_get_type"
488                  c:type="GstDiscovererResult">
489       <doc xml:whitespace="preserve">Result values for the discovery process.</doc>
490       <member name="ok"
491               value="0"
492               c:identifier="GST_DISCOVERER_OK"
493               glib:nick="ok"/>
494       <member name="uri_invalid"
495               value="1"
496               c:identifier="GST_DISCOVERER_URI_INVALID"
497               glib:nick="uri-invalid"/>
498       <member name="error"
499               value="2"
500               c:identifier="GST_DISCOVERER_ERROR"
501               glib:nick="error"/>
502       <member name="timeout"
503               value="3"
504               c:identifier="GST_DISCOVERER_TIMEOUT"
505               glib:nick="timeout"/>
506       <member name="busy"
507               value="4"
508               c:identifier="GST_DISCOVERER_BUSY"
509               glib:nick="busy"/>
510       <member name="missing_plugins"
511               value="5"
512               c:identifier="GST_DISCOVERER_MISSING_PLUGINS"
513               glib:nick="missing-plugins"/>
514     </enumeration>
515     <class name="DiscovererStreamInfo"
516            c:symbol-prefix="discoverer_stream_info"
517            c:type="GstDiscovererStreamInfo"
518            version="0.10.31"
519            parent="Gst.MiniObject"
520            glib:type-name="GstDiscovererStreamInfo"
521            glib:get-type="gst_discoverer_stream_info_get_type"
522            glib:fundamental="1">
523       <doc xml:whitespace="preserve">Base structure for information concerning a media stream. Depending on the
524 stream type, one can find more media-specific information in
525 #GstDiscovererAudioInfo, #GstDiscovererVideoInfo, and
526 #GstDiscovererContainerInfo.
527 The #GstDiscovererStreamInfo represents the topology of the stream. Siblings
528 can be iterated over with gst_discoverer_stream_info_get_next() and
529 gst_discoverer_stream_info_get_previous(). Children (sub-streams) of a
530 stream can be accessed using the #GstDiscovererContainerInfo API.
531 As a simple example, if you run #GstDiscoverer on an AVI file with one audio
532 and one video stream, you will get a #GstDiscovererContainerInfo
533 corresponding to the AVI container, which in turn will have a
534 #GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream
535 for the audio and video streams respectively.</doc>
536       <function name="list_free"
537                 c:identifier="gst_discoverer_stream_info_list_free">
538         <doc xml:whitespace="preserve">Decrements the reference count of all contained #GstDiscovererStreamInfo
539 and fress the #GList.</doc>
540         <return-value transfer-ownership="none">
541           <type name="none" c:type="void"/>
542         </return-value>
543         <parameters>
544           <parameter name="infos" transfer-ownership="none">
545             <doc xml:whitespace="preserve">a #GList of #GstDiscovererStreamInfo</doc>
546             <type name="GLib.List" c:type="GList*">
547               <type name="gpointer" c:type="gpointer"/>
548             </type>
549           </parameter>
550         </parameters>
551       </function>
552       <method name="get_caps"
553               c:identifier="gst_discoverer_stream_info_get_caps"
554               version="0.10.31">
555         <doc xml:whitespace="preserve">#gst_caps_unref after usage.</doc>
556         <return-value transfer-ownership="full">
557           <doc xml:whitespace="preserve">the #GstCaps of the stream. Unref with</doc>
558           <type name="Gst.Caps" c:type="GstCaps*"/>
559         </return-value>
560       </method>
561       <method name="get_misc"
562               c:identifier="gst_discoverer_stream_info_get_misc"
563               version="0.10.31">
564         <doc xml:whitespace="preserve">example codec version, profile, etc..). If you wish to use the #GstStructure
565 after the life-time of @info you will need to copy it.</doc>
566         <return-value transfer-ownership="none">
567           <doc xml:whitespace="preserve">additional information regarding the stream (for</doc>
568           <type name="Gst.Structure" c:type="GstStructure*"/>
569         </return-value>
570       </method>
571       <method name="get_next"
572               c:identifier="gst_discoverer_stream_info_get_next"
573               version="0.10.31">
574         <doc xml:whitespace="preserve">for final streams.
575 Unref with #gst_discoverer_stream_info_unref after usage.</doc>
576         <return-value transfer-ownership="full">
577           <doc xml:whitespace="preserve">the next #GstDiscovererStreamInfo in a chain. %NULL</doc>
578           <type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
579         </return-value>
580       </method>
581       <method name="get_previous"
582               c:identifier="gst_discoverer_stream_info_get_previous"
583               version="0.10.31">
584         <doc xml:whitespace="preserve">%NULL for starting points. Unref with #gst_discoverer_stream_info_unref
585 after usage.</doc>
586         <return-value transfer-ownership="full">
587           <doc xml:whitespace="preserve">the previous #GstDiscovererStreamInfo in a chain.</doc>
588           <type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
589         </return-value>
590       </method>
591       <method name="get_stream_type_nick"
592               c:identifier="gst_discoverer_stream_info_get_stream_type_nick"
593               version="0.10.31">
594         <doc xml:whitespace="preserve">"container",...).</doc>
595         <return-value transfer-ownership="none">
596           <doc xml:whitespace="preserve">a human readable name for the stream type of the given @info (ex : "audio",</doc>
597           <type name="utf8" c:type="gchar*"/>
598         </return-value>
599       </method>
600       <method name="get_tags"
601               c:identifier="gst_discoverer_stream_info_get_tags"
602               version="0.10.31">
603         <doc xml:whitespace="preserve">use the tags after the life-time of @info you will need to copy them.</doc>
604         <return-value transfer-ownership="none">
605           <doc xml:whitespace="preserve">the tags contained in this stream. If you wish to</doc>
606           <type name="Gst.TagList" c:type="GstTagList*"/>
607         </return-value>
608       </method>
609     </class>
610     <class name="DiscovererVideoInfo"
611            c:symbol-prefix="discoverer_video_info"
612            c:type="GstDiscovererVideoInfo"
613            version="0.10.31"
614            parent="DiscovererStreamInfo"
615            glib:type-name="GstDiscovererVideoInfo"
616            glib:get-type="gst_discoverer_video_info_get_type"
617            glib:fundamental="1">
618       <doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to video streams (this includes images).</doc>
619       <method name="get_bitrate"
620               c:identifier="gst_discoverer_video_info_get_bitrate"
621               version="0.10.31">
622         <return-value transfer-ownership="none">
623           <doc xml:whitespace="preserve">the average or nominal bitrate of the video stream in bits/second.</doc>
624           <type name="guint" c:type="guint"/>
625         </return-value>
626       </method>
627       <method name="get_depth"
628               c:identifier="gst_discoverer_video_info_get_depth"
629               version="0.10.31">
630         <return-value transfer-ownership="none">
631           <doc xml:whitespace="preserve">the depth in bits of the video stream.</doc>
632           <type name="guint" c:type="guint"/>
633         </return-value>
634       </method>
635       <method name="get_framerate_denom"
636               c:identifier="gst_discoverer_video_info_get_framerate_denom"
637               version="0.10.31">
638         <return-value transfer-ownership="none">
639           <doc xml:whitespace="preserve">the framerate of the video stream (denominator).</doc>
640           <type name="guint" c:type="guint"/>
641         </return-value>
642       </method>
643       <method name="get_framerate_num"
644               c:identifier="gst_discoverer_video_info_get_framerate_num"
645               version="0.10.31">
646         <return-value transfer-ownership="none">
647           <doc xml:whitespace="preserve">the framerate of the video stream (numerator).</doc>
648           <type name="guint" c:type="guint"/>
649         </return-value>
650       </method>
651       <method name="get_height"
652               c:identifier="gst_discoverer_video_info_get_height"
653               version="0.10.31">
654         <return-value transfer-ownership="none">
655           <doc xml:whitespace="preserve">the height of the video stream in pixels.</doc>
656           <type name="guint" c:type="guint"/>
657         </return-value>
658       </method>
659       <method name="get_max_bitrate"
660               c:identifier="gst_discoverer_video_info_get_max_bitrate"
661               version="0.10.31">
662         <return-value transfer-ownership="none">
663           <doc xml:whitespace="preserve">the maximum bitrate of the video stream in bits/second.</doc>
664           <type name="guint" c:type="guint"/>
665         </return-value>
666       </method>
667       <method name="get_par_denom"
668               c:identifier="gst_discoverer_video_info_get_par_denom"
669               version="0.10.31">
670         <return-value transfer-ownership="none">
671           <doc xml:whitespace="preserve">the Pixel Aspect Ratio (PAR) of the video stream (denominator).</doc>
672           <type name="guint" c:type="guint"/>
673         </return-value>
674       </method>
675       <method name="get_par_num"
676               c:identifier="gst_discoverer_video_info_get_par_num"
677               version="0.10.31">
678         <return-value transfer-ownership="none">
679           <doc xml:whitespace="preserve">the Pixel Aspect Ratio (PAR) of the video stream (numerator).</doc>
680           <type name="guint" c:type="guint"/>
681         </return-value>
682       </method>
683       <method name="get_width"
684               c:identifier="gst_discoverer_video_info_get_width"
685               version="0.10.31">
686         <return-value transfer-ownership="none">
687           <doc xml:whitespace="preserve">the width of the video stream in pixels.</doc>
688           <type name="guint" c:type="guint"/>
689         </return-value>
690       </method>
691       <method name="is_image"
692               c:identifier="gst_discoverer_video_info_is_image"
693               version="0.10.31">
694         <doc xml:whitespace="preserve">one frame).</doc>
695         <return-value transfer-ownership="none">
696           <doc xml:whitespace="preserve">#TRUE if the video stream corresponds to an image (i.e. only contains</doc>
697           <type name="gboolean" c:type="gboolean"/>
698         </return-value>
699       </method>
700       <method name="is_interlaced"
701               c:identifier="gst_discoverer_video_info_is_interlaced"
702               version="0.10.31">
703         <return-value transfer-ownership="none">
704           <doc xml:whitespace="preserve">%TRUE if the stream is interlaced, else %FALSE.</doc>
705           <type name="gboolean" c:type="gboolean"/>
706         </return-value>
707       </method>
708     </class>
709     <constant name="ENCODING_CATEGORY_CAPTURE" value="capture">
710       <type name="utf8" c:type="gchar*"/>
711     </constant>
712     <constant name="ENCODING_CATEGORY_DEVICE" value="device">
713       <type name="utf8" c:type="gchar*"/>
714     </constant>
715     <constant name="ENCODING_CATEGORY_ONLINE_SERVICE" value="online-service">
716       <type name="utf8" c:type="gchar*"/>
717     </constant>
718     <constant name="ENCODING_CATEGORY_STORAGE_EDITING" value="storage-editing">
719       <type name="utf8" c:type="gchar*"/>
720     </constant>
721     <class name="EncodingAudioProfile"
722            c:symbol-prefix="encoding_audio_profile"
723            c:type="GstEncodingAudioProfile"
724            version="0.10.32"
725            parent="EncodingProfile"
726            glib:type-name="GstEncodingAudioProfile"
727            glib:get-type="gst_encoding_audio_profile_get_type"
728            glib:fundamental="1">
729       <doc xml:whitespace="preserve">Variant of #GstEncodingProfile for audio streams.</doc>
730       <constructor name="new"
731                    c:identifier="gst_encoding_audio_profile_new"
732                    version="0.10.32">
733         <doc xml:whitespace="preserve">Creates a new #GstEncodingAudioProfile
734 All provided allocatable arguments will be internally copied, so can be
735 safely freed/unreferenced after calling this method.</doc>
736         <return-value transfer-ownership="full">
737           <doc xml:whitespace="preserve">the newly created #GstEncodingAudioProfile.</doc>
738           <type name="EncodingAudioProfile" c:type="GstEncodingAudioProfile*"/>
739         </return-value>
740         <parameters>
741           <parameter name="format" transfer-ownership="none">
742             <doc xml:whitespace="preserve">the #GstCaps</doc>
743             <type name="Gst.Caps" c:type="GstCaps*"/>
744           </parameter>
745           <parameter name="preset" transfer-ownership="none">
746             <doc xml:whitespace="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
747             <type name="utf8" c:type="gchar*"/>
748           </parameter>
749           <parameter name="restriction" transfer-ownership="none">
750             <doc xml:whitespace="preserve">the #GstCaps used to restrict the input to the encoder, can be NULL. See gst_encoding_profile_get_restriction() for more details.</doc>
751             <type name="Gst.Caps" c:type="GstCaps*"/>
752           </parameter>
753           <parameter name="presence" transfer-ownership="none">
754             <doc xml:whitespace="preserve">the number of time this stream must be used. 0 means any number of times (including never)</doc>
755             <type name="guint" c:type="guint"/>
756           </parameter>
757         </parameters>
758       </constructor>
759     </class>
760     <class name="EncodingContainerProfile"
761            c:symbol-prefix="encoding_container_profile"
762            c:type="GstEncodingContainerProfile"
763            version="0.10.32"
764            parent="EncodingProfile"
765            glib:type-name="GstEncodingContainerProfile"
766            glib:get-type="gst_encoding_container_profile_get_type"
767            glib:fundamental="1">
768       <doc xml:whitespace="preserve">Encoding profiles for containers. Keeps track of a list of #GstEncodingProfile</doc>
769       <constructor name="new"
770                    c:identifier="gst_encoding_container_profile_new"
771                    version="0.10.32">
772         <doc xml:whitespace="preserve">Creates a new #GstEncodingContainerProfile.</doc>
773         <return-value transfer-ownership="full">
774           <doc xml:whitespace="preserve">The newly created #GstEncodingContainerProfile.</doc>
775           <type name="EncodingContainerProfile"
776                 c:type="GstEncodingContainerProfile*"/>
777         </return-value>
778         <parameters>
779           <parameter name="name" transfer-ownership="none">
780             <doc xml:whitespace="preserve">The name of the container profile, can be %NULL</doc>
781             <type name="utf8" c:type="gchar*"/>
782           </parameter>
783           <parameter name="description" transfer-ownership="none">
784             <doc xml:whitespace="preserve">The description of the container profile, can be %NULL</doc>
785             <type name="utf8" c:type="gchar*"/>
786           </parameter>
787           <parameter name="format" transfer-ownership="none">
788             <doc xml:whitespace="preserve">The format to use for this profile</doc>
789             <type name="Gst.Caps" c:type="GstCaps*"/>
790           </parameter>
791           <parameter name="preset" transfer-ownership="none">
792             <doc xml:whitespace="preserve">The preset to use for this profile</doc>
793             <type name="utf8" c:type="gchar*"/>
794           </parameter>
795         </parameters>
796       </constructor>
797       <method name="add_profile"
798               c:identifier="gst_encoding_container_profile_add_profile"
799               version="0.10.32">
800         <doc xml:whitespace="preserve">Add a #GstEncodingProfile to the list of profiles handled by @container.
801 No copy of @profile will be made, if you wish to use it elsewhere after this
802 method you should increment its reference count.</doc>
803         <return-value transfer-ownership="none">
804           <doc xml:whitespace="preserve">%TRUE if the @stream was properly added, else %FALSE.</doc>
805           <type name="gboolean" c:type="gboolean"/>
806         </return-value>
807         <parameters>
808           <parameter name="profile" transfer-ownership="none">
809             <doc xml:whitespace="preserve">the #GstEncodingProfile to add.</doc>
810             <type name="EncodingProfile" c:type="GstEncodingProfile*"/>
811           </parameter>
812         </parameters>
813       </method>
814       <method name="contains_profile"
815               c:identifier="gst_encoding_container_profile_contains_profile"
816               version="0.10.32">
817         <doc xml:whitespace="preserve">Checks if @container contains a #GstEncodingProfile identical to
818 to @profile, else %FALSE.</doc>
819         <return-value transfer-ownership="none">
820           <doc xml:whitespace="preserve">%TRUE if @container contains a #GstEncodingProfile identical</doc>
821           <type name="gboolean" c:type="gboolean"/>
822         </return-value>
823         <parameters>
824           <parameter name="profile" transfer-ownership="none">
825             <doc xml:whitespace="preserve">a #GstEncodingProfile</doc>
826             <type name="EncodingProfile" c:type="GstEncodingProfile*"/>
827           </parameter>
828         </parameters>
829       </method>
830       <method name="get_profiles"
831               c:identifier="gst_encoding_container_profile_get_profiles">
832         <return-value transfer-ownership="none">
833           <type name="GLib.List" c:type="GList*">
834             <type name="gpointer" c:type="gpointer"/>
835           </type>
836         </return-value>
837       </method>
838     </class>
839     <class name="EncodingProfile"
840            c:symbol-prefix="encoding_profile"
841            c:type="GstEncodingProfile"
842            version="0.10.32"
843            parent="Gst.MiniObject"
844            glib:type-name="GstEncodingProfile"
845            glib:get-type="gst_encoding_profile_get_type"
846            glib:fundamental="1">
847       <doc xml:whitespace="preserve">The opaque base class object for all encoding profiles. This contains generic
848 information like name, description, format and preset.</doc>
849       <function name="find"
850                 c:identifier="gst_encoding_profile_find"
851                 version="0.10.32">
852         <doc xml:whitespace="preserve">Find the #GstEncodingProfile with the specified name and category.</doc>
853         <return-value transfer-ownership="full">
854           <doc xml:whitespace="preserve">The matching #GstEncodingProfile or %NULL.</doc>
855           <type name="EncodingProfile" c:type="GstEncodingProfile*"/>
856         </return-value>
857         <parameters>
858           <parameter name="targetname" transfer-ownership="none">
859             <doc xml:whitespace="preserve">The name of the target</doc>
860             <type name="utf8" c:type="gchar*"/>
861           </parameter>
862           <parameter name="profilename" transfer-ownership="none">
863             <doc xml:whitespace="preserve">The name of the profile</doc>
864             <type name="utf8" c:type="gchar*"/>
865           </parameter>
866           <parameter name="category" transfer-ownership="none" allow-none="1">
867             <doc xml:whitespace="preserve">The target category. Can be %NULL</doc>
868             <type name="utf8" c:type="gchar*"/>
869           </parameter>
870         </parameters>
871       </function>
872       <method name="get_description"
873               c:identifier="gst_encoding_profile_get_description"
874               version="0.10.32">
875         <return-value transfer-ownership="none">
876           <doc xml:whitespace="preserve">the description of the profile, can be %NULL.</doc>
877           <type name="utf8" c:type="gchar*"/>
878         </return-value>
879       </method>
880       <method name="get_format"
881               c:identifier="gst_encoding_profile_get_format"
882               version="0.10.32">
883         <return-value transfer-ownership="none">
884           <doc xml:whitespace="preserve">the #GstCaps corresponding to the media format used in the profile.</doc>
885           <type name="Gst.Caps" c:type="GstCaps*"/>
886         </return-value>
887       </method>
888       <method name="get_input_caps"
889               c:identifier="gst_encoding_profile_get_input_caps"
890               version="0.10.32">
891         <doc xml:whitespace="preserve">Computes the full output caps that this @profile will be able to consume.
892 when you are done with the caps.</doc>
893         <return-value transfer-ownership="full">
894           <doc xml:whitespace="preserve">The full caps the given @profile can consume. Call gst_caps_unref()</doc>
895           <type name="Gst.Caps" c:type="GstCaps*"/>
896         </return-value>
897       </method>
898       <method name="get_name"
899               c:identifier="gst_encoding_profile_get_name"
900               version="0.10.32">
901         <return-value transfer-ownership="none">
902           <doc xml:whitespace="preserve">the name of the profile, can be %NULL.</doc>
903           <type name="utf8" c:type="gchar*"/>
904         </return-value>
905       </method>
906       <method name="get_presence"
907               c:identifier="gst_encoding_profile_get_presence"
908               version="0.10.32">
909         <doc xml:whitespace="preserve">container profile. If 0, it is not a mandatory stream.</doc>
910         <return-value transfer-ownership="none">
911           <doc xml:whitespace="preserve">The number of times the profile is used in its parent</doc>
912           <type name="guint" c:type="guint"/>
913         </return-value>
914       </method>
915       <method name="get_preset"
916               c:identifier="gst_encoding_profile_get_preset"
917               version="0.10.32">
918         <return-value transfer-ownership="none">
919           <doc xml:whitespace="preserve">the name of the #GstPreset to be used in the profile.</doc>
920           <type name="utf8" c:type="gchar*"/>
921         </return-value>
922       </method>
923       <method name="get_restriction"
924               c:identifier="gst_encoding_profile_get_restriction"
925               version="0.10.32">
926         <doc xml:whitespace="preserve">that will be used in the profile. The fields present in restriction caps are
927 properties of the raw stream (that is before encoding), such as height and
928 width for video and depth and sampling rate for audio. Does not apply to
929 #GstEncodingContainerProfile (since there is no corresponding raw stream).
930 Can be %NULL.</doc>
931         <return-value transfer-ownership="none">
932           <doc xml:whitespace="preserve">The restriction #GstCaps to apply before the encoder</doc>
933           <type name="Gst.Caps" c:type="GstCaps*"/>
934         </return-value>
935       </method>
936       <method name="get_type_nick"
937               c:identifier="gst_encoding_profile_get_type_nick"
938               version="0.10.32">
939         <return-value transfer-ownership="none">
940           <doc xml:whitespace="preserve">the human-readable name of the type of @profile.</doc>
941           <type name="utf8" c:type="gchar*"/>
942         </return-value>
943       </method>
944       <method name="is_equal"
945               c:identifier="gst_encoding_profile_is_equal"
946               version="0.10.32">
947         <doc xml:whitespace="preserve">Checks whether the two #GstEncodingProfile are equal</doc>
948         <return-value transfer-ownership="none">
949           <doc xml:whitespace="preserve">%TRUE if @a and @b are equal, else %FALSE.</doc>
950           <type name="gboolean" c:type="gboolean"/>
951         </return-value>
952         <parameters>
953           <parameter name="b" transfer-ownership="none">
954             <doc xml:whitespace="preserve">a #GstEncodingProfile</doc>
955             <type name="EncodingProfile" c:type="GstEncodingProfile*"/>
956           </parameter>
957         </parameters>
958       </method>
959       <method name="set_description"
960               c:identifier="gst_encoding_profile_set_description"
961               version="0.10.32">
962         <doc xml:whitespace="preserve">Set @description as the given description for the @profile. A copy of @description will be made
963 internally.</doc>
964         <return-value transfer-ownership="none">
965           <type name="none" c:type="void"/>
966         </return-value>
967         <parameters>
968           <parameter name="description" transfer-ownership="none">
969             <doc xml:whitespace="preserve">the description to set on the profile</doc>
970             <type name="utf8" c:type="gchar*"/>
971           </parameter>
972         </parameters>
973       </method>
974       <method name="set_format"
975               c:identifier="gst_encoding_profile_set_format"
976               version="0.10.32">
977         <doc xml:whitespace="preserve">Sets the media format used in the profile.</doc>
978         <return-value transfer-ownership="none">
979           <type name="none" c:type="void"/>
980         </return-value>
981         <parameters>
982           <parameter name="format" transfer-ownership="none">
983             <doc xml:whitespace="preserve">the media format to use in the profile.</doc>
984             <type name="Gst.Caps" c:type="GstCaps*"/>
985           </parameter>
986         </parameters>
987       </method>
988       <method name="set_name"
989               c:identifier="gst_encoding_profile_set_name"
990               version="0.10.32">
991         <doc xml:whitespace="preserve">Set @name as the given name for the @profile. A copy of @name will be made
992 internally.</doc>
993         <return-value transfer-ownership="none">
994           <type name="none" c:type="void"/>
995         </return-value>
996         <parameters>
997           <parameter name="name" transfer-ownership="none">
998             <doc xml:whitespace="preserve">the name to set on the profile</doc>
999             <type name="utf8" c:type="gchar*"/>
1000           </parameter>
1001         </parameters>
1002       </method>
1003       <method name="set_presence"
1004               c:identifier="gst_encoding_profile_set_presence"
1005               version="0.10.32">
1006         <doc xml:whitespace="preserve">Set the number of time the profile is used in its parent
1007 container profile. If 0, it is not a mandatory stream</doc>
1008         <return-value transfer-ownership="none">
1009           <type name="none" c:type="void"/>
1010         </return-value>
1011         <parameters>
1012           <parameter name="presence" transfer-ownership="none">
1013             <doc xml:whitespace="preserve">the number of time the profile can be used</doc>
1014             <type name="guint" c:type="guint"/>
1015           </parameter>
1016         </parameters>
1017       </method>
1018       <method name="set_preset"
1019               c:identifier="gst_encoding_profile_set_preset"
1020               version="0.10.32">
1021         <doc xml:whitespace="preserve">Sets the preset to use for the profile.</doc>
1022         <return-value transfer-ownership="none">
1023           <type name="none" c:type="void"/>
1024         </return-value>
1025         <parameters>
1026           <parameter name="preset" transfer-ownership="none">
1027             <doc xml:whitespace="preserve">the element preset to use</doc>
1028             <type name="utf8" c:type="gchar*"/>
1029           </parameter>
1030         </parameters>
1031       </method>
1032       <method name="set_restriction"
1033               c:identifier="gst_encoding_profile_set_restriction"
1034               version="0.10.32">
1035         <doc xml:whitespace="preserve">Set the restriction #GstCaps to apply before the encoder
1036 that will be used in the profile. See gst_encoding_profile_set_restriction()
1037 for more about restrictions. Does not apply to #GstEncodingContainerProfile.</doc>
1038         <return-value transfer-ownership="none">
1039           <type name="none" c:type="void"/>
1040         </return-value>
1041         <parameters>
1042           <parameter name="restriction" transfer-ownership="none">
1043             <doc xml:whitespace="preserve">the restriction to apply</doc>
1044             <type name="Gst.Caps" c:type="GstCaps*"/>
1045           </parameter>
1046         </parameters>
1047       </method>
1048     </class>
1049     <class name="EncodingTarget"
1050            c:symbol-prefix="encoding_target"
1051            c:type="GstEncodingTarget"
1052            version="0.10.32"
1053            parent="Gst.MiniObject"
1054            glib:type-name="GstEncodingTarget"
1055            glib:get-type="gst_encoding_target_get_type"
1056            glib:fundamental="1">
1057       <doc xml:whitespace="preserve">Collection of #GstEncodingProfile for a specific target or use-case.
1058 When being stored/loaded, targets come from a specific category, like
1059 #GST_ENCODING_CATEGORY_DEVICE.</doc>
1060       <constructor name="new"
1061                    c:identifier="gst_encoding_target_new"
1062                    version="0.10.32"
1063                    introspectable="0">
1064         <doc xml:whitespace="preserve">Creates a new #GstEncodingTarget.
1065 The name and category can only consist of lowercase ASCII letters for the
1066 first character, followed by either lowercase ASCII letters, digits or
1067 hyphens ('-').
1068 The @category &lt;emphasis&gt;should&lt;/emphasis&gt; be one of the existing
1069 well-defined categories, like #GST_ENCODING_CATEGORY_DEVICE, but it
1070 &lt;emphasis&gt;can&lt;/emphasis&gt; be a application or user specific category if
1071 needed.
1072 there was an error.</doc>
1073         <return-value transfer-ownership="full">
1074           <doc xml:whitespace="preserve">The newly created #GstEncodingTarget or %NULL if</doc>
1075           <type name="EncodingTarget" c:type="GstEncodingTarget*"/>
1076         </return-value>
1077         <parameters>
1078           <parameter name="name" transfer-ownership="none">
1079             <doc xml:whitespace="preserve">The name of the target.</doc>
1080             <type name="utf8" c:type="gchar*"/>
1081           </parameter>
1082           <parameter name="category" transfer-ownership="none">
1083             <doc xml:whitespace="preserve">The name of the category to which this @target belongs. For example: #GST_ENCODING_CATEGORY_DEVICE.</doc>
1084             <type name="utf8" c:type="gchar*"/>
1085           </parameter>
1086           <parameter name="description" transfer-ownership="none">
1087             <doc xml:whitespace="preserve">A description of #GstEncodingTarget in the current locale.</doc>
1088             <type name="utf8" c:type="gchar*"/>
1089           </parameter>
1090           <parameter name="profiles" transfer-ownership="none">
1091             <doc xml:whitespace="preserve">A #GList of #GstEncodingProfile.</doc>
1092             <type name="GLib.List" c:type="GList*">
1093               <type name="Gst.EncodingProfile"/>
1094             </type>
1095           </parameter>
1096         </parameters>
1097       </constructor>
1098       <function name="load"
1099                 c:identifier="gst_encoding_target_load"
1100                 version="0.10.32"
1101                 throws="1">
1102         <doc xml:whitespace="preserve">Searches for the #GstEncodingTarget with the given name, loads it
1103 and returns it.
1104 If the category name is specified only targets from that category will be
1105 searched for.</doc>
1106         <return-value transfer-ownership="full">
1107           <doc xml:whitespace="preserve">The #GstEncodingTarget if available, else %NULL.</doc>
1108           <type name="EncodingTarget" c:type="GstEncodingTarget*"/>
1109         </return-value>
1110         <parameters>
1111           <parameter name="name" transfer-ownership="none">
1112             <doc xml:whitespace="preserve">the name of the #GstEncodingTarget to load.</doc>
1113             <type name="utf8" c:type="gchar*"/>
1114           </parameter>
1115           <parameter name="category" transfer-ownership="none" allow-none="1">
1116             <doc xml:whitespace="preserve">the name of the target category, like #GST_ENCODING_CATEGORY_DEVICE. Can be %NULL</doc>
1117             <type name="utf8" c:type="gchar*"/>
1118           </parameter>
1119         </parameters>
1120       </function>
1121       <function name="load_from_file"
1122                 c:identifier="gst_encoding_target_load_from_file"
1123                 version="0.10.32"
1124                 throws="1">
1125         <doc xml:whitespace="preserve">Opens the provided file and returns the contained #GstEncodingTarget.
1126 %NULL</doc>
1127         <return-value transfer-ownership="full">
1128           <doc xml:whitespace="preserve">The #GstEncodingTarget contained in the file, else</doc>
1129           <type name="EncodingTarget" c:type="GstEncodingTarget*"/>
1130         </return-value>
1131         <parameters>
1132           <parameter name="filepath" transfer-ownership="none">
1133             <doc xml:whitespace="preserve">The file location to load the #GstEncodingTarget from</doc>
1134             <type name="utf8" c:type="gchar*"/>
1135           </parameter>
1136         </parameters>
1137       </function>
1138       <method name="add_profile"
1139               c:identifier="gst_encoding_target_add_profile"
1140               version="0.10.32">
1141         <doc xml:whitespace="preserve">Adds the given @profile to the @target. Each added profile must have
1142 a unique name within the profile.
1143 The @target will steal a reference to the @profile. If you wish to use
1144 the profile after calling this method, you should increase its reference
1145 count.</doc>
1146         <return-value transfer-ownership="none">
1147           <doc xml:whitespace="preserve">%TRUE if the profile was added, else %FALSE.</doc>
1148           <type name="gboolean" c:type="gboolean"/>
1149         </return-value>
1150         <parameters>
1151           <parameter name="profile" transfer-ownership="full">
1152             <doc xml:whitespace="preserve">the #GstEncodingProfile to add</doc>
1153             <type name="EncodingProfile" c:type="GstEncodingProfile*"/>
1154           </parameter>
1155         </parameters>
1156       </method>
1157       <method name="get_category"
1158               c:identifier="gst_encoding_target_get_category"
1159               version="0.10.32">
1160         <doc xml:whitespace="preserve">#GST_ENCODING_CATEGORY_DEVICE.</doc>
1161         <return-value transfer-ownership="none">
1162           <doc xml:whitespace="preserve">The category of the @target. For example:</doc>
1163           <type name="utf8" c:type="gchar*"/>
1164         </return-value>
1165       </method>
1166       <method name="get_description"
1167               c:identifier="gst_encoding_target_get_description"
1168               version="0.10.32">
1169         <return-value transfer-ownership="none">
1170           <doc xml:whitespace="preserve">The description of the @target.</doc>
1171           <type name="utf8" c:type="gchar*"/>
1172         </return-value>
1173       </method>
1174       <method name="get_name"
1175               c:identifier="gst_encoding_target_get_name"
1176               version="0.10.32">
1177         <return-value transfer-ownership="none">
1178           <doc xml:whitespace="preserve">The name of the @target.</doc>
1179           <type name="utf8" c:type="gchar*"/>
1180         </return-value>
1181       </method>
1182       <method name="get_profile"
1183               c:identifier="gst_encoding_target_get_profile"
1184               version="0.10.32">
1185         <return-value transfer-ownership="full">
1186           <doc xml:whitespace="preserve">The matching #GstEncodingProfile, or %NULL.</doc>
1187           <type name="EncodingProfile" c:type="GstEncodingProfile*"/>
1188         </return-value>
1189         <parameters>
1190           <parameter name="name" transfer-ownership="none">
1191             <doc xml:whitespace="preserve">the name of the profile to retrieve</doc>
1192             <type name="utf8" c:type="gchar*"/>
1193           </parameter>
1194         </parameters>
1195       </method>
1196       <method name="get_profiles"
1197               c:identifier="gst_encoding_target_get_profiles"
1198               version="0.10.32"
1199               introspectable="0">
1200         <doc xml:whitespace="preserve">#GstEncodingProfile(s) this @target handles.</doc>
1201         <return-value transfer-ownership="none">
1202           <doc xml:whitespace="preserve">A list of</doc>
1203           <type name="GLib.List" c:type="GList*">
1204             <type name="Gst.EncodingProfile"/>
1205           </type>
1206         </return-value>
1207       </method>
1208       <method name="save"
1209               c:identifier="gst_encoding_target_save"
1210               version="0.10.32"
1211               throws="1">
1212         <doc xml:whitespace="preserve">Saves the @target to a default user-local directory.</doc>
1213         <return-value transfer-ownership="none">
1214           <doc xml:whitespace="preserve">%TRUE if the target was correctly saved, else %FALSE.</doc>
1215           <type name="gboolean" c:type="gboolean"/>
1216         </return-value>
1217       </method>
1218       <method name="save_to_file"
1219               c:identifier="gst_encoding_target_save_to_file"
1220               version="0.10.32"
1221               throws="1">
1222         <doc xml:whitespace="preserve">Saves the @target to the provided file location.</doc>
1223         <return-value transfer-ownership="none">
1224           <doc xml:whitespace="preserve">%TRUE if the target was correctly saved, else %FALSE.</doc>
1225           <type name="gboolean" c:type="gboolean"/>
1226         </return-value>
1227         <parameters>
1228           <parameter name="filepath" transfer-ownership="none">
1229             <doc xml:whitespace="preserve">the location to store the @target at.</doc>
1230             <type name="utf8" c:type="gchar*"/>
1231           </parameter>
1232         </parameters>
1233       </method>
1234     </class>
1235     <class name="EncodingVideoProfile"
1236            c:symbol-prefix="encoding_video_profile"
1237            c:type="GstEncodingVideoProfile"
1238            version="0.10.32"
1239            parent="EncodingProfile"
1240            glib:type-name="GstEncodingVideoProfile"
1241            glib:get-type="gst_encoding_video_profile_get_type"
1242            glib:fundamental="1">
1243       <doc xml:whitespace="preserve">Variant of #GstEncodingProfile for video streams, allows specifying the @pass.</doc>
1244       <constructor name="new"
1245                    c:identifier="gst_encoding_video_profile_new"
1246                    version="0.10.32">
1247         <doc xml:whitespace="preserve">Creates a new #GstEncodingVideoProfile
1248 All provided allocatable arguments will be internally copied, so can be
1249 safely freed/unreferenced after calling this method.
1250 If you wish to control the pass number (in case of multi-pass scenarios),
1251 please refer to the gst_encoding_video_profile_set_pass() documentation.
1252 If you wish to use/force a constant framerate please refer to the
1253 gst_encoding_video_profile_set_variableframerate() documentation.</doc>
1254         <return-value transfer-ownership="full">
1255           <doc xml:whitespace="preserve">the newly created #GstEncodingVideoProfile.</doc>
1256           <type name="EncodingVideoProfile" c:type="GstEncodingVideoProfile*"/>
1257         </return-value>
1258         <parameters>
1259           <parameter name="format" transfer-ownership="none">
1260             <doc xml:whitespace="preserve">the #GstCaps</doc>
1261             <type name="Gst.Caps" c:type="GstCaps*"/>
1262           </parameter>
1263           <parameter name="preset" transfer-ownership="none">
1264             <doc xml:whitespace="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
1265             <type name="utf8" c:type="gchar*"/>
1266           </parameter>
1267           <parameter name="restriction" transfer-ownership="none">
1268             <doc xml:whitespace="preserve">the #GstCaps used to restrict the input to the encoder, can be NULL. See gst_encoding_profile_get_restriction() for more details.</doc>
1269             <type name="Gst.Caps" c:type="GstCaps*"/>
1270           </parameter>
1271           <parameter name="presence" transfer-ownership="none">
1272             <doc xml:whitespace="preserve">the number of time this stream must be used. 0 means any number of times (including never)</doc>
1273             <type name="guint" c:type="guint"/>
1274           </parameter>
1275         </parameters>
1276       </constructor>
1277       <method name="get_pass"
1278               c:identifier="gst_encoding_video_profile_get_pass"
1279               version="0.10.32">
1280         <doc xml:whitespace="preserve">1 for multi-pass. 0 if this is not a multi-pass profile</doc>
1281         <return-value transfer-ownership="none">
1282           <doc xml:whitespace="preserve">The pass number if this is part of a multi-pass profile. Starts at</doc>
1283           <type name="guint" c:type="guint"/>
1284         </return-value>
1285       </method>
1286       <method name="get_variableframerate"
1287               c:identifier="gst_encoding_video_profile_get_variableframerate"
1288               version="0.10.32">
1289         <return-value transfer-ownership="none">
1290           <doc xml:whitespace="preserve">Whether non-constant video framerate is allowed for encoding.</doc>
1291           <type name="gboolean" c:type="gboolean"/>
1292         </return-value>
1293       </method>
1294       <method name="set_pass"
1295               c:identifier="gst_encoding_video_profile_set_pass"
1296               version="0.10.32">
1297         <doc xml:whitespace="preserve">Sets the pass number of this video profile. The first pass profile should have
1298 this value set to 1. If this video profile isn't part of a multi-pass profile,
1299 you may set it to 0 (the default value).</doc>
1300         <return-value transfer-ownership="none">
1301           <type name="none" c:type="void"/>
1302         </return-value>
1303         <parameters>
1304           <parameter name="pass" transfer-ownership="none">
1305             <doc xml:whitespace="preserve">the pass number for this profile</doc>
1306             <type name="guint" c:type="guint"/>
1307           </parameter>
1308         </parameters>
1309       </method>
1310       <method name="set_variableframerate"
1311               c:identifier="gst_encoding_video_profile_set_variableframerate"
1312               version="0.10.32">
1313         <doc xml:whitespace="preserve">If set to %TRUE, then the incoming streamm will be allowed to have non-constant
1314 framerate. If set to %FALSE (default value), then the incoming stream will
1315 be normalized by dropping/duplicating frames in order to produce a
1316 constance framerate.</doc>
1317         <return-value transfer-ownership="none">
1318           <type name="none" c:type="void"/>
1319         </return-value>
1320         <parameters>
1321           <parameter name="variableframerate" transfer-ownership="none">
1322             <doc xml:whitespace="preserve">a boolean</doc>
1323             <type name="gboolean" c:type="gboolean"/>
1324           </parameter>
1325         </parameters>
1326       </method>
1327     </class>
1328     <record name="InstallPluginsContext"
1329             c:type="GstInstallPluginsContext"
1330             version="0.10.12"
1331             glib:type-name="GstInstallPluginsContext"
1332             glib:get-type="gst_install_plugins_context_get_type"
1333             c:symbol-prefix="install_plugins_context">
1334       <doc xml:whitespace="preserve">Opaque context structure for the plugin installation. Use the provided
1335 API to set details on it.</doc>
1336       <constructor name="new"
1337                    c:identifier="gst_install_plugins_context_new"
1338                    version="0.10.12">
1339         <doc xml:whitespace="preserve">Creates a new #GstInstallPluginsContext.
1340 gst_install_plugins_context_free() when no longer needed</doc>
1341         <return-value transfer-ownership="full">
1342           <doc xml:whitespace="preserve">a new #GstInstallPluginsContext. Free with</doc>
1343           <type name="InstallPluginsContext"
1344                 c:type="GstInstallPluginsContext*"/>
1345         </return-value>
1346       </constructor>
1347       <method name="free"
1348               c:identifier="gst_install_plugins_context_free"
1349               version="0.10.12">
1350         <doc xml:whitespace="preserve">Frees a #GstInstallPluginsContext.</doc>
1351         <return-value transfer-ownership="none">
1352           <type name="none" c:type="void"/>
1353         </return-value>
1354       </method>
1355       <method name="set_xid"
1356               c:identifier="gst_install_plugins_context_set_xid"
1357               version="0.10.12">
1358         <doc xml:whitespace="preserve">This function is for X11-based applications (such as most Gtk/Qt
1359 applications on linux/unix) only. You can use it to tell the external
1360 installer the XID of your main application window. That way the installer
1361 can make its own window transient to your application window during the
1362 installation.
1363 If set, the XID will be passed to the installer via a --transient-for=XID
1364 command line option.
1365 Gtk+/Gnome application should be able to obtain the XID of the top-level
1366 window like this:
1367 &lt;programlisting&gt;
1368 ##include &amp;lt;gtk/gtk.h&amp;gt;
1369 ##ifdef GDK_WINDOWING_X11
1370 ##include &amp;lt;gdk/gdkx.h&amp;gt;
1371 ##endif
1372 ...
1373 ##ifdef GDK_WINDOWING_X11
1374 xid = GDK_WINDOW_XWINDOW (GTK_WIDGET (application_window)-&amp;gt;window);
1375 ##endif
1376 ...
1377 &lt;/programlisting&gt;</doc>
1378         <return-value transfer-ownership="none">
1379           <type name="none" c:type="void"/>
1380         </return-value>
1381         <parameters>
1382           <parameter name="xid" transfer-ownership="none">
1383             <doc xml:whitespace="preserve">the XWindow ID (XID) of the top-level application</doc>
1384             <type name="guint" c:type="guint"/>
1385           </parameter>
1386         </parameters>
1387       </method>
1388     </record>
1389     <callback name="InstallPluginsResultFunc"
1390               c:type="GstInstallPluginsResultFunc"
1391               version="0.10.12">
1392       <doc xml:whitespace="preserve">The prototype of the callback function that will be called once the
1393 external plugin installer program has returned. You only need to provide
1394 a callback function if you are using the asynchronous interface.</doc>
1395       <return-value transfer-ownership="none">
1396         <type name="none" c:type="void"/>
1397       </return-value>
1398       <parameters>
1399         <parameter name="result" transfer-ownership="none">
1400           <doc xml:whitespace="preserve">whether the installation of the requested plugins succeeded or not</doc>
1401           <type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
1402         </parameter>
1403         <parameter name="user_data" transfer-ownership="none" closure="1">
1404           <doc xml:whitespace="preserve">the user data passed to gst_install_plugins_async()</doc>
1405           <type name="gpointer" c:type="gpointer"/>
1406         </parameter>
1407       </parameters>
1408     </callback>
1409     <enumeration name="InstallPluginsReturn"
1410                  version="0.10.12"
1411                  glib:type-name="GstInstallPluginsReturn"
1412                  glib:get-type="gst_install_plugins_return_get_type"
1413                  c:type="GstInstallPluginsReturn">
1414       <doc xml:whitespace="preserve">Result codes returned by gst_install_plugins_async() and
1415 gst_install_plugins_sync(), and also the result code passed to the
1416 #GstInstallPluginsResultFunc specified with gst_install_plugin_async().
1417 These codes indicate success or failure of starting an external installer
1418 program and to what extent the requested plugins could be installed.</doc>
1419       <member name="success"
1420               value="0"
1421               c:identifier="GST_INSTALL_PLUGINS_SUCCESS"
1422               glib:nick="success"/>
1423       <member name="not_found"
1424               value="1"
1425               c:identifier="GST_INSTALL_PLUGINS_NOT_FOUND"
1426               glib:nick="not-found"/>
1427       <member name="error"
1428               value="2"
1429               c:identifier="GST_INSTALL_PLUGINS_ERROR"
1430               glib:nick="error"/>
1431       <member name="partial_success"
1432               value="3"
1433               c:identifier="GST_INSTALL_PLUGINS_PARTIAL_SUCCESS"
1434               glib:nick="partial-success"/>
1435       <member name="user_abort"
1436               value="4"
1437               c:identifier="GST_INSTALL_PLUGINS_USER_ABORT"
1438               glib:nick="user-abort"/>
1439       <member name="crashed"
1440               value="100"
1441               c:identifier="GST_INSTALL_PLUGINS_CRASHED"
1442               glib:nick="crashed"/>
1443       <member name="invalid"
1444               value="101"
1445               c:identifier="GST_INSTALL_PLUGINS_INVALID"
1446               glib:nick="invalid"/>
1447       <member name="started_ok"
1448               value="200"
1449               c:identifier="GST_INSTALL_PLUGINS_STARTED_OK"
1450               glib:nick="started-ok"/>
1451       <member name="internal_failure"
1452               value="201"
1453               c:identifier="GST_INSTALL_PLUGINS_INTERNAL_FAILURE"
1454               glib:nick="internal-failure"/>
1455       <member name="helper_missing"
1456               value="202"
1457               c:identifier="GST_INSTALL_PLUGINS_HELPER_MISSING"
1458               glib:nick="helper-missing"/>
1459       <member name="install_in_progress"
1460               value="203"
1461               c:identifier="GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS"
1462               glib:nick="install-in-progress"/>
1463     </enumeration>
1464     <constant name="PLUGINS_BASE_VERSION_MAJOR" value="0">
1465       <type name="gint" c:type="gint"/>
1466     </constant>
1467     <constant name="PLUGINS_BASE_VERSION_MICRO" value="32">
1468       <type name="gint" c:type="gint"/>
1469     </constant>
1470     <constant name="PLUGINS_BASE_VERSION_MINOR" value="10">
1471       <type name="gint" c:type="gint"/>
1472     </constant>
1473     <constant name="PLUGINS_BASE_VERSION_NANO" value="0">
1474       <type name="gint" c:type="gint"/>
1475     </constant>
1476     <function name="codec_utils_aac_caps_set_level_and_profile"
1477               c:identifier="gst_codec_utils_aac_caps_set_level_and_profile"
1478               version="0.10.31">
1479       <doc xml:whitespace="preserve">Sets the level and profile on @caps if it can be determined from
1480 gst_codec_utils_aac_get_profile() for more details on the parameters.
1481 If mpegversion is 4, the "base-profile" field is also set in @caps.</doc>
1482       <return-value transfer-ownership="none">
1483         <doc xml:whitespace="preserve">%TRUE if the level and profile could be set, %FALSE otherwise.</doc>
1484         <type name="gboolean" c:type="gboolean"/>
1485       </return-value>
1486       <parameters>
1487         <parameter name="caps" transfer-ownership="none">
1488           <doc xml:whitespace="preserve">the #GstCaps to which level and profile fields are to be added</doc>
1489           <type name="Gst.Caps" c:type="GstCaps*"/>
1490         </parameter>
1491         <parameter name="audio_config" transfer-ownership="none">
1492           <doc xml:whitespace="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1 (see below for a more details).</doc>
1493           <type name="guint8" c:type="guint8*"/>
1494         </parameter>
1495         <parameter name="len" transfer-ownership="none">
1496           <doc xml:whitespace="preserve">Length of @audio_config in bytes</doc>
1497           <type name="guint" c:type="guint"/>
1498         </parameter>
1499       </parameters>
1500     </function>
1501     <function name="codec_utils_aac_get_level"
1502               c:identifier="gst_codec_utils_aac_get_level"
1503               version="0.10.31">
1504       <doc xml:whitespace="preserve">Determines the level of a stream as defined in ISO/IEC 14496-3. For AAC LC
1505 streams, the constraints from the AAC audio profile are applied. For AAC
1506 Main, LTP, SSR and others, the Main profile is used.
1507 The @audio_config parameter follows the following format, starting from the
1508 most significant bit of the first byte:
1509 &lt;itemizedlist&gt;
1510 &lt;listitem&gt;&lt;para&gt;
1511 Bit 0:4 contains the AudioObjectType
1512 &lt;/para&gt;&lt;/listitem&gt;
1513 &lt;listitem&gt;&lt;para&gt;
1514 Bit 5:8 contains the sample frequency index (if this is 0xf, then the
1515 next 24 bits define the actual sample frequency, and subsequent
1516 fields are appropriately shifted).
1517 &lt;/para&gt;&lt;/listitem&gt;
1518 &lt;listitem&gt;&lt;para&gt;
1519 Bit 9:12 contains the channel configuration
1520 &lt;/para&gt;&lt;/listitem&gt;
1521 &lt;/itemizedlist&gt;
1522 &lt;note&gt;
1523 HE-AAC support has not yet been implemented.
1524 &lt;/note&gt;
1525 determined.</doc>
1526       <return-value transfer-ownership="none">
1527         <doc xml:whitespace="preserve">The level as a const string and %NULL if the level could not be</doc>
1528         <type name="utf8" c:type="gchar*"/>
1529       </return-value>
1530       <parameters>
1531         <parameter name="audio_config" transfer-ownership="none">
1532           <doc xml:whitespace="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc>
1533           <type name="guint8" c:type="guint8*"/>
1534         </parameter>
1535         <parameter name="len" transfer-ownership="none">
1536           <doc xml:whitespace="preserve">Length of @audio_config in bytes</doc>
1537           <type name="guint" c:type="guint"/>
1538         </parameter>
1539       </parameters>
1540     </function>
1541     <function name="codec_utils_aac_get_profile"
1542               c:identifier="gst_codec_utils_aac_get_profile"
1543               version="0.10.31">
1544       <doc xml:whitespace="preserve">Returns the profile of the given AAC stream as a string. The profile is
1545 determined using the AudioObjectType field which is in the first 5 bits of
1546 &lt;note&gt;
1547 HE-AAC support has not yet been implemented.
1548 &lt;/note&gt;
1549 determined.</doc>
1550       <return-value transfer-ownership="none">
1551         <doc xml:whitespace="preserve">The profile as a const string and %NULL if the profile could not be</doc>
1552         <type name="utf8" c:type="gchar*"/>
1553       </return-value>
1554       <parameters>
1555         <parameter name="audio_config" transfer-ownership="none">
1556           <doc xml:whitespace="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1 (see gst_codec_utils_aac_get_level() for a more details).</doc>
1557           <type name="guint8" c:type="guint8*"/>
1558         </parameter>
1559         <parameter name="len" transfer-ownership="none">
1560           <doc xml:whitespace="preserve">Length of @audio_config in bytes</doc>
1561           <type name="guint" c:type="guint"/>
1562         </parameter>
1563       </parameters>
1564     </function>
1565     <function name="codec_utils_aac_get_sample_rate_from_index"
1566               c:identifier="gst_codec_utils_aac_get_sample_rate_from_index"
1567               version="0.10.31">
1568       <doc xml:whitespace="preserve">Translates the sample rate index found in AAC headers to the actual sample
1569 rate.</doc>
1570       <return-value transfer-ownership="none">
1571         <doc xml:whitespace="preserve">The sample rate if @sr_idx is valid, 0 otherwise.</doc>
1572         <type name="guint" c:type="guint"/>
1573       </return-value>
1574       <parameters>
1575         <parameter name="sr_idx" transfer-ownership="none">
1576           <doc xml:whitespace="preserve">Sample rate index as from the AudioSpecificConfig (MPEG-4 container) or ADTS frame header</doc>
1577           <type name="guint" c:type="guint"/>
1578         </parameter>
1579       </parameters>
1580     </function>
1581     <function name="codec_utils_h264_caps_set_level_and_profile"
1582               c:identifier="gst_codec_utils_h264_caps_set_level_and_profile"
1583               version="0.10.31">
1584       <doc xml:whitespace="preserve">Sets the level and profile in @caps if it can be determined from @sps. See
1585 gst_codec_utils_h264_get_level() and gst_codec_utils_h264_get_profile()
1586 for more details on the parameters.</doc>
1587       <return-value transfer-ownership="none">
1588         <doc xml:whitespace="preserve">%TRUE if the level and profile could be set, %FALSE otherwise.</doc>
1589         <type name="gboolean" c:type="gboolean"/>
1590       </return-value>
1591       <parameters>
1592         <parameter name="caps" transfer-ownership="none">
1593           <doc xml:whitespace="preserve">the #GstCaps to which the level and profile are to be added</doc>
1594           <type name="Gst.Caps" c:type="GstCaps*"/>
1595         </parameter>
1596         <parameter name="sps" transfer-ownership="none">
1597           <doc xml:whitespace="preserve">Pointer to the sequence parameter set for the stream.</doc>
1598           <type name="guint8" c:type="guint8*"/>
1599         </parameter>
1600         <parameter name="len" transfer-ownership="none">
1601           <doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
1602           <type name="guint" c:type="guint"/>
1603         </parameter>
1604       </parameters>
1605     </function>
1606     <function name="codec_utils_h264_get_level"
1607               c:identifier="gst_codec_utils_h264_get_level"
1608               version="0.10.31">
1609       <doc xml:whitespace="preserve">Converts the level indication (level_idc) in the stream's
1610 sequence parameter set into a string. The SPS is expected to have the
1611 same format as for gst_codec_utils_h264_get_profile().</doc>
1612       <return-value transfer-ownership="none">
1613         <doc xml:whitespace="preserve">The level as a const string, or %NULL if there is an error.</doc>
1614         <type name="utf8" c:type="gchar*"/>
1615       </return-value>
1616       <parameters>
1617         <parameter name="sps" transfer-ownership="none">
1618           <doc xml:whitespace="preserve">Pointer to the sequence parameter set for the stream.</doc>
1619           <type name="guint8" c:type="guint8*"/>
1620         </parameter>
1621         <parameter name="len" transfer-ownership="none">
1622           <doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
1623           <type name="guint" c:type="guint"/>
1624         </parameter>
1625       </parameters>
1626     </function>
1627     <function name="codec_utils_h264_get_profile"
1628               c:identifier="gst_codec_utils_h264_get_profile"
1629               version="0.10.31">
1630       <doc xml:whitespace="preserve">Converts the profile indication (profile_idc) in the stream's
1631 sequence parameter set into a string. The SPS is expected to have the
1632 following format, as defined in the H.264 specification. The SPS is viewed
1633 as a bitstream here, with bit 0 being the most significant bit of the first
1634 byte.
1635 &lt;itemizedlist&gt;
1636 &lt;listitem&gt;&lt;para&gt;Bit 0:7   - Profile indication&lt;/para&gt;&lt;/listitem&gt;
1637 &lt;listitem&gt;&lt;para&gt;Bit 8     - constraint_set0_flag&lt;/para&gt;&lt;/listitem&gt;
1638 &lt;listitem&gt;&lt;para&gt;Bit 9     - constraint_set1_flag&lt;/para&gt;&lt;/listitem&gt;
1639 &lt;listitem&gt;&lt;para&gt;Bit 10    - constraint_set2_flag&lt;/para&gt;&lt;/listitem&gt;
1640 &lt;listitem&gt;&lt;para&gt;Bit 11    - constraint_set3_flag&lt;/para&gt;&lt;/listitem&gt;
1641 &lt;listitem&gt;&lt;para&gt;Bit 12    - constraint_set3_flag&lt;/para&gt;&lt;/listitem&gt;
1642 &lt;listitem&gt;&lt;para&gt;Bit 13:15 - Reserved&lt;/para&gt;&lt;/listitem&gt;
1643 &lt;listitem&gt;&lt;para&gt;Bit 16:24 - Level indication&lt;/para&gt;&lt;/listitem&gt;
1644 &lt;/itemizedlist&gt;</doc>
1645       <return-value transfer-ownership="none">
1646         <doc xml:whitespace="preserve">The profile as a const string, or %NULL if there is an error.</doc>
1647         <type name="utf8" c:type="gchar*"/>
1648       </return-value>
1649       <parameters>
1650         <parameter name="sps" transfer-ownership="none">
1651           <doc xml:whitespace="preserve">Pointer to the sequence parameter set for the stream.</doc>
1652           <type name="guint8" c:type="guint8*"/>
1653         </parameter>
1654         <parameter name="len" transfer-ownership="none">
1655           <doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
1656           <type name="guint" c:type="guint"/>
1657         </parameter>
1658       </parameters>
1659     </function>
1660     <function name="codec_utils_mpeg4video_caps_set_level_and_profile"
1661               c:identifier="gst_codec_utils_mpeg4video_caps_set_level_and_profile"
1662               version="0.10.31">
1663       <doc xml:whitespace="preserve">Sets the level and profile in @caps if it can be determined from
1664 gst_codec_utils_mpeg4video_get_profile() for more details on the
1665 parameters.</doc>
1666       <return-value transfer-ownership="none">
1667         <doc xml:whitespace="preserve">%TRUE if the level and profile could be set, %FALSE otherwise.</doc>
1668         <type name="gboolean" c:type="gboolean"/>
1669       </return-value>
1670       <parameters>
1671         <parameter name="caps" transfer-ownership="none">
1672           <doc xml:whitespace="preserve">the #GstCaps to which the level and profile are to be added</doc>
1673           <type name="Gst.Caps" c:type="GstCaps*"/>
1674         </parameter>
1675         <parameter name="vis_obj_seq" transfer-ownership="none">
1676           <doc xml:whitespace="preserve">Pointer to the visual object sequence for the stream.</doc>
1677           <type name="guint8" c:type="guint8*"/>
1678         </parameter>
1679         <parameter name="len" transfer-ownership="none">
1680           <doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
1681           <type name="guint" c:type="guint"/>
1682         </parameter>
1683       </parameters>
1684     </function>
1685     <function name="codec_utils_mpeg4video_get_level"
1686               c:identifier="gst_codec_utils_mpeg4video_get_level"
1687               version="0.10.31">
1688       <doc xml:whitespace="preserve">Converts the level indication in the stream's visual object sequence into
1689 a string. @vis_obj_seq is expected to be the data following the visual
1690 object sequence start code. Only the first byte
1691 (profile_and_level_indication) is used.</doc>
1692       <return-value transfer-ownership="none">
1693         <doc xml:whitespace="preserve">The level as a const string, or NULL if there is an error.</doc>
1694         <type name="utf8" c:type="gchar*"/>
1695       </return-value>
1696       <parameters>
1697         <parameter name="vis_obj_seq" transfer-ownership="none">
1698           <doc xml:whitespace="preserve">Pointer to the visual object sequence for the stream.</doc>
1699           <type name="guint8" c:type="guint8*"/>
1700         </parameter>
1701         <parameter name="len" transfer-ownership="none">
1702           <doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
1703           <type name="guint" c:type="guint"/>
1704         </parameter>
1705       </parameters>
1706     </function>
1707     <function name="codec_utils_mpeg4video_get_profile"
1708               c:identifier="gst_codec_utils_mpeg4video_get_profile"
1709               version="0.10.31">
1710       <doc xml:whitespace="preserve">Converts the profile indication in the stream's visual object sequence into
1711 a string. @vis_obj_seq is expected to be the data following the visual
1712 object sequence start code. Only the first byte
1713 (profile_and_level_indication) is used.</doc>
1714       <return-value transfer-ownership="none">
1715         <doc xml:whitespace="preserve">The profile as a const string, or NULL if there is an error.</doc>
1716         <type name="utf8" c:type="gchar*"/>
1717       </return-value>
1718       <parameters>
1719         <parameter name="vis_obj_seq" transfer-ownership="none">
1720           <doc xml:whitespace="preserve">Pointer to the visual object sequence for the stream.</doc>
1721           <type name="guint8" c:type="guint8*"/>
1722         </parameter>
1723         <parameter name="len" transfer-ownership="none">
1724           <doc xml:whitespace="preserve">Length of the data available in @sps.</doc>
1725           <type name="guint" c:type="guint"/>
1726         </parameter>
1727       </parameters>
1728     </function>
1729     <function name="encoding_list_all_targets"
1730               c:identifier="gst_encoding_list_all_targets"
1731               version="0.10.32">
1732       <doc xml:whitespace="preserve">List all available #GstEncodingTarget for the specified category, or all categories
1733 if @categoryname is %NULL.</doc>
1734       <return-value transfer-ownership="full">
1735         <doc xml:whitespace="preserve">The list of #GstEncodingTarget</doc>
1736         <type name="GLib.List" c:type="GList*">
1737           <type name="EncodingTarget"/>
1738         </type>
1739       </return-value>
1740       <parameters>
1741         <parameter name="categoryname"
1742                    transfer-ownership="none"
1743                    allow-none="1">
1744           <doc xml:whitespace="preserve">The category, for ex: #GST_ENCODING_CATEGORY_DEVICE. Can be %NULL.</doc>
1745           <type name="utf8" c:type="gchar*"/>
1746         </parameter>
1747       </parameters>
1748     </function>
1749     <function name="encoding_list_available_categories"
1750               c:identifier="gst_encoding_list_available_categories"
1751               version="0.10.32">
1752       <doc xml:whitespace="preserve">Lists all #GstEncodingTarget categories present on disk.
1753 of #GstEncodingTarget categories.</doc>
1754       <return-value transfer-ownership="full">
1755         <doc xml:whitespace="preserve">A list</doc>
1756         <type name="GLib.List" c:type="GList*">
1757           <type name="utf8"/>
1758         </type>
1759       </return-value>
1760     </function>
1761     <function name="install_plugins_async"
1762               c:identifier="gst_install_plugins_async"
1763               version="0.10.12">
1764       <doc xml:whitespace="preserve">Requests plugin installation without blocking. Once the plugins have been
1765 installed or installation has failed, @func will be called with the result
1766 of the installation and your provided @user_data pointer.
1767 This function requires a running GLib/Gtk main loop. If you are not
1768 running a GLib/Gtk main loop, make sure to regularly call
1769 g_main_context_iteration(NULL,FALSE).
1770 The installer strings that make up @detail are typically obtained by
1771 calling gst_missing_plugin_message_get_installer_detail() on missing-plugin
1772 messages that have been caught on a pipeline's bus or created by the
1773 application via the provided API, such as gst_missing_element_message_new().
1774 It is possible to request the installation of multiple missing plugins in
1775 one go (as might be required if there is a demuxer for a certain format
1776 installed but no suitable video decoder and no suitable audio decoder).</doc>
1777       <return-value transfer-ownership="none">
1778         <doc xml:whitespace="preserve">result code whether an external installer could be started</doc>
1779         <type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
1780       </return-value>
1781       <parameters>
1782         <parameter name="details" transfer-ownership="none">
1783           <doc xml:whitespace="preserve">NULL-terminated array of installer string details (see below)</doc>
1784           <type name="utf8" c:type="gchar**"/>
1785         </parameter>
1786         <parameter name="ctx" transfer-ownership="none">
1787           <doc xml:whitespace="preserve">a #GstInstallPluginsContext, or NULL</doc>
1788           <type name="InstallPluginsContext"
1789                 c:type="GstInstallPluginsContext*"/>
1790         </parameter>
1791         <parameter name="func"
1792                    transfer-ownership="none"
1793                    scope="async"
1794                    closure="3">
1795           <doc xml:whitespace="preserve">the function to call when the installer program returns</doc>
1796           <type name="InstallPluginsResultFunc"
1797                 c:type="GstInstallPluginsResultFunc"/>
1798         </parameter>
1799         <parameter name="user_data" transfer-ownership="none">
1800           <doc xml:whitespace="preserve">the user data to pass to @func when called, or NULL</doc>
1801           <type name="gpointer" c:type="gpointer"/>
1802         </parameter>
1803       </parameters>
1804     </function>
1805     <function name="install_plugins_installation_in_progress"
1806               c:identifier="gst_install_plugins_installation_in_progress"
1807               version="0.10.12">
1808       <doc xml:whitespace="preserve">Checks whether plugin installation (initiated by this application only)
1809 is currently in progress.</doc>
1810       <return-value transfer-ownership="none">
1811         <doc xml:whitespace="preserve">TRUE if plugin installation is in progress, otherwise FALSE</doc>
1812         <type name="gboolean" c:type="gboolean"/>
1813       </return-value>
1814     </function>
1815     <function name="install_plugins_return_get_name"
1816               c:identifier="gst_install_plugins_return_get_name"
1817               version="0.10.12">
1818       <doc xml:whitespace="preserve">Convenience function to return the descriptive string associated
1819 with a status code.  This function returns English strings and
1820 should not be used for user messages. It is here only to assist
1821 in debugging.</doc>
1822       <return-value transfer-ownership="none">
1823         <doc xml:whitespace="preserve">a descriptive string for the status code in @ret</doc>
1824         <type name="utf8" c:type="gchar*"/>
1825       </return-value>
1826       <parameters>
1827         <parameter name="ret" transfer-ownership="none">
1828           <doc xml:whitespace="preserve">the return status code</doc>
1829           <type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
1830         </parameter>
1831       </parameters>
1832     </function>
1833     <function name="install_plugins_supported"
1834               c:identifier="gst_install_plugins_supported"
1835               version="0.10.15">
1836       <doc xml:whitespace="preserve">Checks whether plugin installation is likely to be supported by the
1837 current environment. This currently only checks whether the helper script
1838 that is to be provided by the distribution or operating system vendor
1839 exists.</doc>
1840       <return-value transfer-ownership="none">
1841         <doc xml:whitespace="preserve">TRUE if plugin installation is likely to be supported.</doc>
1842         <type name="gboolean" c:type="gboolean"/>
1843       </return-value>
1844     </function>
1845     <function name="install_plugins_sync"
1846               c:identifier="gst_install_plugins_sync"
1847               version="0.10.12">
1848       <doc xml:whitespace="preserve">Requests plugin installation and block until the plugins have been
1849 installed or installation has failed.
1850 This function should almost never be used, it only exists for cases where
1851 a non-GLib main loop is running and the user wants to run it in a separate
1852 thread and marshal the result back asynchronously into the main thread
1853 using the other non-GLib main loop. You should almost always use
1854 gst_install_plugins_async() instead of this function.</doc>
1855       <return-value transfer-ownership="none">
1856         <doc xml:whitespace="preserve">the result of the installation.</doc>
1857         <type name="InstallPluginsReturn" c:type="GstInstallPluginsReturn"/>
1858       </return-value>
1859       <parameters>
1860         <parameter name="details" transfer-ownership="none">
1861           <doc xml:whitespace="preserve">NULL-terminated array of installer string details</doc>
1862           <type name="utf8" c:type="gchar**"/>
1863         </parameter>
1864         <parameter name="ctx" transfer-ownership="none">
1865           <doc xml:whitespace="preserve">a #GstInstallPluginsContext, or NULL</doc>
1866           <type name="InstallPluginsContext"
1867                 c:type="GstInstallPluginsContext*"/>
1868         </parameter>
1869       </parameters>
1870     </function>
1871     <function name="is_missing_plugin_message"
1872               c:identifier="gst_is_missing_plugin_message">
1873       <doc xml:whitespace="preserve">Checks whether @msg is a missing plugins message.</doc>
1874       <return-value transfer-ownership="none">
1875         <doc xml:whitespace="preserve">%TRUE if @msg is a missing-plugins message, otherwise %FALSE.</doc>
1876         <type name="gboolean" c:type="gboolean"/>
1877       </return-value>
1878       <parameters>
1879         <parameter name="msg" transfer-ownership="none">
1880           <doc xml:whitespace="preserve">a #GstMessage</doc>
1881           <type name="Gst.Message" c:type="GstMessage*"/>
1882         </parameter>
1883       </parameters>
1884     </function>
1885     <function name="missing_decoder_installer_detail_new"
1886               c:identifier="gst_missing_decoder_installer_detail_new"
1887               version="0.10.15">
1888       <doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
1889 element to be passed to an external installer called via
1890 gst_install_plugins_async() or gst_install_plugins_sync().
1891 This function is mainly for applications that call external plugin
1892 installation mechanisms using one of the two above-mentioned functions in
1893 the case where the application knows exactly what kind of plugin it is
1894 missing.
1895 with g_free() when not needed any longer.</doc>
1896       <return-value transfer-ownership="full">
1897         <doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
1898         <type name="utf8" c:type="gchar*"/>
1899       </return-value>
1900       <parameters>
1901         <parameter name="decode_caps" transfer-ownership="none">
1902           <doc xml:whitespace="preserve">the (fixed) caps for which a decoder element is needed</doc>
1903           <type name="Gst.Caps" c:type="GstCaps*"/>
1904         </parameter>
1905       </parameters>
1906     </function>
1907     <function name="missing_decoder_message_new"
1908               c:identifier="gst_missing_decoder_message_new">
1909       <doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
1910 that a decoder element for a particular set of (fixed) caps is missing.
1911 This function is mainly for use in plugins.</doc>
1912       <return-value transfer-ownership="full">
1913         <doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
1914         <type name="Gst.Message" c:type="GstMessage*"/>
1915       </return-value>
1916       <parameters>
1917         <parameter name="element" transfer-ownership="none">
1918           <doc xml:whitespace="preserve">the #GstElement posting the message</doc>
1919           <type name="Gst.Element" c:type="GstElement*"/>
1920         </parameter>
1921         <parameter name="decode_caps" transfer-ownership="none">
1922           <doc xml:whitespace="preserve">the (fixed) caps for which a decoder element is needed</doc>
1923           <type name="Gst.Caps" c:type="GstCaps*"/>
1924         </parameter>
1925       </parameters>
1926     </function>
1927     <function name="missing_element_installer_detail_new"
1928               c:identifier="gst_missing_element_installer_detail_new"
1929               version="0.10.15">
1930       <doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
1931 element to be passed to an external installer called via
1932 gst_install_plugins_async() or gst_install_plugins_sync().
1933 This function is mainly for applications that call external plugin
1934 installation mechanisms using one of the two above-mentioned functions in
1935 the case where the application knows exactly what kind of plugin it is
1936 missing.
1937 with g_free() when not needed any longer.</doc>
1938       <return-value transfer-ownership="full">
1939         <doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
1940         <type name="utf8" c:type="gchar*"/>
1941       </return-value>
1942       <parameters>
1943         <parameter name="factory_name" transfer-ownership="none">
1944           <doc xml:whitespace="preserve">the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"</doc>
1945           <type name="utf8" c:type="gchar*"/>
1946         </parameter>
1947       </parameters>
1948     </function>
1949     <function name="missing_element_message_new"
1950               c:identifier="gst_missing_element_message_new">
1951       <doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
1952 that a certain required element is missing. This function is mainly for
1953 use in plugins.</doc>
1954       <return-value transfer-ownership="full">
1955         <doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
1956         <type name="Gst.Message" c:type="GstMessage*"/>
1957       </return-value>
1958       <parameters>
1959         <parameter name="element" transfer-ownership="none">
1960           <doc xml:whitespace="preserve">the #GstElement posting the message</doc>
1961           <type name="Gst.Element" c:type="GstElement*"/>
1962         </parameter>
1963         <parameter name="factory_name" transfer-ownership="none">
1964           <doc xml:whitespace="preserve">the name of the missing element (element factory), e.g. "videoscale" or "cdparanoiasrc"</doc>
1965           <type name="utf8" c:type="gchar*"/>
1966         </parameter>
1967       </parameters>
1968     </function>
1969     <function name="missing_encoder_installer_detail_new"
1970               c:identifier="gst_missing_encoder_installer_detail_new"
1971               version="0.10.15">
1972       <doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
1973 element to be passed to an external installer called via
1974 gst_install_plugins_async() or gst_install_plugins_sync().
1975 This function is mainly for applications that call external plugin
1976 installation mechanisms using one of the two above-mentioned functions in
1977 the case where the application knows exactly what kind of plugin it is
1978 missing.
1979 with g_free() when not needed any longer.</doc>
1980       <return-value transfer-ownership="full">
1981         <doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
1982         <type name="utf8" c:type="gchar*"/>
1983       </return-value>
1984       <parameters>
1985         <parameter name="encode_caps" transfer-ownership="none">
1986           <doc xml:whitespace="preserve">the (fixed) caps for which an encoder element is needed</doc>
1987           <type name="Gst.Caps" c:type="GstCaps*"/>
1988         </parameter>
1989       </parameters>
1990     </function>
1991     <function name="missing_encoder_message_new"
1992               c:identifier="gst_missing_encoder_message_new">
1993       <doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
1994 that an encoder element for a particular set of (fixed) caps is missing.
1995 This function is mainly for use in plugins.</doc>
1996       <return-value transfer-ownership="full">
1997         <doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
1998         <type name="Gst.Message" c:type="GstMessage*"/>
1999       </return-value>
2000       <parameters>
2001         <parameter name="element" transfer-ownership="none">
2002           <doc xml:whitespace="preserve">the #GstElement posting the message</doc>
2003           <type name="Gst.Element" c:type="GstElement*"/>
2004         </parameter>
2005         <parameter name="encode_caps" transfer-ownership="none">
2006           <doc xml:whitespace="preserve">the (fixed) caps for which an encoder element is needed</doc>
2007           <type name="Gst.Caps" c:type="GstCaps*"/>
2008         </parameter>
2009       </parameters>
2010     </function>
2011     <function name="missing_plugin_message_get_description"
2012               c:identifier="gst_missing_plugin_message_get_description">
2013       <doc xml:whitespace="preserve">Returns a localised string describing the missing feature, for use in
2014 error dialogs and the like. Should never return NULL unless @msg is not
2015 a valid missing-plugin message.
2016 This function is mainly for applications that need a human-readable string
2017 describing a missing plugin, given a previously collected missing-plugin
2018 message
2019 string with g_free() when not needed any longer.</doc>
2020       <return-value transfer-ownership="full">
2021         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2022         <type name="utf8" c:type="gchar*"/>
2023       </return-value>
2024       <parameters>
2025         <parameter name="msg" transfer-ownership="none">
2026           <doc xml:whitespace="preserve">a missing-plugin #GstMessage of type #GST_MESSAGE_ELEMENT</doc>
2027           <type name="Gst.Message" c:type="GstMessage*"/>
2028         </parameter>
2029       </parameters>
2030     </function>
2031     <function name="missing_plugin_message_get_installer_detail"
2032               c:identifier="gst_missing_plugin_message_get_installer_detail">
2033       <doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
2034 element to be passed to an external installer called via
2035 gst_install_plugins_async() or gst_install_plugins_sync().
2036 This function is mainly for applications that call external plugin
2037 installation mechanisms using one of the two above-mentioned functions.
2038 with g_free() when not needed any longer.</doc>
2039       <return-value transfer-ownership="full">
2040         <doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
2041         <type name="utf8" c:type="gchar*"/>
2042       </return-value>
2043       <parameters>
2044         <parameter name="msg" transfer-ownership="none">
2045           <doc xml:whitespace="preserve">a missing-plugin #GstMessage of type #GST_MESSAGE_ELEMENT</doc>
2046           <type name="Gst.Message" c:type="GstMessage*"/>
2047         </parameter>
2048       </parameters>
2049     </function>
2050     <function name="missing_uri_sink_installer_detail_new"
2051               c:identifier="gst_missing_uri_sink_installer_detail_new"
2052               version="0.10.15">
2053       <doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
2054 element to be passed to an external installer called via
2055 gst_install_plugins_async() or gst_install_plugins_sync().
2056 This function is mainly for applications that call external plugin
2057 installation mechanisms using one of the two above-mentioned functions in
2058 the case where the application knows exactly what kind of plugin it is
2059 missing.
2060 with g_free() when not needed any longer.</doc>
2061       <return-value transfer-ownership="full">
2062         <doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
2063         <type name="utf8" c:type="gchar*"/>
2064       </return-value>
2065       <parameters>
2066         <parameter name="protocol" transfer-ownership="none">
2067           <doc xml:whitespace="preserve">the URI protocol the missing source needs to implement, e.g. "http" or "mms"</doc>
2068           <type name="utf8" c:type="gchar*"/>
2069         </parameter>
2070       </parameters>
2071     </function>
2072     <function name="missing_uri_sink_message_new"
2073               c:identifier="gst_missing_uri_sink_message_new">
2074       <doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
2075 that a sink element for a particular URI protocol is missing. This
2076 function is mainly for use in plugins.</doc>
2077       <return-value transfer-ownership="full">
2078         <doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
2079         <type name="Gst.Message" c:type="GstMessage*"/>
2080       </return-value>
2081       <parameters>
2082         <parameter name="element" transfer-ownership="none">
2083           <doc xml:whitespace="preserve">the #GstElement posting the message</doc>
2084           <type name="Gst.Element" c:type="GstElement*"/>
2085         </parameter>
2086         <parameter name="protocol" transfer-ownership="none">
2087           <doc xml:whitespace="preserve">the URI protocol the missing sink needs to implement, e.g. "http" or "smb"</doc>
2088           <type name="utf8" c:type="gchar*"/>
2089         </parameter>
2090       </parameters>
2091     </function>
2092     <function name="missing_uri_source_installer_detail_new"
2093               c:identifier="gst_missing_uri_source_installer_detail_new"
2094               version="0.10.15">
2095       <doc xml:whitespace="preserve">Returns an opaque string containing all the details about the missing
2096 element to be passed to an external installer called via
2097 gst_install_plugins_async() or gst_install_plugins_sync().
2098 This function is mainly for applications that call external plugin
2099 installation mechanisms using one of the two above-mentioned functions in
2100 the case where the application knows exactly what kind of plugin it is
2101 missing.
2102 with g_free() when not needed any longer.</doc>
2103       <return-value transfer-ownership="full">
2104         <doc xml:whitespace="preserve">a newly-allocated detail string, or NULL on error. Free string</doc>
2105         <type name="utf8" c:type="gchar*"/>
2106       </return-value>
2107       <parameters>
2108         <parameter name="protocol" transfer-ownership="none">
2109           <doc xml:whitespace="preserve">the URI protocol the missing source needs to implement, e.g. "http" or "mms"</doc>
2110           <type name="utf8" c:type="gchar*"/>
2111         </parameter>
2112       </parameters>
2113     </function>
2114     <function name="missing_uri_source_message_new"
2115               c:identifier="gst_missing_uri_source_message_new">
2116       <doc xml:whitespace="preserve">Creates a missing-plugin message for @element to notify the application
2117 that a source element for a particular URI protocol is missing. This
2118 function is mainly for use in plugins.</doc>
2119       <return-value transfer-ownership="full">
2120         <doc xml:whitespace="preserve">a new #GstMessage, or NULL on error</doc>
2121         <type name="Gst.Message" c:type="GstMessage*"/>
2122       </return-value>
2123       <parameters>
2124         <parameter name="element" transfer-ownership="none">
2125           <doc xml:whitespace="preserve">the #GstElement posting the message</doc>
2126           <type name="Gst.Element" c:type="GstElement*"/>
2127         </parameter>
2128         <parameter name="protocol" transfer-ownership="none">
2129           <doc xml:whitespace="preserve">the URI protocol the missing source needs to implement, e.g. "http" or "mms"</doc>
2130           <type name="utf8" c:type="gchar*"/>
2131         </parameter>
2132       </parameters>
2133     </function>
2134     <function name="pb_utils_add_codec_description_to_tag_list"
2135               c:identifier="gst_pb_utils_add_codec_description_to_tag_list">
2136       <doc xml:whitespace="preserve">Adds a codec tag describing the format specified by @caps to @taglist.</doc>
2137       <return-value transfer-ownership="none">
2138         <doc xml:whitespace="preserve">TRUE if a codec tag was added, FALSE otherwise.</doc>
2139         <type name="gboolean" c:type="gboolean"/>
2140       </return-value>
2141       <parameters>
2142         <parameter name="taglist" transfer-ownership="none">
2143           <doc xml:whitespace="preserve">a #GstTagList</doc>
2144           <type name="Gst.TagList" c:type="GstTagList*"/>
2145         </parameter>
2146         <parameter name="codec_tag" transfer-ownership="none">
2147           <doc xml:whitespace="preserve">a GStreamer codec tag such as #GST_TAG_AUDIO_CODEC, #GST_TAG_VIDEO_CODEC or #GST_TAG_CODEC</doc>
2148           <type name="utf8" c:type="gchar*"/>
2149         </parameter>
2150         <parameter name="caps" transfer-ownership="none">
2151           <doc xml:whitespace="preserve">the (fixed) #GstCaps for which a codec tag should be added.</doc>
2152           <type name="Gst.Caps" c:type="GstCaps*"/>
2153         </parameter>
2154       </parameters>
2155     </function>
2156     <function name="pb_utils_get_codec_description"
2157               c:identifier="gst_pb_utils_get_codec_description">
2158       <doc xml:whitespace="preserve">Returns a localised (as far as this is possible) string describing the
2159 media format specified in @caps, for use in error dialogs or other messages
2160 to be seen by the user. Should never return NULL unless @caps is invalid.
2161 Also see the convenience function
2162 gst_pb_utils_add_codec_description_to_tag_list().
2163 string with g_free() when not needed any longer.</doc>
2164       <return-value transfer-ownership="full">
2165         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2166         <type name="utf8" c:type="gchar*"/>
2167       </return-value>
2168       <parameters>
2169         <parameter name="caps" transfer-ownership="none">
2170           <doc xml:whitespace="preserve">the (fixed) #GstCaps for which an format description is needed</doc>
2171           <type name="Gst.Caps" c:type="GstCaps*"/>
2172         </parameter>
2173       </parameters>
2174     </function>
2175     <function name="pb_utils_get_decoder_description"
2176               c:identifier="gst_pb_utils_get_decoder_description">
2177       <doc xml:whitespace="preserve">Returns a localised string describing an decoder for the format specified
2178 in @caps, for use in error dialogs or other messages to be seen by the user.
2179 Should never return NULL unless @factory_name or @caps are invalid.
2180 This function is mainly for internal use, applications would typically
2181 use gst_missing_plugin_message_get_description() to get a description of
2182 a missing feature from a missing-plugin message.
2183 string with g_free() when not needed any longer.</doc>
2184       <return-value transfer-ownership="full">
2185         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2186         <type name="utf8" c:type="gchar*"/>
2187       </return-value>
2188       <parameters>
2189         <parameter name="caps" transfer-ownership="none">
2190           <doc xml:whitespace="preserve">the (fixed) #GstCaps for which an decoder description is needed</doc>
2191           <type name="Gst.Caps" c:type="GstCaps*"/>
2192         </parameter>
2193       </parameters>
2194     </function>
2195     <function name="pb_utils_get_element_description"
2196               c:identifier="gst_pb_utils_get_element_description">
2197       <doc xml:whitespace="preserve">Returns a localised string describing the given element, for use in
2198 error dialogs or other messages to be seen by the user. Should never
2199 return NULL unless @factory_name is invalid.
2200 This function is mainly for internal use, applications would typically
2201 use gst_missing_plugin_message_get_description() to get a description of
2202 a missing feature from a missing-plugin message.
2203 string with g_free() when not needed any longer.</doc>
2204       <return-value transfer-ownership="full">
2205         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2206         <type name="utf8" c:type="gchar*"/>
2207       </return-value>
2208       <parameters>
2209         <parameter name="factory_name" transfer-ownership="none">
2210           <doc xml:whitespace="preserve">the name of the element, e.g. "gnomevfssrc"</doc>
2211           <type name="utf8" c:type="gchar*"/>
2212         </parameter>
2213       </parameters>
2214     </function>
2215     <function name="pb_utils_get_encoder_description"
2216               c:identifier="gst_pb_utils_get_encoder_description">
2217       <doc xml:whitespace="preserve">Returns a localised string describing an encoder for the format specified
2218 in @caps, for use in error dialogs or other messages to be seen by the user.
2219 Should never return NULL unless @factory_name or @caps are invalid.
2220 This function is mainly for internal use, applications would typically
2221 use gst_missing_plugin_message_get_description() to get a description of
2222 a missing feature from a missing-plugin message.
2223 string with g_free() when not needed any longer.</doc>
2224       <return-value transfer-ownership="full">
2225         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2226         <type name="utf8" c:type="gchar*"/>
2227       </return-value>
2228       <parameters>
2229         <parameter name="caps" transfer-ownership="none">
2230           <doc xml:whitespace="preserve">the (fixed) #GstCaps for which an encoder description is needed</doc>
2231           <type name="Gst.Caps" c:type="GstCaps*"/>
2232         </parameter>
2233       </parameters>
2234     </function>
2235     <function name="pb_utils_get_sink_description"
2236               c:identifier="gst_pb_utils_get_sink_description">
2237       <doc xml:whitespace="preserve">Returns a localised string describing a sink element handling the protocol
2238 specified in @protocol, for use in error dialogs or other messages to be
2239 seen by the user. Should never return NULL unless @protocol is invalid.
2240 This function is mainly for internal use, applications would typically
2241 use gst_missing_plugin_message_get_description() to get a description of
2242 a missing feature from a missing-plugin message.
2243 string with g_free() when not needed any longer.</doc>
2244       <return-value transfer-ownership="full">
2245         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2246         <type name="utf8" c:type="gchar*"/>
2247       </return-value>
2248       <parameters>
2249         <parameter name="protocol" transfer-ownership="none">
2250           <doc xml:whitespace="preserve">the protocol the sink element needs to handle, e.g. "http"</doc>
2251           <type name="utf8" c:type="gchar*"/>
2252         </parameter>
2253       </parameters>
2254     </function>
2255     <function name="pb_utils_get_source_description"
2256               c:identifier="gst_pb_utils_get_source_description">
2257       <doc xml:whitespace="preserve">Returns a localised string describing a source element handling the protocol
2258 specified in @protocol, for use in error dialogs or other messages to be
2259 seen by the user. Should never return NULL unless @protocol is invalid.
2260 This function is mainly for internal use, applications would typically
2261 use gst_missing_plugin_message_get_description() to get a description of
2262 a missing feature from a missing-plugin message.
2263 string with g_free() when not needed any longer.</doc>
2264       <return-value transfer-ownership="full">
2265         <doc xml:whitespace="preserve">a newly-allocated description string, or NULL on error. Free</doc>
2266         <type name="utf8" c:type="gchar*"/>
2267       </return-value>
2268       <parameters>
2269         <parameter name="protocol" transfer-ownership="none">
2270           <doc xml:whitespace="preserve">the protocol the source element needs to handle, e.g. "http"</doc>
2271           <type name="utf8" c:type="gchar*"/>
2272         </parameter>
2273       </parameters>
2274     </function>
2275     <function name="pb_utils_init"
2276               c:identifier="gst_pb_utils_init"
2277               version="0.10.12">
2278       <doc xml:whitespace="preserve">Initialises the base utils support library. This function is not
2279 thread-safe. Applications should call it after calling gst_init(),
2280 plugins should call it from their plugin_init function.
2281 This function may be called multiple times. It will do nothing if the
2282 library has already been initialised.</doc>
2283       <return-value transfer-ownership="none">
2284         <type name="none" c:type="void"/>
2285       </return-value>
2286     </function>
2287     <function name="plugins_base_version"
2288               c:identifier="gst_plugins_base_version"
2289               version="0.10.31">
2290       <doc xml:whitespace="preserve">Gets the version number of the GStreamer Plugins Base libraries.</doc>
2291       <return-value transfer-ownership="none">
2292         <type name="none" c:type="void"/>
2293       </return-value>
2294       <parameters>
2295         <parameter name="major"
2296                    direction="out"
2297                    caller-allocates="0"
2298                    transfer-ownership="full">
2299           <doc xml:whitespace="preserve">pointer to a guint to store the major version number, or %NULL</doc>
2300           <type name="guint" c:type="guint*"/>
2301         </parameter>
2302         <parameter name="minor"
2303                    direction="out"
2304                    caller-allocates="0"
2305                    transfer-ownership="full">
2306           <doc xml:whitespace="preserve">pointer to a guint to store the minor version number, or %NULL</doc>
2307           <type name="guint" c:type="guint*"/>
2308         </parameter>
2309         <parameter name="micro"
2310                    direction="out"
2311                    caller-allocates="0"
2312                    transfer-ownership="full">
2313           <doc xml:whitespace="preserve">pointer to a guint to store the micro version number, or %NULL</doc>
2314           <type name="guint" c:type="guint*"/>
2315         </parameter>
2316         <parameter name="nano"
2317                    direction="out"
2318                    caller-allocates="0"
2319                    transfer-ownership="full">
2320           <doc xml:whitespace="preserve">pointer to a guint to store the nano version number, or %NULL</doc>
2321           <type name="guint" c:type="guint*"/>
2322         </parameter>
2323       </parameters>
2324     </function>
2325     <function name="plugins_base_version_string"
2326               c:identifier="gst_plugins_base_version_string"
2327               version="0.10.31">
2328       <doc xml:whitespace="preserve">This function returns a string that is useful for describing this version
2329 strings, logging, about dialogs ...</doc>
2330       <return-value transfer-ownership="full">
2331         <doc xml:whitespace="preserve">a newly allocated string describing this version of gst-plugins-base</doc>
2332         <type name="utf8" c:type="gchar*"/>
2333       </return-value>
2334     </function>
2335   </namespace>
2336 </repository>