• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>GstDiscoverer: GStreamer Base Plugins 1.0 Library Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gstreamer-base-utils.html" title="Base Utils Library">
9<link rel="prev" href="gst-plugins-base-libs-Install-plugins.html" title="Install-plugins">
10<link rel="next" href="GstEncodingProfile.html" title="GstEncodingProfile">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#GstDiscoverer.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#GstDiscoverer.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#GstDiscoverer.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span21                  <a href="#GstDiscoverer.signals" class="shortcut">Signals</a></span>
22</td>
23<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24<td><a accesskey="u" href="gstreamer-base-utils.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25<td><a accesskey="p" href="gst-plugins-base-libs-Install-plugins.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26<td><a accesskey="n" href="GstEncodingProfile.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27</tr></table>
28<div class="refentry">
29<a name="GstDiscoverer"></a><div class="titlepage"></div>
30<div class="refnamediv"><table width="100%"><tr>
31<td valign="top">
32<h2><span class="refentrytitle"><a name="GstDiscoverer.top_of_page"></a>GstDiscoverer</span></h2>
33<p>GstDiscoverer — Utility for discovering information on URIs.</p>
34</td>
35<td class="gallery_image" valign="top" align="right"></td>
36</tr></table></div>
37<div class="refsect1">
38<a name="GstDiscoverer.functions"></a><h2>Functions</h2>
39<div class="informaltable"><table class="informaltable" width="100%" border="0">
40<colgroup>
41<col width="150px" class="functions_return">
42<col class="functions_name">
43</colgroup>
44<tbody>
45<tr>
46<td class="function_type">
47<a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="returnvalue">GstDiscoverer</span></a> *
48</td>
49<td class="function_name">
50<a class="link" href="GstDiscoverer.html#gst-discoverer-new" title="gst_discoverer_new ()">gst_discoverer_new</a> <span class="c_punctuation">()</span>
51</td>
52</tr>
53<tr>
54<td class="function_type">
55<span class="returnvalue">void</span>
56</td>
57<td class="function_name">
58<a class="link" href="GstDiscoverer.html#gst-discoverer-start" title="gst_discoverer_start ()">gst_discoverer_start</a> <span class="c_punctuation">()</span>
59</td>
60</tr>
61<tr>
62<td class="function_type">
63<span class="returnvalue">void</span>
64</td>
65<td class="function_name">
66<a class="link" href="GstDiscoverer.html#gst-discoverer-stop" title="gst_discoverer_stop ()">gst_discoverer_stop</a> <span class="c_punctuation">()</span>
67</td>
68</tr>
69<tr>
70<td class="function_type">
71<a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="returnvalue">GstDiscovererInfo</span></a> *
72</td>
73<td class="function_name">
74<a class="link" href="GstDiscoverer.html#gst-discoverer-discover-uri" title="gst_discoverer_discover_uri ()">gst_discoverer_discover_uri</a> <span class="c_punctuation">()</span>
75</td>
76</tr>
77<tr>
78<td class="function_type">
79<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
80</td>
81<td class="function_name">
82<a class="link" href="GstDiscoverer.html#gst-discoverer-discover-uri-async" title="gst_discoverer_discover_uri_async ()">gst_discoverer_discover_uri_async</a> <span class="c_punctuation">()</span>
83</td>
84</tr>
85<tr>
86<td class="function_type">
87<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
88</td>
89<td class="function_name">
90<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-duration" title="gst_discoverer_info_get_duration ()">gst_discoverer_info_get_duration</a> <span class="c_punctuation">()</span>
91</td>
92</tr>
93<tr>
94<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
95</td>
96<td class="function_name">
97<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-misc" title="gst_discoverer_info_get_misc ()">gst_discoverer_info_get_misc</a> <span class="c_punctuation">()</span>
98</td>
99</tr>
100<tr>
101<td class="function_type">
102<a class="link" href="GstDiscoverer.html#GstDiscovererResult" title="enum GstDiscovererResult"><span class="returnvalue">GstDiscovererResult</span></a>
103</td>
104<td class="function_name">
105<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-result" title="gst_discoverer_info_get_result ()">gst_discoverer_info_get_result</a> <span class="c_punctuation">()</span>
106</td>
107</tr>
108<tr>
109<td class="function_type">
110<a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="returnvalue">GstDiscovererStreamInfo</span></a> *
111</td>
112<td class="function_name">
113<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-stream-info" title="gst_discoverer_info_get_stream_info ()">gst_discoverer_info_get_stream_info</a> <span class="c_punctuation">()</span>
114</td>
115</tr>
116<tr>
117<td class="function_type">
118<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
119</td>
120<td class="function_name">
121<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-stream-list" title="gst_discoverer_info_get_stream_list ()">gst_discoverer_info_get_stream_list</a> <span class="c_punctuation">()</span>
122</td>
123</tr>
124<tr>
125<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagList.html#GstTagList-struct"><span class="returnvalue">GstTagList</span></a> *
126</td>
127<td class="function_name">
128<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-tags" title="gst_discoverer_info_get_tags ()">gst_discoverer_info_get_tags</a> <span class="c_punctuation">()</span>
129</td>
130</tr>
131<tr>
132<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstToc.html#GstToc-struct"><span class="returnvalue">GstToc</span></a> *
133</td>
134<td class="function_name">
135<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-toc" title="gst_discoverer_info_get_toc ()">gst_discoverer_info_get_toc</a> <span class="c_punctuation">()</span>
136</td>
137</tr>
138<tr>
139<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
140</td>
141<td class="function_name">
142<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-uri" title="gst_discoverer_info_get_uri ()">gst_discoverer_info_get_uri</a> <span class="c_punctuation">()</span>
143</td>
144</tr>
145<tr>
146<td class="function_type">
147<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
148</td>
149<td class="function_name">
150<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-seekable" title="gst_discoverer_info_get_seekable ()">gst_discoverer_info_get_seekable</a> <span class="c_punctuation">()</span>
151</td>
152</tr>
153<tr>
154<td class="function_type">
155<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
156</td>
157<td class="function_name">
158<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-live" title="gst_discoverer_info_get_live ()">gst_discoverer_info_get_live</a> <span class="c_punctuation">()</span>
159</td>
160</tr>
161<tr>
162<td class="define_keyword">#define</td>
163<td class="function_name">
164<a class="link" href="GstDiscoverer.html#gst-discoverer-info-ref" title="gst_discoverer_info_ref()">gst_discoverer_info_ref</a><span class="c_punctuation">()</span>
165</td>
166</tr>
167<tr>
168<td class="define_keyword">#define</td>
169<td class="function_name">
170<a class="link" href="GstDiscoverer.html#gst-discoverer-info-unref" title="gst_discoverer_info_unref()">gst_discoverer_info_unref</a><span class="c_punctuation">()</span>
171</td>
172</tr>
173<tr>
174<td class="function_type">
175<a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
176</td>
177<td class="function_name">
178<a class="link" href="GstDiscoverer.html#gst-discoverer-info-to-variant" title="gst_discoverer_info_to_variant ()">gst_discoverer_info_to_variant</a> <span class="c_punctuation">()</span>
179</td>
180</tr>
181<tr>
182<td class="function_type">
183<a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="returnvalue">GstDiscovererInfo</span></a> *
184</td>
185<td class="function_name">
186<a class="link" href="GstDiscoverer.html#gst-discoverer-info-from-variant" title="gst_discoverer_info_from_variant ()">gst_discoverer_info_from_variant</a> <span class="c_punctuation">()</span>
187</td>
188</tr>
189<tr>
190<td class="function_type">
191<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
192</td>
193<td class="function_name">
194<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-caps" title="gst_discoverer_stream_info_get_caps ()">gst_discoverer_stream_info_get_caps</a> <span class="c_punctuation">()</span>
195</td>
196</tr>
197<tr>
198<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
199</td>
200<td class="function_name">
201<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-misc" title="gst_discoverer_stream_info_get_misc ()">gst_discoverer_stream_info_get_misc</a> <span class="c_punctuation">()</span>
202</td>
203</tr>
204<tr>
205<td class="function_type">
206<a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="returnvalue">GstDiscovererStreamInfo</span></a> *
207</td>
208<td class="function_name">
209<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-next" title="gst_discoverer_stream_info_get_next ()">gst_discoverer_stream_info_get_next</a> <span class="c_punctuation">()</span>
210</td>
211</tr>
212<tr>
213<td class="function_type">
214<a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="returnvalue">GstDiscovererStreamInfo</span></a> *
215</td>
216<td class="function_name">
217<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-previous" title="gst_discoverer_stream_info_get_previous ()">gst_discoverer_stream_info_get_previous</a> <span class="c_punctuation">()</span>
218</td>
219</tr>
220<tr>
221<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagList.html#GstTagList-struct"><span class="returnvalue">GstTagList</span></a> *
222</td>
223<td class="function_name">
224<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-tags" title="gst_discoverer_stream_info_get_tags ()">gst_discoverer_stream_info_get_tags</a> <span class="c_punctuation">()</span>
225</td>
226</tr>
227<tr>
228<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstToc.html#GstToc-struct"><span class="returnvalue">GstToc</span></a> *
229</td>
230<td class="function_name">
231<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-toc" title="gst_discoverer_stream_info_get_toc ()">gst_discoverer_stream_info_get_toc</a> <span class="c_punctuation">()</span>
232</td>
233</tr>
234<tr>
235<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
236</td>
237<td class="function_name">
238<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-stream-id" title="gst_discoverer_stream_info_get_stream_id ()">gst_discoverer_stream_info_get_stream_id</a> <span class="c_punctuation">()</span>
239</td>
240</tr>
241<tr>
242<td class="define_keyword">#define</td>
243<td class="function_name">
244<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-ref" title="gst_discoverer_stream_info_ref()">gst_discoverer_stream_info_ref</a><span class="c_punctuation">()</span>
245</td>
246</tr>
247<tr>
248<td class="define_keyword">#define</td>
249<td class="function_name">
250<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-unref" title="gst_discoverer_stream_info_unref()">gst_discoverer_stream_info_unref</a><span class="c_punctuation">()</span>
251</td>
252</tr>
253<tr>
254<td class="function_type">
255<span class="returnvalue">void</span>
256</td>
257<td class="function_name">
258<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()">gst_discoverer_stream_info_list_free</a> <span class="c_punctuation">()</span>
259</td>
260</tr>
261<tr>
262<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
263</td>
264<td class="function_name">
265<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-stream-type-nick" title="gst_discoverer_stream_info_get_stream_type_nick ()">gst_discoverer_stream_info_get_stream_type_nick</a> <span class="c_punctuation">()</span>
266</td>
267</tr>
268<tr>
269<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
270</td>
271<td class="function_name">
272<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-missing-elements-installer-details" title="gst_discoverer_info_get_missing_elements_installer_details ()">gst_discoverer_info_get_missing_elements_installer_details</a> <span class="c_punctuation">()</span>
273</td>
274</tr>
275<tr>
276<td class="function_type">
277<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
278</td>
279<td class="function_name">
280<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-audio-streams" title="gst_discoverer_info_get_audio_streams ()">gst_discoverer_info_get_audio_streams</a> <span class="c_punctuation">()</span>
281</td>
282</tr>
283<tr>
284<td class="function_type">
285<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
286</td>
287<td class="function_name">
288<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-container-streams" title="gst_discoverer_info_get_container_streams ()">gst_discoverer_info_get_container_streams</a> <span class="c_punctuation">()</span>
289</td>
290</tr>
291<tr>
292<td class="function_type">
293<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
294</td>
295<td class="function_name">
296<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-streams" title="gst_discoverer_info_get_streams ()">gst_discoverer_info_get_streams</a> <span class="c_punctuation">()</span>
297</td>
298</tr>
299<tr>
300<td class="function_type">
301<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
302</td>
303<td class="function_name">
304<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-subtitle-streams" title="gst_discoverer_info_get_subtitle_streams ()">gst_discoverer_info_get_subtitle_streams</a> <span class="c_punctuation">()</span>
305</td>
306</tr>
307<tr>
308<td class="function_type">
309<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
310</td>
311<td class="function_name">
312<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-video-streams" title="gst_discoverer_info_get_video_streams ()">gst_discoverer_info_get_video_streams</a> <span class="c_punctuation">()</span>
313</td>
314</tr>
315<tr>
316<td class="function_type">
317<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
318</td>
319<td class="function_name">
320<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-bitrate" title="gst_discoverer_audio_info_get_bitrate ()">gst_discoverer_audio_info_get_bitrate</a> <span class="c_punctuation">()</span>
321</td>
322</tr>
323<tr>
324<td class="function_type">
325<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
326</td>
327<td class="function_name">
328<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-channels" title="gst_discoverer_audio_info_get_channels ()">gst_discoverer_audio_info_get_channels</a> <span class="c_punctuation">()</span>
329</td>
330</tr>
331<tr>
332<td class="function_type">
333<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
334</td>
335<td class="function_name">
336<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-channel-mask" title="gst_discoverer_audio_info_get_channel_mask ()">gst_discoverer_audio_info_get_channel_mask</a> <span class="c_punctuation">()</span>
337</td>
338</tr>
339<tr>
340<td class="function_type">
341<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
342</td>
343<td class="function_name">
344<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-depth" title="gst_discoverer_audio_info_get_depth ()">gst_discoverer_audio_info_get_depth</a> <span class="c_punctuation">()</span>
345</td>
346</tr>
347<tr>
348<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
349</td>
350<td class="function_name">
351<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-language" title="gst_discoverer_audio_info_get_language ()">gst_discoverer_audio_info_get_language</a> <span class="c_punctuation">()</span>
352</td>
353</tr>
354<tr>
355<td class="function_type">
356<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
357</td>
358<td class="function_name">
359<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-max-bitrate" title="gst_discoverer_audio_info_get_max_bitrate ()">gst_discoverer_audio_info_get_max_bitrate</a> <span class="c_punctuation">()</span>
360</td>
361</tr>
362<tr>
363<td class="function_type">
364<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
365</td>
366<td class="function_name">
367<a class="link" href="GstDiscoverer.html#gst-discoverer-audio-info-get-sample-rate" title="gst_discoverer_audio_info_get_sample_rate ()">gst_discoverer_audio_info_get_sample_rate</a> <span class="c_punctuation">()</span>
368</td>
369</tr>
370<tr>
371<td class="function_type">
372<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
373</td>
374<td class="function_name">
375<a class="link" href="GstDiscoverer.html#gst-discoverer-container-info-get-streams" title="gst_discoverer_container_info_get_streams ()">gst_discoverer_container_info_get_streams</a> <span class="c_punctuation">()</span>
376</td>
377</tr>
378<tr>
379<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
380</td>
381<td class="function_name">
382<a class="link" href="GstDiscoverer.html#gst-discoverer-subtitle-info-get-language" title="gst_discoverer_subtitle_info_get_language ()">gst_discoverer_subtitle_info_get_language</a> <span class="c_punctuation">()</span>
383</td>
384</tr>
385<tr>
386<td class="function_type">
387<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
388</td>
389<td class="function_name">
390<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-bitrate" title="gst_discoverer_video_info_get_bitrate ()">gst_discoverer_video_info_get_bitrate</a> <span class="c_punctuation">()</span>
391</td>
392</tr>
393<tr>
394<td class="function_type">
395<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
396</td>
397<td class="function_name">
398<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-depth" title="gst_discoverer_video_info_get_depth ()">gst_discoverer_video_info_get_depth</a> <span class="c_punctuation">()</span>
399</td>
400</tr>
401<tr>
402<td class="function_type">
403<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
404</td>
405<td class="function_name">
406<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-framerate-denom" title="gst_discoverer_video_info_get_framerate_denom ()">gst_discoverer_video_info_get_framerate_denom</a> <span class="c_punctuation">()</span>
407</td>
408</tr>
409<tr>
410<td class="function_type">
411<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
412</td>
413<td class="function_name">
414<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-framerate-num" title="gst_discoverer_video_info_get_framerate_num ()">gst_discoverer_video_info_get_framerate_num</a> <span class="c_punctuation">()</span>
415</td>
416</tr>
417<tr>
418<td class="function_type">
419<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
420</td>
421<td class="function_name">
422<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-height" title="gst_discoverer_video_info_get_height ()">gst_discoverer_video_info_get_height</a> <span class="c_punctuation">()</span>
423</td>
424</tr>
425<tr>
426<td class="function_type">
427<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
428</td>
429<td class="function_name">
430<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-is-interlaced" title="gst_discoverer_video_info_is_interlaced ()">gst_discoverer_video_info_is_interlaced</a> <span class="c_punctuation">()</span>
431</td>
432</tr>
433<tr>
434<td class="function_type">
435<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
436</td>
437<td class="function_name">
438<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-is-image" title="gst_discoverer_video_info_is_image ()">gst_discoverer_video_info_is_image</a> <span class="c_punctuation">()</span>
439</td>
440</tr>
441<tr>
442<td class="function_type">
443<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
444</td>
445<td class="function_name">
446<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-max-bitrate" title="gst_discoverer_video_info_get_max_bitrate ()">gst_discoverer_video_info_get_max_bitrate</a> <span class="c_punctuation">()</span>
447</td>
448</tr>
449<tr>
450<td class="function_type">
451<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
452</td>
453<td class="function_name">
454<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-par-denom" title="gst_discoverer_video_info_get_par_denom ()">gst_discoverer_video_info_get_par_denom</a> <span class="c_punctuation">()</span>
455</td>
456</tr>
457<tr>
458<td class="function_type">
459<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
460</td>
461<td class="function_name">
462<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-par-num" title="gst_discoverer_video_info_get_par_num ()">gst_discoverer_video_info_get_par_num</a> <span class="c_punctuation">()</span>
463</td>
464</tr>
465<tr>
466<td class="function_type">
467<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
468</td>
469<td class="function_name">
470<a class="link" href="GstDiscoverer.html#gst-discoverer-video-info-get-width" title="gst_discoverer_video_info_get_width ()">gst_discoverer_video_info_get_width</a> <span class="c_punctuation">()</span>
471</td>
472</tr>
473</tbody>
474</table></div>
475</div>
476<div class="refsect1">
477<a name="GstDiscoverer.properties"></a><h2>Properties</h2>
478<div class="informaltable"><table class="informaltable" border="0">
479<colgroup>
480<col width="150px" class="properties_type">
481<col width="300px" class="properties_name">
482<col width="200px" class="properties_flags">
483</colgroup>
484<tbody>
485<tr>
486<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
487<td class="property_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer--timeout" title="The “timeout” property">timeout</a></td>
488<td class="property_flags">Read / Write / Construct</td>
489</tr>
490<tr>
491<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
492<td class="property_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer--use-cache" title="The “use-cache” property">use-cache</a></td>
493<td class="property_flags">Read / Write / Construct</td>
494</tr>
495</tbody>
496</table></div>
497</div>
498<div class="refsect1">
499<a name="GstDiscoverer.signals"></a><h2>Signals</h2>
500<div class="informaltable"><table class="informaltable" border="0">
501<colgroup>
502<col width="150px" class="signals_return">
503<col width="300px" class="signals_name">
504<col width="200px" class="signals_flags">
505</colgroup>
506<tbody>
507<tr>
508<td class="signal_type"><span class="returnvalue">void</span></td>
509<td class="signal_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer-discovered" title="The “discovered” signal">discovered</a></td>
510<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
511</tr>
512<tr>
513<td class="signal_type"><span class="returnvalue">void</span></td>
514<td class="signal_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer-finished" title="The “finished” signal">finished</a></td>
515<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
516</tr>
517<tr>
518<td class="signal_type"><span class="returnvalue">void</span></td>
519<td class="signal_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer-source-setup" title="The “source-setup” signal">source-setup</a></td>
520<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
521</tr>
522<tr>
523<td class="signal_type"><span class="returnvalue">void</span></td>
524<td class="signal_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer-starting" title="The “starting” signal">starting</a></td>
525<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
526</tr>
527</tbody>
528</table></div>
529</div>
530<a name="GstDiscovererInfo"></a><div class="refsect1">
531<a name="GstDiscoverer.other"></a><h2>Types and Values</h2>
532<div class="informaltable"><table class="informaltable" width="100%" border="0">
533<colgroup>
534<col width="150px" class="name">
535<col class="description">
536</colgroup>
537<tbody>
538<tr>
539<td class="datatype_keyword">struct</td>
540<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscoverer-struct" title="struct GstDiscoverer">GstDiscoverer</a></td>
541</tr>
542<tr>
543<td class="datatype_keyword"> </td>
544<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererInfo-struct" title="GstDiscovererInfo">GstDiscovererInfo</a></td>
545</tr>
546<tr>
547<td class="datatype_keyword">enum</td>
548<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererResult" title="enum GstDiscovererResult">GstDiscovererResult</a></td>
549</tr>
550<tr>
551<td class="datatype_keyword">enum</td>
552<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererSerializeFlags" title="enum GstDiscovererSerializeFlags">GstDiscovererSerializeFlags</a></td>
553</tr>
554<tr>
555<td class="datatype_keyword"> </td>
556<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo">GstDiscovererStreamInfo</a></td>
557</tr>
558<tr>
559<td class="datatype_keyword"> </td>
560<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererContainerInfo" title="GstDiscovererContainerInfo">GstDiscovererContainerInfo</a></td>
561</tr>
562<tr>
563<td class="datatype_keyword"> </td>
564<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo">GstDiscovererAudioInfo</a></td>
565</tr>
566<tr>
567<td class="datatype_keyword"> </td>
568<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo">GstDiscovererVideoInfo</a></td>
569</tr>
570<tr>
571<td class="datatype_keyword"> </td>
572<td class="function_name"><a class="link" href="GstDiscoverer.html#GstDiscovererSubtitleInfo" title="GstDiscovererSubtitleInfo">GstDiscovererSubtitleInfo</a></td>
573</tr>
574</tbody>
575</table></div>
576</div>
577<div class="refsect1">
578<a name="GstDiscoverer.object-hierarchy"></a><h2>Object Hierarchy</h2>
579<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
580    <span class="lineart">╰──</span> GstDiscovererSerializeFlags
581    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
582    <span class="lineart">├──</span> GstDiscoverer
583    <span class="lineart">╰──</span> GstDiscovererInfo
584</pre>
585</div>
586<div class="refsect1">
587<a name="GstDiscoverer.includes"></a><h2>Includes</h2>
588<pre class="synopsis">#include &lt;gst/pbutils/pbutils.h&gt;
589</pre>
590</div>
591<div class="refsect1">
592<a name="GstDiscoverer.description"></a><h2>Description</h2>
593<p>The <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> is a utility object which allows to get as much
594information as possible from one or many URIs.</p>
595<p>It provides two APIs, allowing usage in blocking or non-blocking mode.</p>
596<p>The blocking mode just requires calling <a class="link" href="GstDiscoverer.html#gst-discoverer-discover-uri" title="gst_discoverer_discover_uri ()"><code class="function">gst_discoverer_discover_uri()</code></a>
597with the URI one wishes to discover.</p>
598<p>The non-blocking mode requires a running <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> iterating a
599<a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, where one connects to the various signals, appends the
600URIs to be processed (through <a class="link" href="GstDiscoverer.html#gst-discoverer-discover-uri-async" title="gst_discoverer_discover_uri_async ()"><code class="function">gst_discoverer_discover_uri_async()</code></a>) and then
601asks for the discovery to begin (through <a class="link" href="GstDiscoverer.html#gst-discoverer-start" title="gst_discoverer_start ()"><code class="function">gst_discoverer_start()</code></a>).
602By default this will use the GLib default main context unless you have
603set a custom context using <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default"><code class="function">g_main_context_push_thread_default()</code></a>.</p>
604<p>All the information is returned in a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> structure.</p>
605</div>
606<div class="refsect1">
607<a name="GstDiscoverer.functions_details"></a><h2>Functions</h2>
608<div class="refsect2">
609<a name="gst-discoverer-new"></a><h3>gst_discoverer_new ()</h3>
610<pre class="programlisting"><a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="returnvalue">GstDiscoverer</span></a> *
611gst_discoverer_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>,
612                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
613<p>Creates a new <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> with the provided timeout.</p>
614<div class="refsect3">
615<a name="gst-discoverer-new.parameters"></a><h4>Parameters</h4>
616<div class="informaltable"><table class="informaltable" width="100%" border="0">
617<colgroup>
618<col width="150px" class="parameters_name">
619<col class="parameters_description">
620<col width="200px" class="parameters_annotations">
621</colgroup>
622<tbody>
623<tr>
624<td class="parameter_name"><p>timeout</p></td>
625<td class="parameter_description"><p>timeout per file, in nanoseconds. Allowed are values between
626one second (<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GST-SECOND:CAPS"><span class="type">GST_SECOND</span></a>) and one hour (3600 * <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GST-SECOND:CAPS"><span class="type">GST_SECOND</span></a>)</p></td>
627<td class="parameter_annotations"> </td>
628</tr>
629<tr>
630<td class="parameter_name"><p>err</p></td>
631<td class="parameter_description"><p>a pointer to a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
632<td class="parameter_annotations"> </td>
633</tr>
634</tbody>
635</table></div>
636</div>
637<div class="refsect3">
638<a name="gst-discoverer-new.returns"></a><h4>Returns</h4>
639<p>The new <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a>.
640If an error occurred when creating the discoverer, <em class="parameter"><code>err</code></em>
641will be set
642accordingly and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. If <em class="parameter"><code>err</code></em>
643is set, the caller must
644free it when no longer needed using <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>. </p>
645<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
646</div>
647</div>
648<hr>
649<div class="refsect2">
650<a name="gst-discoverer-start"></a><h3>gst_discoverer_start ()</h3>
651<pre class="programlisting"><span class="returnvalue">void</span>
652gst_discoverer_start (<em class="parameter"><code><a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer</code></em>);</pre>
653<p>Allow asynchronous discovering of URIs to take place.
654A <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> must be available for <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> to properly work in
655asynchronous mode.</p>
656<div class="refsect3">
657<a name="gst-discoverer-start.parameters"></a><h4>Parameters</h4>
658<div class="informaltable"><table class="informaltable" width="100%" border="0">
659<colgroup>
660<col width="150px" class="parameters_name">
661<col class="parameters_description">
662<col width="200px" class="parameters_annotations">
663</colgroup>
664<tbody><tr>
665<td class="parameter_name"><p>discoverer</p></td>
666<td class="parameter_description"><p>A <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
667<td class="parameter_annotations"> </td>
668</tr></tbody>
669</table></div>
670</div>
671</div>
672<hr>
673<div class="refsect2">
674<a name="gst-discoverer-stop"></a><h3>gst_discoverer_stop ()</h3>
675<pre class="programlisting"><span class="returnvalue">void</span>
676gst_discoverer_stop (<em class="parameter"><code><a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer</code></em>);</pre>
677<p>Stop the discovery of any pending URIs and clears the list of
678pending URIS (if any).</p>
679<div class="refsect3">
680<a name="gst-discoverer-stop.parameters"></a><h4>Parameters</h4>
681<div class="informaltable"><table class="informaltable" width="100%" border="0">
682<colgroup>
683<col width="150px" class="parameters_name">
684<col class="parameters_description">
685<col width="200px" class="parameters_annotations">
686</colgroup>
687<tbody><tr>
688<td class="parameter_name"><p>discoverer</p></td>
689<td class="parameter_description"><p>A <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
690<td class="parameter_annotations"> </td>
691</tr></tbody>
692</table></div>
693</div>
694</div>
695<hr>
696<div class="refsect2">
697<a name="gst-discoverer-discover-uri"></a><h3>gst_discoverer_discover_uri ()</h3>
698<pre class="programlisting"><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="returnvalue">GstDiscovererInfo</span></a> *
699gst_discoverer_discover_uri (<em class="parameter"><code><a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer</code></em>,
700                             <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
701                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
702<p>Synchronously discovers the given <em class="parameter"><code>uri</code></em>
703.</p>
704<p>A copy of <em class="parameter"><code>uri</code></em>
705 will be made internally, so the caller can safely <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
706afterwards.</p>
707<div class="refsect3">
708<a name="gst-discoverer-discover-uri.parameters"></a><h4>Parameters</h4>
709<div class="informaltable"><table class="informaltable" width="100%" border="0">
710<colgroup>
711<col width="150px" class="parameters_name">
712<col class="parameters_description">
713<col width="200px" class="parameters_annotations">
714</colgroup>
715<tbody>
716<tr>
717<td class="parameter_name"><p>discoverer</p></td>
718<td class="parameter_description"><p>A <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
719<td class="parameter_annotations"> </td>
720</tr>
721<tr>
722<td class="parameter_name"><p>uri</p></td>
723<td class="parameter_description"><p>The URI to run on.</p></td>
724<td class="parameter_annotations"> </td>
725</tr>
726<tr>
727<td class="parameter_name"><p>err</p></td>
728<td class="parameter_description"><p>If an error occurred, this field will be filled in. </p></td>
729<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
730</tr>
731</tbody>
732</table></div>
733</div>
734<div class="refsect3">
735<a name="gst-discoverer-discover-uri.returns"></a><h4>Returns</h4>
736<p>the result of the scanning. Can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an
737error occurred. </p>
738<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
739</div>
740</div>
741<hr>
742<div class="refsect2">
743<a name="gst-discoverer-discover-uri-async"></a><h3>gst_discoverer_discover_uri_async ()</h3>
744<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
745gst_discoverer_discover_uri_async (<em class="parameter"><code><a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer</code></em>,
746                                   <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
747<p>Appends the given <em class="parameter"><code>uri</code></em>
748 to the list of URIs to discoverer. The actual
749discovery of the <em class="parameter"><code>uri</code></em>
750 will only take place if <a class="link" href="GstDiscoverer.html#gst-discoverer-start" title="gst_discoverer_start ()"><code class="function">gst_discoverer_start()</code></a> has
751been called.</p>
752<p>A copy of <em class="parameter"><code>uri</code></em>
753 will be made internally, so the caller can safely <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
754afterwards.</p>
755<div class="refsect3">
756<a name="gst-discoverer-discover-uri-async.parameters"></a><h4>Parameters</h4>
757<div class="informaltable"><table class="informaltable" width="100%" border="0">
758<colgroup>
759<col width="150px" class="parameters_name">
760<col class="parameters_description">
761<col width="200px" class="parameters_annotations">
762</colgroup>
763<tbody>
764<tr>
765<td class="parameter_name"><p>discoverer</p></td>
766<td class="parameter_description"><p>A <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
767<td class="parameter_annotations"> </td>
768</tr>
769<tr>
770<td class="parameter_name"><p>uri</p></td>
771<td class="parameter_description"><p>the URI to add.</p></td>
772<td class="parameter_annotations"> </td>
773</tr>
774</tbody>
775</table></div>
776</div>
777<div class="refsect3">
778<a name="gst-discoverer-discover-uri-async.returns"></a><h4>Returns</h4>
779<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>uri</code></em>
780was successfully appended to the list of pending
781uris, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
782</div>
783</div>
784<hr>
785<div class="refsect2">
786<a name="gst-discoverer-info-get-duration"></a><h3>gst_discoverer_info_get_duration ()</h3>
787<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
788gst_discoverer_info_get_duration (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
789<div class="refsect3">
790<a name="gst-discoverer-info-get-duration.parameters"></a><h4>Parameters</h4>
791<div class="informaltable"><table class="informaltable" width="100%" border="0">
792<colgroup>
793<col width="150px" class="parameters_name">
794<col class="parameters_description">
795<col width="200px" class="parameters_annotations">
796</colgroup>
797<tbody><tr>
798<td class="parameter_name"><p>info</p></td>
799<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
800<td class="parameter_annotations"> </td>
801</tr></tbody>
802</table></div>
803</div>
804<div class="refsect3">
805<a name="gst-discoverer-info-get-duration.returns"></a><h4>Returns</h4>
806<p> the duration of the URI in <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> (nanoseconds).</p>
807</div>
808</div>
809<hr>
810<div class="refsect2">
811<a name="gst-discoverer-info-get-misc"></a><h3>gst_discoverer_info_get_misc ()</h3>
812<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
813gst_discoverer_info_get_misc (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
814<div class="warning">
815<p><code class="literal">gst_discoverer_info_get_misc</code> is deprecated and should not be used in newly-written code.</p>
816<p>This functions is deprecated since version 1.4, use
817<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-missing-elements-installer-details" title="gst_discoverer_info_get_missing_elements_installer_details ()"><span class="type">gst_discoverer_info_get_missing_elements_installer_details</span></a></p>
818</div>
819<div class="refsect3">
820<a name="gst-discoverer-info-get-misc.parameters"></a><h4>Parameters</h4>
821<div class="informaltable"><table class="informaltable" width="100%" border="0">
822<colgroup>
823<col width="150px" class="parameters_name">
824<col class="parameters_description">
825<col width="200px" class="parameters_annotations">
826</colgroup>
827<tbody><tr>
828<td class="parameter_name"><p>info</p></td>
829<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
830<td class="parameter_annotations"> </td>
831</tr></tbody>
832</table></div>
833</div>
834<div class="refsect3">
835<a name="gst-discoverer-info-get-misc.returns"></a><h4>Returns</h4>
836<p>Miscellaneous information stored as a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a>
837(for example: information about missing plugins). If you wish to use the
838<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> after the life-time of <em class="parameter"><code>info</code></em>
839, you will need to copy it. </p>
840<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
841</div>
842</div>
843<hr>
844<div class="refsect2">
845<a name="gst-discoverer-info-get-result"></a><h3>gst_discoverer_info_get_result ()</h3>
846<pre class="programlisting"><a class="link" href="GstDiscoverer.html#GstDiscovererResult" title="enum GstDiscovererResult"><span class="returnvalue">GstDiscovererResult</span></a>
847gst_discoverer_info_get_result (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
848<div class="refsect3">
849<a name="gst-discoverer-info-get-result.parameters"></a><h4>Parameters</h4>
850<div class="informaltable"><table class="informaltable" width="100%" border="0">
851<colgroup>
852<col width="150px" class="parameters_name">
853<col class="parameters_description">
854<col width="200px" class="parameters_annotations">
855</colgroup>
856<tbody><tr>
857<td class="parameter_name"><p>info</p></td>
858<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
859<td class="parameter_annotations"> </td>
860</tr></tbody>
861</table></div>
862</div>
863<div class="refsect3">
864<a name="gst-discoverer-info-get-result.returns"></a><h4>Returns</h4>
865<p> the result of the discovery as a <a class="link" href="GstDiscoverer.html#GstDiscovererResult" title="enum GstDiscovererResult"><span class="type">GstDiscovererResult</span></a>.</p>
866</div>
867</div>
868<hr>
869<div class="refsect2">
870<a name="gst-discoverer-info-get-stream-info"></a><h3>gst_discoverer_info_get_stream_info ()</h3>
871<pre class="programlisting"><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="returnvalue">GstDiscovererStreamInfo</span></a> *
872gst_discoverer_info_get_stream_info (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
873<div class="refsect3">
874<a name="gst-discoverer-info-get-stream-info.parameters"></a><h4>Parameters</h4>
875<div class="informaltable"><table class="informaltable" width="100%" border="0">
876<colgroup>
877<col width="150px" class="parameters_name">
878<col class="parameters_description">
879<col width="200px" class="parameters_annotations">
880</colgroup>
881<tbody><tr>
882<td class="parameter_name"><p>info</p></td>
883<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
884<td class="parameter_annotations"> </td>
885</tr></tbody>
886</table></div>
887</div>
888<div class="refsect3">
889<a name="gst-discoverer-info-get-stream-info.returns"></a><h4>Returns</h4>
890<p>the structure (or topology) of the URI as a
891<a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>.
892This structure can be traversed to see the original hierarchy. Unref with
893<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-unref" title="gst_discoverer_stream_info_unref()"><code class="function">gst_discoverer_stream_info_unref()</code></a> after usage. </p>
894<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
895</div>
896</div>
897<hr>
898<div class="refsect2">
899<a name="gst-discoverer-info-get-stream-list"></a><h3>gst_discoverer_info_get_stream_list ()</h3>
900<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
901gst_discoverer_info_get_stream_list (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
902<div class="refsect3">
903<a name="gst-discoverer-info-get-stream-list.parameters"></a><h4>Parameters</h4>
904<div class="informaltable"><table class="informaltable" width="100%" border="0">
905<colgroup>
906<col width="150px" class="parameters_name">
907<col class="parameters_description">
908<col width="200px" class="parameters_annotations">
909</colgroup>
910<tbody><tr>
911<td class="parameter_name"><p>info</p></td>
912<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
913<td class="parameter_annotations"> </td>
914</tr></tbody>
915</table></div>
916</div>
917<div class="refsect3">
918<a name="gst-discoverer-info-get-stream-list.returns"></a><h4>Returns</h4>
919<p>the list of
920all streams contained in the <span class="type">info</span>. Free after usage
921with <a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a>. </p>
922<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
923</div>
924</div>
925<hr>
926<div class="refsect2">
927<a name="gst-discoverer-info-get-tags"></a><h3>gst_discoverer_info_get_tags ()</h3>
928<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagList.html#GstTagList-struct"><span class="returnvalue">GstTagList</span></a> *
929gst_discoverer_info_get_tags (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
930<div class="refsect3">
931<a name="gst-discoverer-info-get-tags.parameters"></a><h4>Parameters</h4>
932<div class="informaltable"><table class="informaltable" width="100%" border="0">
933<colgroup>
934<col width="150px" class="parameters_name">
935<col class="parameters_description">
936<col width="200px" class="parameters_annotations">
937</colgroup>
938<tbody><tr>
939<td class="parameter_name"><p>info</p></td>
940<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
941<td class="parameter_annotations"> </td>
942</tr></tbody>
943</table></div>
944</div>
945<div class="refsect3">
946<a name="gst-discoverer-info-get-tags.returns"></a><h4>Returns</h4>
947<p>all tags contained in the URI. If you wish to use
948the tags after the life-time of <em class="parameter"><code>info</code></em>
949, you will need to copy them. </p>
950<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
951</div>
952</div>
953<hr>
954<div class="refsect2">
955<a name="gst-discoverer-info-get-toc"></a><h3>gst_discoverer_info_get_toc ()</h3>
956<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstToc.html#GstToc-struct"><span class="returnvalue">GstToc</span></a> *
957gst_discoverer_info_get_toc (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
958<div class="refsect3">
959<a name="gst-discoverer-info-get-toc.parameters"></a><h4>Parameters</h4>
960<div class="informaltable"><table class="informaltable" width="100%" border="0">
961<colgroup>
962<col width="150px" class="parameters_name">
963<col class="parameters_description">
964<col width="200px" class="parameters_annotations">
965</colgroup>
966<tbody><tr>
967<td class="parameter_name"><p>info</p></td>
968<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
969<td class="parameter_annotations"> </td>
970</tr></tbody>
971</table></div>
972</div>
973<div class="refsect3">
974<a name="gst-discoverer-info-get-toc.returns"></a><h4>Returns</h4>
975<p>TOC contained in the URI. If you wish to use
976the TOC after the life-time of <em class="parameter"><code>info</code></em>
977, you will need to copy it. </p>
978<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
979</div>
980</div>
981<hr>
982<div class="refsect2">
983<a name="gst-discoverer-info-get-uri"></a><h3>gst_discoverer_info_get_uri ()</h3>
984<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
985gst_discoverer_info_get_uri (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
986<div class="refsect3">
987<a name="gst-discoverer-info-get-uri.parameters"></a><h4>Parameters</h4>
988<div class="informaltable"><table class="informaltable" width="100%" border="0">
989<colgroup>
990<col width="150px" class="parameters_name">
991<col class="parameters_description">
992<col width="200px" class="parameters_annotations">
993</colgroup>
994<tbody><tr>
995<td class="parameter_name"><p>info</p></td>
996<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
997<td class="parameter_annotations"> </td>
998</tr></tbody>
999</table></div>
1000</div>
1001<div class="refsect3">
1002<a name="gst-discoverer-info-get-uri.returns"></a><h4>Returns</h4>
1003<p>the URI to which this information corresponds to.
1004Copy it if you wish to use it after the life-time of <em class="parameter"><code>info</code></em>
1005. </p>
1006<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1007</div>
1008</div>
1009<hr>
1010<div class="refsect2">
1011<a name="gst-discoverer-info-get-seekable"></a><h3>gst_discoverer_info_get_seekable ()</h3>
1012<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1013gst_discoverer_info_get_seekable (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1014<div class="refsect3">
1015<a name="gst-discoverer-info-get-seekable.parameters"></a><h4>Parameters</h4>
1016<div class="informaltable"><table class="informaltable" width="100%" border="0">
1017<colgroup>
1018<col width="150px" class="parameters_name">
1019<col class="parameters_description">
1020<col width="200px" class="parameters_annotations">
1021</colgroup>
1022<tbody><tr>
1023<td class="parameter_name"><p>info</p></td>
1024<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1025<td class="parameter_annotations"> </td>
1026</tr></tbody>
1027</table></div>
1028</div>
1029<div class="refsect3">
1030<a name="gst-discoverer-info-get-seekable.returns"></a><h4>Returns</h4>
1031<p> the whether the URI is seekable.</p>
1032</div>
1033</div>
1034<hr>
1035<div class="refsect2">
1036<a name="gst-discoverer-info-get-live"></a><h3>gst_discoverer_info_get_live ()</h3>
1037<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1038gst_discoverer_info_get_live (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1039<div class="refsect3">
1040<a name="gst-discoverer-info-get-live.parameters"></a><h4>Parameters</h4>
1041<div class="informaltable"><table class="informaltable" width="100%" border="0">
1042<colgroup>
1043<col width="150px" class="parameters_name">
1044<col class="parameters_description">
1045<col width="200px" class="parameters_annotations">
1046</colgroup>
1047<tbody><tr>
1048<td class="parameter_name"><p>info</p></td>
1049<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1050<td class="parameter_annotations"> </td>
1051</tr></tbody>
1052</table></div>
1053</div>
1054<div class="refsect3">
1055<a name="gst-discoverer-info-get-live.returns"></a><h4>Returns</h4>
1056<p> whether the URI is live.</p>
1057</div>
1058<p class="since">Since: <a class="link" href="ix04.html#api-index-1.14">1.14</a></p>
1059</div>
1060<hr>
1061<div class="refsect2">
1062<a name="gst-discoverer-info-ref"></a><h3>gst_discoverer_info_ref()</h3>
1063<pre class="programlisting">#define gst_discoverer_info_ref(info) (g_object_ref((GObject*)info))
1064</pre>
1065<p>Increments the reference count of <em class="parameter"><code>info</code></em>
1066.</p>
1067<div class="refsect3">
1068<a name="gst-discoverer-info-ref.parameters"></a><h4>Parameters</h4>
1069<div class="informaltable"><table class="informaltable" width="100%" border="0">
1070<colgroup>
1071<col width="150px" class="parameters_name">
1072<col class="parameters_description">
1073<col width="200px" class="parameters_annotations">
1074</colgroup>
1075<tbody><tr>
1076<td class="parameter_name"><p>info</p></td>
1077<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1078<td class="parameter_annotations"> </td>
1079</tr></tbody>
1080</table></div>
1081</div>
1082<div class="refsect3">
1083<a name="gst-discoverer-info-ref.returns"></a><h4>Returns</h4>
1084<p> the same <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> object</p>
1085</div>
1086</div>
1087<hr>
1088<div class="refsect2">
1089<a name="gst-discoverer-info-unref"></a><h3>gst_discoverer_info_unref()</h3>
1090<pre class="programlisting">#define gst_discoverer_info_unref(info) (g_object_unref((GObject*)info))
1091</pre>
1092<p>Decrements the reference count of <em class="parameter"><code>info</code></em>
1093.</p>
1094<div class="refsect3">
1095<a name="gst-discoverer-info-unref.parameters"></a><h4>Parameters</h4>
1096<div class="informaltable"><table class="informaltable" width="100%" border="0">
1097<colgroup>
1098<col width="150px" class="parameters_name">
1099<col class="parameters_description">
1100<col width="200px" class="parameters_annotations">
1101</colgroup>
1102<tbody><tr>
1103<td class="parameter_name"><p>info</p></td>
1104<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1105<td class="parameter_annotations"> </td>
1106</tr></tbody>
1107</table></div>
1108</div>
1109</div>
1110<hr>
1111<div class="refsect2">
1112<a name="gst-discoverer-info-to-variant"></a><h3>gst_discoverer_info_to_variant ()</h3>
1113<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
1114gst_discoverer_info_to_variant (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>,
1115                                <em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererSerializeFlags" title="enum GstDiscovererSerializeFlags"><span class="type">GstDiscovererSerializeFlags</span></a> flags</code></em>);</pre>
1116<p>Serializes <em class="parameter"><code>info</code></em>
1117 to a <a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> that can be parsed again
1118through <a class="link" href="GstDiscoverer.html#gst-discoverer-info-from-variant" title="gst_discoverer_info_from_variant ()"><code class="function">gst_discoverer_info_from_variant()</code></a>.</p>
1119<p>Note that any <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstToc.html#GstToc-struct"><span class="type">GstToc</span></a> (s) that might have been discovered will not be serialized
1120for now.</p>
1121<div class="refsect3">
1122<a name="gst-discoverer-info-to-variant.parameters"></a><h4>Parameters</h4>
1123<div class="informaltable"><table class="informaltable" width="100%" border="0">
1124<colgroup>
1125<col width="150px" class="parameters_name">
1126<col class="parameters_description">
1127<col width="200px" class="parameters_annotations">
1128</colgroup>
1129<tbody>
1130<tr>
1131<td class="parameter_name"><p>info</p></td>
1132<td class="parameter_description"><p>A <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1133<td class="parameter_annotations"> </td>
1134</tr>
1135<tr>
1136<td class="parameter_name"><p>flags</p></td>
1137<td class="parameter_description"><p>A combination of <a class="link" href="GstDiscoverer.html#GstDiscovererSerializeFlags" title="enum GstDiscovererSerializeFlags"><span class="type">GstDiscovererSerializeFlags</span></a> to specify
1138what needs to be serialized.</p></td>
1139<td class="parameter_annotations"> </td>
1140</tr>
1141</tbody>
1142</table></div>
1143</div>
1144<div class="refsect3">
1145<a name="gst-discoverer-info-to-variant.returns"></a><h4>Returns</h4>
1146<p>A newly-allocated <a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> representing <em class="parameter"><code>info</code></em>
1147. </p>
1148<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1149</div>
1150<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
1151</div>
1152<hr>
1153<div class="refsect2">
1154<a name="gst-discoverer-info-from-variant"></a><h3>gst_discoverer_info_from_variant ()</h3>
1155<pre class="programlisting"><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="returnvalue">GstDiscovererInfo</span></a> *
1156gst_discoverer_info_from_variant (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre>
1157<p>Parses a <a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> as produced by <a class="link" href="GstDiscoverer.html#gst-discoverer-info-to-variant" title="gst_discoverer_info_to_variant ()"><code class="function">gst_discoverer_info_to_variant()</code></a>
1158back to a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a>.</p>
1159<div class="refsect3">
1160<a name="gst-discoverer-info-from-variant.parameters"></a><h4>Parameters</h4>
1161<div class="informaltable"><table class="informaltable" width="100%" border="0">
1162<colgroup>
1163<col width="150px" class="parameters_name">
1164<col class="parameters_description">
1165<col width="200px" class="parameters_annotations">
1166</colgroup>
1167<tbody><tr>
1168<td class="parameter_name"><p>variant</p></td>
1169<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> to deserialize into a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a>.</p></td>
1170<td class="parameter_annotations"> </td>
1171</tr></tbody>
1172</table></div>
1173</div>
1174<div class="refsect3">
1175<a name="gst-discoverer-info-from-variant.returns"></a><h4>Returns</h4>
1176<p>A newly-allocated <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a>. </p>
1177<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1178</div>
1179<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
1180</div>
1181<hr>
1182<div class="refsect2">
1183<a name="gst-discoverer-stream-info-get-caps"></a><h3>gst_discoverer_stream_info_get_caps ()</h3>
1184<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
1185gst_discoverer_stream_info_get_caps (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1186<div class="refsect3">
1187<a name="gst-discoverer-stream-info-get-caps.parameters"></a><h4>Parameters</h4>
1188<div class="informaltable"><table class="informaltable" width="100%" border="0">
1189<colgroup>
1190<col width="150px" class="parameters_name">
1191<col class="parameters_description">
1192<col width="200px" class="parameters_annotations">
1193</colgroup>
1194<tbody><tr>
1195<td class="parameter_name"><p>info</p></td>
1196<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1197<td class="parameter_annotations"> </td>
1198</tr></tbody>
1199</table></div>
1200</div>
1201<div class="refsect3">
1202<a name="gst-discoverer-stream-info-get-caps.returns"></a><h4>Returns</h4>
1203<p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> of the stream. Unref with
1204<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#gst-caps-unref"><span class="type">gst_caps_unref</span></a> after usage. </p>
1205<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1206</div>
1207</div>
1208<hr>
1209<div class="refsect2">
1210<a name="gst-discoverer-stream-info-get-misc"></a><h3>gst_discoverer_stream_info_get_misc ()</h3>
1211<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
1212gst_discoverer_stream_info_get_misc (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1213<div class="warning">
1214<p><code class="literal">gst_discoverer_stream_info_get_misc</code> is deprecated and should not be used in newly-written code.</p>
1215<p>This functions is deprecated since version 1.4, use
1216<a class="link" href="GstDiscoverer.html#gst-discoverer-info-get-missing-elements-installer-details" title="gst_discoverer_info_get_missing_elements_installer_details ()"><span class="type">gst_discoverer_info_get_missing_elements_installer_details</span></a></p>
1217</div>
1218<div class="refsect3">
1219<a name="gst-discoverer-stream-info-get-misc.parameters"></a><h4>Parameters</h4>
1220<div class="informaltable"><table class="informaltable" width="100%" border="0">
1221<colgroup>
1222<col width="150px" class="parameters_name">
1223<col class="parameters_description">
1224<col width="200px" class="parameters_annotations">
1225</colgroup>
1226<tbody><tr>
1227<td class="parameter_name"><p>info</p></td>
1228<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1229<td class="parameter_annotations"> </td>
1230</tr></tbody>
1231</table></div>
1232</div>
1233<div class="refsect3">
1234<a name="gst-discoverer-stream-info-get-misc.returns"></a><h4>Returns</h4>
1235<p>additional information regarding the stream (for
1236example codec version, profile, etc..). If you wish to use the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a>
1237after the life-time of <em class="parameter"><code>info</code></em>
1238you will need to copy it. </p>
1239<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1240</div>
1241</div>
1242<hr>
1243<div class="refsect2">
1244<a name="gst-discoverer-stream-info-get-next"></a><h3>gst_discoverer_stream_info_get_next ()</h3>
1245<pre class="programlisting"><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="returnvalue">GstDiscovererStreamInfo</span></a> *
1246gst_discoverer_stream_info_get_next (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1247<div class="refsect3">
1248<a name="gst-discoverer-stream-info-get-next.parameters"></a><h4>Parameters</h4>
1249<div class="informaltable"><table class="informaltable" width="100%" border="0">
1250<colgroup>
1251<col width="150px" class="parameters_name">
1252<col class="parameters_description">
1253<col width="200px" class="parameters_annotations">
1254</colgroup>
1255<tbody><tr>
1256<td class="parameter_name"><p>info</p></td>
1257<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1258<td class="parameter_annotations"> </td>
1259</tr></tbody>
1260</table></div>
1261</div>
1262<div class="refsect3">
1263<a name="gst-discoverer-stream-info-get-next.returns"></a><h4>Returns</h4>
1264<p>the next <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> in a chain. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1265for final streams.
1266Unref with <a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-unref" title="gst_discoverer_stream_info_unref()"><span class="type">gst_discoverer_stream_info_unref</span></a> after usage. </p>
1267<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1268</div>
1269</div>
1270<hr>
1271<div class="refsect2">
1272<a name="gst-discoverer-stream-info-get-previous"></a><h3>gst_discoverer_stream_info_get_previous ()</h3>
1273<pre class="programlisting"><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="returnvalue">GstDiscovererStreamInfo</span></a> *
1274gst_discoverer_stream_info_get_previous
1275                               (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1276<div class="refsect3">
1277<a name="gst-discoverer-stream-info-get-previous.parameters"></a><h4>Parameters</h4>
1278<div class="informaltable"><table class="informaltable" width="100%" border="0">
1279<colgroup>
1280<col width="150px" class="parameters_name">
1281<col class="parameters_description">
1282<col width="200px" class="parameters_annotations">
1283</colgroup>
1284<tbody><tr>
1285<td class="parameter_name"><p>info</p></td>
1286<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1287<td class="parameter_annotations"> </td>
1288</tr></tbody>
1289</table></div>
1290</div>
1291<div class="refsect3">
1292<a name="gst-discoverer-stream-info-get-previous.returns"></a><h4>Returns</h4>
1293<p>the previous <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> in a chain.
1294<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for starting points. Unref with <a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-unref" title="gst_discoverer_stream_info_unref()"><span class="type">gst_discoverer_stream_info_unref</span></a>
1295after usage. </p>
1296<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1297</div>
1298</div>
1299<hr>
1300<div class="refsect2">
1301<a name="gst-discoverer-stream-info-get-tags"></a><h3>gst_discoverer_stream_info_get_tags ()</h3>
1302<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagList.html#GstTagList-struct"><span class="returnvalue">GstTagList</span></a> *
1303gst_discoverer_stream_info_get_tags (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1304<div class="refsect3">
1305<a name="gst-discoverer-stream-info-get-tags.parameters"></a><h4>Parameters</h4>
1306<div class="informaltable"><table class="informaltable" width="100%" border="0">
1307<colgroup>
1308<col width="150px" class="parameters_name">
1309<col class="parameters_description">
1310<col width="200px" class="parameters_annotations">
1311</colgroup>
1312<tbody><tr>
1313<td class="parameter_name"><p>info</p></td>
1314<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1315<td class="parameter_annotations"> </td>
1316</tr></tbody>
1317</table></div>
1318</div>
1319<div class="refsect3">
1320<a name="gst-discoverer-stream-info-get-tags.returns"></a><h4>Returns</h4>
1321<p>the tags contained in this stream. If you wish to
1322use the tags after the life-time of <em class="parameter"><code>info</code></em>
1323you will need to copy them. </p>
1324<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1325</div>
1326</div>
1327<hr>
1328<div class="refsect2">
1329<a name="gst-discoverer-stream-info-get-toc"></a><h3>gst_discoverer_stream_info_get_toc ()</h3>
1330<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstToc.html#GstToc-struct"><span class="returnvalue">GstToc</span></a> *
1331gst_discoverer_stream_info_get_toc (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1332<div class="refsect3">
1333<a name="gst-discoverer-stream-info-get-toc.parameters"></a><h4>Parameters</h4>
1334<div class="informaltable"><table class="informaltable" width="100%" border="0">
1335<colgroup>
1336<col width="150px" class="parameters_name">
1337<col class="parameters_description">
1338<col width="200px" class="parameters_annotations">
1339</colgroup>
1340<tbody><tr>
1341<td class="parameter_name"><p>info</p></td>
1342<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1343<td class="parameter_annotations"> </td>
1344</tr></tbody>
1345</table></div>
1346</div>
1347<div class="refsect3">
1348<a name="gst-discoverer-stream-info-get-toc.returns"></a><h4>Returns</h4>
1349<p>the TOC contained in this stream. If you wish to
1350use the TOC after the life-time of <em class="parameter"><code>info</code></em>
1351you will need to copy it. </p>
1352<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1353</div>
1354</div>
1355<hr>
1356<div class="refsect2">
1357<a name="gst-discoverer-stream-info-get-stream-id"></a><h3>gst_discoverer_stream_info_get_stream_id ()</h3>
1358<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1359gst_discoverer_stream_info_get_stream_id
1360                               (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1361<div class="refsect3">
1362<a name="gst-discoverer-stream-info-get-stream-id.parameters"></a><h4>Parameters</h4>
1363<div class="informaltable"><table class="informaltable" width="100%" border="0">
1364<colgroup>
1365<col width="150px" class="parameters_name">
1366<col class="parameters_description">
1367<col width="200px" class="parameters_annotations">
1368</colgroup>
1369<tbody><tr>
1370<td class="parameter_name"><p>info</p></td>
1371<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1372<td class="parameter_annotations"> </td>
1373</tr></tbody>
1374</table></div>
1375</div>
1376<div class="refsect3">
1377<a name="gst-discoverer-stream-info-get-stream-id.returns"></a><h4>Returns</h4>
1378<p>the stream ID of this stream. If you wish to
1379use the stream ID after the life-time of <em class="parameter"><code>info</code></em>
1380you will need to copy it. </p>
1381<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1382</div>
1383</div>
1384<hr>
1385<div class="refsect2">
1386<a name="gst-discoverer-stream-info-ref"></a><h3>gst_discoverer_stream_info_ref()</h3>
1387<pre class="programlisting">#define gst_discoverer_stream_info_ref(info) ((GstDiscovererStreamInfo*) g_object_ref((GObject*) info))
1388</pre>
1389<p>Increments the reference count of <em class="parameter"><code>info</code></em>
1390.</p>
1391<div class="refsect3">
1392<a name="gst-discoverer-stream-info-ref.parameters"></a><h4>Parameters</h4>
1393<div class="informaltable"><table class="informaltable" width="100%" border="0">
1394<colgroup>
1395<col width="150px" class="parameters_name">
1396<col class="parameters_description">
1397<col width="200px" class="parameters_annotations">
1398</colgroup>
1399<tbody><tr>
1400<td class="parameter_name"><p>info</p></td>
1401<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1402<td class="parameter_annotations"> </td>
1403</tr></tbody>
1404</table></div>
1405</div>
1406<div class="refsect3">
1407<a name="gst-discoverer-stream-info-ref.returns"></a><h4>Returns</h4>
1408<p> the same <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> object</p>
1409</div>
1410</div>
1411<hr>
1412<div class="refsect2">
1413<a name="gst-discoverer-stream-info-unref"></a><h3>gst_discoverer_stream_info_unref()</h3>
1414<pre class="programlisting">#define gst_discoverer_stream_info_unref(info) (g_object_unref((GObject*) info))
1415</pre>
1416<p>Decrements the reference count of <em class="parameter"><code>info</code></em>
1417.</p>
1418<div class="refsect3">
1419<a name="gst-discoverer-stream-info-unref.parameters"></a><h4>Parameters</h4>
1420<div class="informaltable"><table class="informaltable" width="100%" border="0">
1421<colgroup>
1422<col width="150px" class="parameters_name">
1423<col class="parameters_description">
1424<col width="200px" class="parameters_annotations">
1425</colgroup>
1426<tbody><tr>
1427<td class="parameter_name"><p>info</p></td>
1428<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1429<td class="parameter_annotations"> </td>
1430</tr></tbody>
1431</table></div>
1432</div>
1433</div>
1434<hr>
1435<div class="refsect2">
1436<a name="gst-discoverer-stream-info-list-free"></a><h3>gst_discoverer_stream_info_list_free ()</h3>
1437<pre class="programlisting"><span class="returnvalue">void</span>
1438gst_discoverer_stream_info_list_free (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *infos</code></em>);</pre>
1439<p>Decrements the reference count of all contained <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>
1440and fress the <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>.</p>
1441<div class="refsect3">
1442<a name="gst-discoverer-stream-info-list-free.parameters"></a><h4>Parameters</h4>
1443<div class="informaltable"><table class="informaltable" width="100%" border="0">
1444<colgroup>
1445<col width="150px" class="parameters_name">
1446<col class="parameters_description">
1447<col width="200px" class="parameters_annotations">
1448</colgroup>
1449<tbody><tr>
1450<td class="parameter_name"><p>infos</p></td>
1451<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>. </p></td>
1452<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></td>
1453</tr></tbody>
1454</table></div>
1455</div>
1456</div>
1457<hr>
1458<div class="refsect2">
1459<a name="gst-discoverer-stream-info-get-stream-type-nick"></a><h3>gst_discoverer_stream_info_get_stream_type_nick ()</h3>
1460<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1461gst_discoverer_stream_info_get_stream_type_nick
1462                               (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> *info</code></em>);</pre>
1463<div class="refsect3">
1464<a name="gst-discoverer-stream-info-get-stream-type-nick.parameters"></a><h4>Parameters</h4>
1465<div class="informaltable"><table class="informaltable" width="100%" border="0">
1466<colgroup>
1467<col width="150px" class="parameters_name">
1468<col class="parameters_description">
1469<col width="200px" class="parameters_annotations">
1470</colgroup>
1471<tbody><tr>
1472<td class="parameter_name"><p>info</p></td>
1473<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1474<td class="parameter_annotations"> </td>
1475</tr></tbody>
1476</table></div>
1477</div>
1478<div class="refsect3">
1479<a name="gst-discoverer-stream-info-get-stream-type-nick.returns"></a><h4>Returns</h4>
1480<p> a human readable name for the stream type of the given <em class="parameter"><code>info</code></em>
1481(ex : "audio",
1482"container",...).</p>
1483</div>
1484</div>
1485<hr>
1486<div class="refsect2">
1487<a name="gst-discoverer-info-get-missing-elements-installer-details"></a><h3>gst_discoverer_info_get_missing_elements_installer_details ()</h3>
1488<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
1489gst_discoverer_info_get_missing_elements_installer_details
1490                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1491<p>Get the installer details for missing elements</p>
1492<div class="refsect3">
1493<a name="gst-discoverer-info-get-missing-elements-installer-details.parameters"></a><h4>Parameters</h4>
1494<div class="informaltable"><table class="informaltable" width="100%" border="0">
1495<colgroup>
1496<col width="150px" class="parameters_name">
1497<col class="parameters_description">
1498<col width="200px" class="parameters_annotations">
1499</colgroup>
1500<tbody><tr>
1501<td class="parameter_name"><p>info</p></td>
1502<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> to retrieve installer detail
1503for the missing element</p></td>
1504<td class="parameter_annotations"> </td>
1505</tr></tbody>
1506</table></div>
1507</div>
1508<div class="refsect3">
1509<a name="gst-discoverer-info-get-missing-elements-installer-details.returns"></a><h4>Returns</h4>
1510<p>An array of strings
1511containing informations about how to install the various missing elements
1512for <em class="parameter"><code>info</code></em>
1513to be usable. If you wish to use the strings after the life-time
1514of <em class="parameter"><code>info</code></em>
1515, you will need to copy them. </p>
1516<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></p>
1517</div>
1518<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
1519</div>
1520<hr>
1521<div class="refsect2">
1522<a name="gst-discoverer-info-get-audio-streams"></a><h3>gst_discoverer_info_get_audio_streams ()</h3>
1523<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
1524gst_discoverer_info_get_audio_streams (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1525<p>Finds all the <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> contained in <em class="parameter"><code>info</code></em>
1526</p>
1527<div class="refsect3">
1528<a name="gst-discoverer-info-get-audio-streams.parameters"></a><h4>Parameters</h4>
1529<div class="informaltable"><table class="informaltable" width="100%" border="0">
1530<colgroup>
1531<col width="150px" class="parameters_name">
1532<col class="parameters_description">
1533<col width="200px" class="parameters_annotations">
1534</colgroup>
1535<tbody><tr>
1536<td class="parameter_name"><p>info</p></td>
1537<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1538<td class="parameter_annotations"> </td>
1539</tr></tbody>
1540</table></div>
1541</div>
1542<div class="refsect3">
1543<a name="gst-discoverer-info-get-audio-streams.returns"></a><h4>Returns</h4>
1544<p>A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
1545matching <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>. The caller should free it with
1546<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a>. </p>
1547<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
1548</div>
1549</div>
1550<hr>
1551<div class="refsect2">
1552<a name="gst-discoverer-info-get-container-streams"></a><h3>gst_discoverer_info_get_container_streams ()</h3>
1553<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
1554gst_discoverer_info_get_container_streams
1555                               (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1556<p>Finds all the <a class="link" href="GstDiscoverer.html#GstDiscovererContainerInfo" title="GstDiscovererContainerInfo"><span class="type">GstDiscovererContainerInfo</span></a> contained in <em class="parameter"><code>info</code></em>
1557</p>
1558<div class="refsect3">
1559<a name="gst-discoverer-info-get-container-streams.parameters"></a><h4>Parameters</h4>
1560<div class="informaltable"><table class="informaltable" width="100%" border="0">
1561<colgroup>
1562<col width="150px" class="parameters_name">
1563<col class="parameters_description">
1564<col width="200px" class="parameters_annotations">
1565</colgroup>
1566<tbody><tr>
1567<td class="parameter_name"><p>info</p></td>
1568<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1569<td class="parameter_annotations"> </td>
1570</tr></tbody>
1571</table></div>
1572</div>
1573<div class="refsect3">
1574<a name="gst-discoverer-info-get-container-streams.returns"></a><h4>Returns</h4>
1575<p>A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
1576matching <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>. The caller should free it with
1577<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a>. </p>
1578<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
1579</div>
1580</div>
1581<hr>
1582<div class="refsect2">
1583<a name="gst-discoverer-info-get-streams"></a><h3>gst_discoverer_info_get_streams ()</h3>
1584<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
1585gst_discoverer_info_get_streams (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>,
1586                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> streamtype</code></em>);</pre>
1587<p>Finds the <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> contained in <em class="parameter"><code>info</code></em>
1588 that match the
1589given <em class="parameter"><code>streamtype</code></em>
1590.</p>
1591<div class="refsect3">
1592<a name="gst-discoverer-info-get-streams.parameters"></a><h4>Parameters</h4>
1593<div class="informaltable"><table class="informaltable" width="100%" border="0">
1594<colgroup>
1595<col width="150px" class="parameters_name">
1596<col class="parameters_description">
1597<col width="200px" class="parameters_annotations">
1598</colgroup>
1599<tbody>
1600<tr>
1601<td class="parameter_name"><p>info</p></td>
1602<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1603<td class="parameter_annotations"> </td>
1604</tr>
1605<tr>
1606<td class="parameter_name"><p>streamtype</p></td>
1607<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1608<td class="parameter_annotations"> </td>
1609</tr>
1610</tbody>
1611</table></div>
1612</div>
1613<div class="refsect3">
1614<a name="gst-discoverer-info-get-streams.returns"></a><h4>Returns</h4>
1615<p>A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
1616matching <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>. The caller should free it with
1617<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a>. </p>
1618<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
1619</div>
1620</div>
1621<hr>
1622<div class="refsect2">
1623<a name="gst-discoverer-info-get-subtitle-streams"></a><h3>gst_discoverer_info_get_subtitle_streams ()</h3>
1624<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
1625gst_discoverer_info_get_subtitle_streams
1626                               (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1627<p>Finds all the <a class="link" href="GstDiscoverer.html#GstDiscovererSubtitleInfo" title="GstDiscovererSubtitleInfo"><span class="type">GstDiscovererSubtitleInfo</span></a> contained in <em class="parameter"><code>info</code></em>
1628</p>
1629<div class="refsect3">
1630<a name="gst-discoverer-info-get-subtitle-streams.parameters"></a><h4>Parameters</h4>
1631<div class="informaltable"><table class="informaltable" width="100%" border="0">
1632<colgroup>
1633<col width="150px" class="parameters_name">
1634<col class="parameters_description">
1635<col width="200px" class="parameters_annotations">
1636</colgroup>
1637<tbody><tr>
1638<td class="parameter_name"><p>info</p></td>
1639<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1640<td class="parameter_annotations"> </td>
1641</tr></tbody>
1642</table></div>
1643</div>
1644<div class="refsect3">
1645<a name="gst-discoverer-info-get-subtitle-streams.returns"></a><h4>Returns</h4>
1646<p>A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
1647matching <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>. The caller should free it with
1648<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a>. </p>
1649<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
1650</div>
1651</div>
1652<hr>
1653<div class="refsect2">
1654<a name="gst-discoverer-info-get-video-streams"></a><h3>gst_discoverer_info_get_video_streams ()</h3>
1655<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
1656gst_discoverer_info_get_video_streams (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info</code></em>);</pre>
1657<p>Finds all the <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> contained in <em class="parameter"><code>info</code></em>
1658</p>
1659<div class="refsect3">
1660<a name="gst-discoverer-info-get-video-streams.parameters"></a><h4>Parameters</h4>
1661<div class="informaltable"><table class="informaltable" width="100%" border="0">
1662<colgroup>
1663<col width="150px" class="parameters_name">
1664<col class="parameters_description">
1665<col width="200px" class="parameters_annotations">
1666</colgroup>
1667<tbody><tr>
1668<td class="parameter_name"><p>info</p></td>
1669<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
1670<td class="parameter_annotations"> </td>
1671</tr></tbody>
1672</table></div>
1673</div>
1674<div class="refsect3">
1675<a name="gst-discoverer-info-get-video-streams.returns"></a><h4>Returns</h4>
1676<p>A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
1677matching <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a>. The caller should free it with
1678<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a>. </p>
1679<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
1680</div>
1681</div>
1682<hr>
1683<div class="refsect2">
1684<a name="gst-discoverer-audio-info-get-bitrate"></a><h3>gst_discoverer_audio_info_get_bitrate ()</h3>
1685<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1686gst_discoverer_audio_info_get_bitrate (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1687<div class="refsect3">
1688<a name="gst-discoverer-audio-info-get-bitrate.parameters"></a><h4>Parameters</h4>
1689<div class="informaltable"><table class="informaltable" width="100%" border="0">
1690<colgroup>
1691<col width="150px" class="parameters_name">
1692<col class="parameters_description">
1693<col width="200px" class="parameters_annotations">
1694</colgroup>
1695<tbody><tr>
1696<td class="parameter_name"><p>info</p></td>
1697<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1698<td class="parameter_annotations"> </td>
1699</tr></tbody>
1700</table></div>
1701</div>
1702<div class="refsect3">
1703<a name="gst-discoverer-audio-info-get-bitrate.returns"></a><h4>Returns</h4>
1704<p> the average or nominal bitrate of the stream in bits/second.</p>
1705</div>
1706</div>
1707<hr>
1708<div class="refsect2">
1709<a name="gst-discoverer-audio-info-get-channels"></a><h3>gst_discoverer_audio_info_get_channels ()</h3>
1710<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1711gst_discoverer_audio_info_get_channels
1712                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1713<div class="refsect3">
1714<a name="gst-discoverer-audio-info-get-channels.parameters"></a><h4>Parameters</h4>
1715<div class="informaltable"><table class="informaltable" width="100%" border="0">
1716<colgroup>
1717<col width="150px" class="parameters_name">
1718<col class="parameters_description">
1719<col width="200px" class="parameters_annotations">
1720</colgroup>
1721<tbody><tr>
1722<td class="parameter_name"><p>info</p></td>
1723<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1724<td class="parameter_annotations"> </td>
1725</tr></tbody>
1726</table></div>
1727</div>
1728<div class="refsect3">
1729<a name="gst-discoverer-audio-info-get-channels.returns"></a><h4>Returns</h4>
1730<p> the number of channels in the stream.</p>
1731</div>
1732</div>
1733<hr>
1734<div class="refsect2">
1735<a name="gst-discoverer-audio-info-get-channel-mask"></a><h3>gst_discoverer_audio_info_get_channel_mask ()</h3>
1736<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
1737gst_discoverer_audio_info_get_channel_mask
1738                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1739<div class="refsect3">
1740<a name="gst-discoverer-audio-info-get-channel-mask.parameters"></a><h4>Parameters</h4>
1741<div class="informaltable"><table class="informaltable" width="100%" border="0">
1742<colgroup>
1743<col width="150px" class="parameters_name">
1744<col class="parameters_description">
1745<col width="200px" class="parameters_annotations">
1746</colgroup>
1747<tbody><tr>
1748<td class="parameter_name"><p>info</p></td>
1749<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1750<td class="parameter_annotations"> </td>
1751</tr></tbody>
1752</table></div>
1753</div>
1754<div class="refsect3">
1755<a name="gst-discoverer-audio-info-get-channel-mask.returns"></a><h4>Returns</h4>
1756<p> the channel-mask of the stream, refer to
1757<a class="link" href="gst-plugins-base-libs-Audio-channels.html#gst-audio-channel-positions-from-mask" title="gst_audio_channel_positions_from_mask ()"><code class="function">gst_audio_channel_positions_from_mask()</code></a> for more
1758information.</p>
1759</div>
1760<p class="since">Since: <a class="link" href="ix04.html#api-index-1.14">1.14</a></p>
1761</div>
1762<hr>
1763<div class="refsect2">
1764<a name="gst-discoverer-audio-info-get-depth"></a><h3>gst_discoverer_audio_info_get_depth ()</h3>
1765<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1766gst_discoverer_audio_info_get_depth (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1767<div class="refsect3">
1768<a name="gst-discoverer-audio-info-get-depth.parameters"></a><h4>Parameters</h4>
1769<div class="informaltable"><table class="informaltable" width="100%" border="0">
1770<colgroup>
1771<col width="150px" class="parameters_name">
1772<col class="parameters_description">
1773<col width="200px" class="parameters_annotations">
1774</colgroup>
1775<tbody><tr>
1776<td class="parameter_name"><p>info</p></td>
1777<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1778<td class="parameter_annotations"> </td>
1779</tr></tbody>
1780</table></div>
1781</div>
1782<div class="refsect3">
1783<a name="gst-discoverer-audio-info-get-depth.returns"></a><h4>Returns</h4>
1784<p> the number of bits used per sample in each channel.</p>
1785</div>
1786</div>
1787<hr>
1788<div class="refsect2">
1789<a name="gst-discoverer-audio-info-get-language"></a><h3>gst_discoverer_audio_info_get_language ()</h3>
1790<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1791gst_discoverer_audio_info_get_language
1792                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1793<div class="refsect3">
1794<a name="gst-discoverer-audio-info-get-language.parameters"></a><h4>Parameters</h4>
1795<div class="informaltable"><table class="informaltable" width="100%" border="0">
1796<colgroup>
1797<col width="150px" class="parameters_name">
1798<col class="parameters_description">
1799<col width="200px" class="parameters_annotations">
1800</colgroup>
1801<tbody><tr>
1802<td class="parameter_name"><p>info</p></td>
1803<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1804<td class="parameter_annotations"> </td>
1805</tr></tbody>
1806</table></div>
1807</div>
1808<div class="refsect3">
1809<a name="gst-discoverer-audio-info-get-language.returns"></a><h4>Returns</h4>
1810<p> the language of the stream, or NULL if unknown.</p>
1811</div>
1812</div>
1813<hr>
1814<div class="refsect2">
1815<a name="gst-discoverer-audio-info-get-max-bitrate"></a><h3>gst_discoverer_audio_info_get_max_bitrate ()</h3>
1816<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1817gst_discoverer_audio_info_get_max_bitrate
1818                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1819<div class="refsect3">
1820<a name="gst-discoverer-audio-info-get-max-bitrate.parameters"></a><h4>Parameters</h4>
1821<div class="informaltable"><table class="informaltable" width="100%" border="0">
1822<colgroup>
1823<col width="150px" class="parameters_name">
1824<col class="parameters_description">
1825<col width="200px" class="parameters_annotations">
1826</colgroup>
1827<tbody><tr>
1828<td class="parameter_name"><p>info</p></td>
1829<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1830<td class="parameter_annotations"> </td>
1831</tr></tbody>
1832</table></div>
1833</div>
1834<div class="refsect3">
1835<a name="gst-discoverer-audio-info-get-max-bitrate.returns"></a><h4>Returns</h4>
1836<p> the maximum bitrate of the stream in bits/second.</p>
1837</div>
1838</div>
1839<hr>
1840<div class="refsect2">
1841<a name="gst-discoverer-audio-info-get-sample-rate"></a><h3>gst_discoverer_audio_info_get_sample_rate ()</h3>
1842<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1843gst_discoverer_audio_info_get_sample_rate
1844                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> *info</code></em>);</pre>
1845<div class="refsect3">
1846<a name="gst-discoverer-audio-info-get-sample-rate.parameters"></a><h4>Parameters</h4>
1847<div class="informaltable"><table class="informaltable" width="100%" border="0">
1848<colgroup>
1849<col width="150px" class="parameters_name">
1850<col class="parameters_description">
1851<col width="200px" class="parameters_annotations">
1852</colgroup>
1853<tbody><tr>
1854<td class="parameter_name"><p>info</p></td>
1855<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a></p></td>
1856<td class="parameter_annotations"> </td>
1857</tr></tbody>
1858</table></div>
1859</div>
1860<div class="refsect3">
1861<a name="gst-discoverer-audio-info-get-sample-rate.returns"></a><h4>Returns</h4>
1862<p> the sample rate of the stream in Hertz.</p>
1863</div>
1864</div>
1865<hr>
1866<div class="refsect2">
1867<a name="gst-discoverer-container-info-get-streams"></a><h3>gst_discoverer_container_info_get_streams ()</h3>
1868<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
1869gst_discoverer_container_info_get_streams
1870                               (<em class="parameter"><code><a class="link" href="GstDiscoverer.html#GstDiscovererContainerInfo" title="GstDiscovererContainerInfo"><span class="type">GstDiscovererContainerInfo</span></a> *info</code></em>);</pre>
1871<div class="refsect3">
1872<a name="gst-discoverer-container-info-get-streams.parameters"></a><h4>Parameters</h4>
1873<div class="informaltable"><table class="informaltable" width="100%" border="0">
1874<colgroup>
1875<col width="150px" class="parameters_name">
1876<col class="parameters_description">
1877<col width="200px" class="parameters_annotations">
1878</colgroup>
1879<tbody><tr>
1880<td class="parameter_name"><p>info</p></td>
1881<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a></p></td>
1882<td class="parameter_annotations"> </td>
1883</tr></tbody>
1884</table></div>
1885</div>
1886<div class="refsect3">
1887<a name="gst-discoverer-container-info-get-streams.returns"></a><h4>Returns</h4>
1888<p>the list of
1889<a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> this container stream offers.
1890Free with <a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-list-free" title="gst_discoverer_stream_info_list_free ()"><code class="function">gst_discoverer_stream_info_list_free()</code></a> after usage. </p>
1891<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstPbutils.DiscovererStreamInfo]</span></p>
1892</div>
1893</div>
1894<hr>
1895<div class="refsect2">
1896<a name="gst-discoverer-subtitle-info-get-language"></a><h3>gst_discoverer_subtitle_info_get_language ()</h3>
1897<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1898gst_discoverer_subtitle_info_get_language
1899                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererSubtitleInfo" title="GstDiscovererSubtitleInfo"><span class="type">GstDiscovererSubtitleInfo</span></a> *info</code></em>);</pre>
1900<div class="refsect3">
1901<a name="gst-discoverer-subtitle-info-get-language.parameters"></a><h4>Parameters</h4>
1902<div class="informaltable"><table class="informaltable" width="100%" border="0">
1903<colgroup>
1904<col width="150px" class="parameters_name">
1905<col class="parameters_description">
1906<col width="200px" class="parameters_annotations">
1907</colgroup>
1908<tbody><tr>
1909<td class="parameter_name"><p>info</p></td>
1910<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererSubtitleInfo" title="GstDiscovererSubtitleInfo"><span class="type">GstDiscovererSubtitleInfo</span></a></p></td>
1911<td class="parameter_annotations"> </td>
1912</tr></tbody>
1913</table></div>
1914</div>
1915<div class="refsect3">
1916<a name="gst-discoverer-subtitle-info-get-language.returns"></a><h4>Returns</h4>
1917<p> the language of the stream, or NULL if unknown.</p>
1918</div>
1919</div>
1920<hr>
1921<div class="refsect2">
1922<a name="gst-discoverer-video-info-get-bitrate"></a><h3>gst_discoverer_video_info_get_bitrate ()</h3>
1923<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1924gst_discoverer_video_info_get_bitrate (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
1925<div class="refsect3">
1926<a name="gst-discoverer-video-info-get-bitrate.parameters"></a><h4>Parameters</h4>
1927<div class="informaltable"><table class="informaltable" width="100%" border="0">
1928<colgroup>
1929<col width="150px" class="parameters_name">
1930<col class="parameters_description">
1931<col width="200px" class="parameters_annotations">
1932</colgroup>
1933<tbody><tr>
1934<td class="parameter_name"><p>info</p></td>
1935<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
1936<td class="parameter_annotations"> </td>
1937</tr></tbody>
1938</table></div>
1939</div>
1940<div class="refsect3">
1941<a name="gst-discoverer-video-info-get-bitrate.returns"></a><h4>Returns</h4>
1942<p> the average or nominal bitrate of the video stream in bits/second.</p>
1943</div>
1944</div>
1945<hr>
1946<div class="refsect2">
1947<a name="gst-discoverer-video-info-get-depth"></a><h3>gst_discoverer_video_info_get_depth ()</h3>
1948<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1949gst_discoverer_video_info_get_depth (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
1950<div class="refsect3">
1951<a name="gst-discoverer-video-info-get-depth.parameters"></a><h4>Parameters</h4>
1952<div class="informaltable"><table class="informaltable" width="100%" border="0">
1953<colgroup>
1954<col width="150px" class="parameters_name">
1955<col class="parameters_description">
1956<col width="200px" class="parameters_annotations">
1957</colgroup>
1958<tbody><tr>
1959<td class="parameter_name"><p>info</p></td>
1960<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
1961<td class="parameter_annotations"> </td>
1962</tr></tbody>
1963</table></div>
1964</div>
1965<div class="refsect3">
1966<a name="gst-discoverer-video-info-get-depth.returns"></a><h4>Returns</h4>
1967<p> the depth in bits of the video stream.</p>
1968</div>
1969</div>
1970<hr>
1971<div class="refsect2">
1972<a name="gst-discoverer-video-info-get-framerate-denom"></a><h3>gst_discoverer_video_info_get_framerate_denom ()</h3>
1973<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1974gst_discoverer_video_info_get_framerate_denom
1975                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
1976<div class="refsect3">
1977<a name="gst-discoverer-video-info-get-framerate-denom.parameters"></a><h4>Parameters</h4>
1978<div class="informaltable"><table class="informaltable" width="100%" border="0">
1979<colgroup>
1980<col width="150px" class="parameters_name">
1981<col class="parameters_description">
1982<col width="200px" class="parameters_annotations">
1983</colgroup>
1984<tbody><tr>
1985<td class="parameter_name"><p>info</p></td>
1986<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
1987<td class="parameter_annotations"> </td>
1988</tr></tbody>
1989</table></div>
1990</div>
1991<div class="refsect3">
1992<a name="gst-discoverer-video-info-get-framerate-denom.returns"></a><h4>Returns</h4>
1993<p> the framerate of the video stream (denominator).</p>
1994</div>
1995</div>
1996<hr>
1997<div class="refsect2">
1998<a name="gst-discoverer-video-info-get-framerate-num"></a><h3>gst_discoverer_video_info_get_framerate_num ()</h3>
1999<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2000gst_discoverer_video_info_get_framerate_num
2001                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2002<div class="refsect3">
2003<a name="gst-discoverer-video-info-get-framerate-num.parameters"></a><h4>Parameters</h4>
2004<div class="informaltable"><table class="informaltable" width="100%" border="0">
2005<colgroup>
2006<col width="150px" class="parameters_name">
2007<col class="parameters_description">
2008<col width="200px" class="parameters_annotations">
2009</colgroup>
2010<tbody><tr>
2011<td class="parameter_name"><p>info</p></td>
2012<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2013<td class="parameter_annotations"> </td>
2014</tr></tbody>
2015</table></div>
2016</div>
2017<div class="refsect3">
2018<a name="gst-discoverer-video-info-get-framerate-num.returns"></a><h4>Returns</h4>
2019<p> the framerate of the video stream (numerator).</p>
2020</div>
2021</div>
2022<hr>
2023<div class="refsect2">
2024<a name="gst-discoverer-video-info-get-height"></a><h3>gst_discoverer_video_info_get_height ()</h3>
2025<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2026gst_discoverer_video_info_get_height (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2027<div class="refsect3">
2028<a name="gst-discoverer-video-info-get-height.parameters"></a><h4>Parameters</h4>
2029<div class="informaltable"><table class="informaltable" width="100%" border="0">
2030<colgroup>
2031<col width="150px" class="parameters_name">
2032<col class="parameters_description">
2033<col width="200px" class="parameters_annotations">
2034</colgroup>
2035<tbody><tr>
2036<td class="parameter_name"><p>info</p></td>
2037<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2038<td class="parameter_annotations"> </td>
2039</tr></tbody>
2040</table></div>
2041</div>
2042<div class="refsect3">
2043<a name="gst-discoverer-video-info-get-height.returns"></a><h4>Returns</h4>
2044<p> the height of the video stream in pixels.</p>
2045</div>
2046</div>
2047<hr>
2048<div class="refsect2">
2049<a name="gst-discoverer-video-info-is-interlaced"></a><h3>gst_discoverer_video_info_is_interlaced ()</h3>
2050<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2051gst_discoverer_video_info_is_interlaced
2052                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2053<div class="refsect3">
2054<a name="gst-discoverer-video-info-is-interlaced.parameters"></a><h4>Parameters</h4>
2055<div class="informaltable"><table class="informaltable" width="100%" border="0">
2056<colgroup>
2057<col width="150px" class="parameters_name">
2058<col class="parameters_description">
2059<col width="200px" class="parameters_annotations">
2060</colgroup>
2061<tbody><tr>
2062<td class="parameter_name"><p>info</p></td>
2063<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2064<td class="parameter_annotations"> </td>
2065</tr></tbody>
2066</table></div>
2067</div>
2068<div class="refsect3">
2069<a name="gst-discoverer-video-info-is-interlaced.returns"></a><h4>Returns</h4>
2070<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the stream is interlaced, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
2071</div>
2072</div>
2073<hr>
2074<div class="refsect2">
2075<a name="gst-discoverer-video-info-is-image"></a><h3>gst_discoverer_video_info_is_image ()</h3>
2076<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2077gst_discoverer_video_info_is_image (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2078<div class="refsect3">
2079<a name="gst-discoverer-video-info-is-image.parameters"></a><h4>Parameters</h4>
2080<div class="informaltable"><table class="informaltable" width="100%" border="0">
2081<colgroup>
2082<col width="150px" class="parameters_name">
2083<col class="parameters_description">
2084<col width="200px" class="parameters_annotations">
2085</colgroup>
2086<tbody><tr>
2087<td class="parameter_name"><p>info</p></td>
2088<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2089<td class="parameter_annotations"> </td>
2090</tr></tbody>
2091</table></div>
2092</div>
2093<div class="refsect3">
2094<a name="gst-discoverer-video-info-is-image.returns"></a><h4>Returns</h4>
2095<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the video stream corresponds to an image (i.e. only contains
2096one frame).</p>
2097</div>
2098</div>
2099<hr>
2100<div class="refsect2">
2101<a name="gst-discoverer-video-info-get-max-bitrate"></a><h3>gst_discoverer_video_info_get_max_bitrate ()</h3>
2102<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2103gst_discoverer_video_info_get_max_bitrate
2104                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2105<div class="refsect3">
2106<a name="gst-discoverer-video-info-get-max-bitrate.parameters"></a><h4>Parameters</h4>
2107<div class="informaltable"><table class="informaltable" width="100%" border="0">
2108<colgroup>
2109<col width="150px" class="parameters_name">
2110<col class="parameters_description">
2111<col width="200px" class="parameters_annotations">
2112</colgroup>
2113<tbody><tr>
2114<td class="parameter_name"><p>info</p></td>
2115<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2116<td class="parameter_annotations"> </td>
2117</tr></tbody>
2118</table></div>
2119</div>
2120<div class="refsect3">
2121<a name="gst-discoverer-video-info-get-max-bitrate.returns"></a><h4>Returns</h4>
2122<p> the maximum bitrate of the video stream in bits/second.</p>
2123</div>
2124</div>
2125<hr>
2126<div class="refsect2">
2127<a name="gst-discoverer-video-info-get-par-denom"></a><h3>gst_discoverer_video_info_get_par_denom ()</h3>
2128<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2129gst_discoverer_video_info_get_par_denom
2130                               (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2131<div class="refsect3">
2132<a name="gst-discoverer-video-info-get-par-denom.parameters"></a><h4>Parameters</h4>
2133<div class="informaltable"><table class="informaltable" width="100%" border="0">
2134<colgroup>
2135<col width="150px" class="parameters_name">
2136<col class="parameters_description">
2137<col width="200px" class="parameters_annotations">
2138</colgroup>
2139<tbody><tr>
2140<td class="parameter_name"><p>info</p></td>
2141<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2142<td class="parameter_annotations"> </td>
2143</tr></tbody>
2144</table></div>
2145</div>
2146<div class="refsect3">
2147<a name="gst-discoverer-video-info-get-par-denom.returns"></a><h4>Returns</h4>
2148<p> the Pixel Aspect Ratio (PAR) of the video stream (denominator).</p>
2149</div>
2150</div>
2151<hr>
2152<div class="refsect2">
2153<a name="gst-discoverer-video-info-get-par-num"></a><h3>gst_discoverer_video_info_get_par_num ()</h3>
2154<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2155gst_discoverer_video_info_get_par_num (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2156<div class="refsect3">
2157<a name="gst-discoverer-video-info-get-par-num.parameters"></a><h4>Parameters</h4>
2158<div class="informaltable"><table class="informaltable" width="100%" border="0">
2159<colgroup>
2160<col width="150px" class="parameters_name">
2161<col class="parameters_description">
2162<col width="200px" class="parameters_annotations">
2163</colgroup>
2164<tbody><tr>
2165<td class="parameter_name"><p>info</p></td>
2166<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2167<td class="parameter_annotations"> </td>
2168</tr></tbody>
2169</table></div>
2170</div>
2171<div class="refsect3">
2172<a name="gst-discoverer-video-info-get-par-num.returns"></a><h4>Returns</h4>
2173<p> the Pixel Aspect Ratio (PAR) of the video stream (numerator).</p>
2174</div>
2175</div>
2176<hr>
2177<div class="refsect2">
2178<a name="gst-discoverer-video-info-get-width"></a><h3>gst_discoverer_video_info_get_width ()</h3>
2179<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2180gst_discoverer_video_info_get_width (<em class="parameter"><code>const <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> *info</code></em>);</pre>
2181<div class="refsect3">
2182<a name="gst-discoverer-video-info-get-width.parameters"></a><h4>Parameters</h4>
2183<div class="informaltable"><table class="informaltable" width="100%" border="0">
2184<colgroup>
2185<col width="150px" class="parameters_name">
2186<col class="parameters_description">
2187<col width="200px" class="parameters_annotations">
2188</colgroup>
2189<tbody><tr>
2190<td class="parameter_name"><p>info</p></td>
2191<td class="parameter_description"><p>a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a></p></td>
2192<td class="parameter_annotations"> </td>
2193</tr></tbody>
2194</table></div>
2195</div>
2196<div class="refsect3">
2197<a name="gst-discoverer-video-info-get-width.returns"></a><h4>Returns</h4>
2198<p> the width of the video stream in pixels.</p>
2199</div>
2200</div>
2201</div>
2202<div class="refsect1">
2203<a name="GstDiscoverer.other_details"></a><h2>Types and Values</h2>
2204<div class="refsect2">
2205<a name="GstDiscoverer-struct"></a><h3>struct GstDiscoverer</h3>
2206<pre class="programlisting">struct GstDiscoverer;</pre>
2207<p>The <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> structure.</p>
2208</div>
2209<hr>
2210<div class="refsect2">
2211<a name="GstDiscovererInfo-struct"></a><h3>GstDiscovererInfo</h3>
2212<pre class="programlisting">typedef struct _GstDiscovererInfo GstDiscovererInfo;</pre>
2213<p>Structure containing the information of a URI analyzed by <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a>.</p>
2214</div>
2215<hr>
2216<div class="refsect2">
2217<a name="GstDiscovererResult"></a><h3>enum GstDiscovererResult</h3>
2218<p>Result values for the discovery process.</p>
2219<div class="refsect3">
2220<a name="GstDiscovererResult.members"></a><h4>Members</h4>
2221<div class="informaltable"><table class="informaltable" width="100%" border="0">
2222<colgroup>
2223<col width="300px" class="enum_members_name">
2224<col class="enum_members_description">
2225<col width="200px" class="enum_members_annotations">
2226</colgroup>
2227<tbody>
2228<tr>
2229<td class="enum_member_name"><p><a name="GST-DISCOVERER-OK:CAPS"></a>GST_DISCOVERER_OK</p></td>
2230<td class="enum_member_description">
2231<p>The discovery was successful</p>
2232</td>
2233<td class="enum_member_annotations"> </td>
2234</tr>
2235<tr>
2236<td class="enum_member_name"><p><a name="GST-DISCOVERER-URI-INVALID:CAPS"></a>GST_DISCOVERER_URI_INVALID</p></td>
2237<td class="enum_member_description">
2238<p>the URI is invalid</p>
2239</td>
2240<td class="enum_member_annotations"> </td>
2241</tr>
2242<tr>
2243<td class="enum_member_name"><p><a name="GST-DISCOVERER-ERROR:CAPS"></a>GST_DISCOVERER_ERROR</p></td>
2244<td class="enum_member_description">
2245<p>an error happened and the GError is set</p>
2246</td>
2247<td class="enum_member_annotations"> </td>
2248</tr>
2249<tr>
2250<td class="enum_member_name"><p><a name="GST-DISCOVERER-TIMEOUT:CAPS"></a>GST_DISCOVERER_TIMEOUT</p></td>
2251<td class="enum_member_description">
2252<p>the discovery timed-out</p>
2253</td>
2254<td class="enum_member_annotations"> </td>
2255</tr>
2256<tr>
2257<td class="enum_member_name"><p><a name="GST-DISCOVERER-BUSY:CAPS"></a>GST_DISCOVERER_BUSY</p></td>
2258<td class="enum_member_description">
2259<p>the discoverer was already discovering a file</p>
2260</td>
2261<td class="enum_member_annotations"> </td>
2262</tr>
2263<tr>
2264<td class="enum_member_name"><p><a name="GST-DISCOVERER-MISSING-PLUGINS:CAPS"></a>GST_DISCOVERER_MISSING_PLUGINS</p></td>
2265<td class="enum_member_description">
2266<p>Some plugins are missing for full discovery</p>
2267</td>
2268<td class="enum_member_annotations"> </td>
2269</tr>
2270</tbody>
2271</table></div>
2272</div>
2273</div>
2274<hr>
2275<div class="refsect2">
2276<a name="GstDiscovererSerializeFlags"></a><h3>enum GstDiscovererSerializeFlags</h3>
2277<p>You can use these flags to control what is serialized by
2278<a class="link" href="GstDiscoverer.html#gst-discoverer-info-to-variant" title="gst_discoverer_info_to_variant ()"><code class="function">gst_discoverer_info_to_variant()</code></a></p>
2279<div class="refsect3">
2280<a name="GstDiscovererSerializeFlags.members"></a><h4>Members</h4>
2281<div class="informaltable"><table class="informaltable" width="100%" border="0">
2282<colgroup>
2283<col width="300px" class="enum_members_name">
2284<col class="enum_members_description">
2285<col width="200px" class="enum_members_annotations">
2286</colgroup>
2287<tbody>
2288<tr>
2289<td class="enum_member_name"><p><a name="GST-DISCOVERER-SERIALIZE-BASIC:CAPS"></a>GST_DISCOVERER_SERIALIZE_BASIC</p></td>
2290<td class="enum_member_description">
2291<p>Serialize only basic information, excluding
2292caps, tags and miscellaneous information</p>
2293</td>
2294<td class="enum_member_annotations"> </td>
2295</tr>
2296<tr>
2297<td class="enum_member_name"><p><a name="GST-DISCOVERER-SERIALIZE-CAPS"></a>GST_DISCOVERER_SERIALIZE_CAPS</p></td>
2298<td class="enum_member_description">
2299<p>Serialize the caps for each stream</p>
2300</td>
2301<td class="enum_member_annotations"> </td>
2302</tr>
2303<tr>
2304<td class="enum_member_name"><p><a name="GST-DISCOVERER-SERIALIZE-TAGS:CAPS"></a>GST_DISCOVERER_SERIALIZE_TAGS</p></td>
2305<td class="enum_member_description">
2306<p>Serialize the tags for each stream</p>
2307</td>
2308<td class="enum_member_annotations"> </td>
2309</tr>
2310<tr>
2311<td class="enum_member_name"><p><a name="GST-DISCOVERER-SERIALIZE-MISC:CAPS"></a>GST_DISCOVERER_SERIALIZE_MISC</p></td>
2312<td class="enum_member_description">
2313<p>Serialize miscellaneous information for each stream</p>
2314</td>
2315<td class="enum_member_annotations"> </td>
2316</tr>
2317<tr>
2318<td class="enum_member_name"><p><a name="GST-DISCOVERER-SERIALIZE-ALL:CAPS"></a>GST_DISCOVERER_SERIALIZE_ALL</p></td>
2319<td class="enum_member_description">
2320<p>Serialize all the available info, including
2321caps, tags and miscellaneous information</p>
2322</td>
2323<td class="enum_member_annotations"> </td>
2324</tr>
2325</tbody>
2326</table></div>
2327</div>
2328<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
2329</div>
2330<hr>
2331<div class="refsect2">
2332<a name="GstDiscovererStreamInfo"></a><h3>GstDiscovererStreamInfo</h3>
2333<pre class="programlisting">typedef struct _GstDiscovererStreamInfo GstDiscovererStreamInfo;</pre>
2334<p>Base structure for information concerning a media stream. Depending on the
2335stream type, one can find more media-specific information in
2336<a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a>, <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a>, and
2337<a class="link" href="GstDiscoverer.html#GstDiscovererContainerInfo" title="GstDiscovererContainerInfo"><span class="type">GstDiscovererContainerInfo</span></a>.</p>
2338<p>The <a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> represents the topology of the stream. Siblings
2339can be iterated over with <a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-next" title="gst_discoverer_stream_info_get_next ()"><code class="function">gst_discoverer_stream_info_get_next()</code></a> and
2340<a class="link" href="GstDiscoverer.html#gst-discoverer-stream-info-get-previous" title="gst_discoverer_stream_info_get_previous ()"><code class="function">gst_discoverer_stream_info_get_previous()</code></a>. Children (sub-streams) of a
2341stream can be accessed using the <a class="link" href="GstDiscoverer.html#GstDiscovererContainerInfo" title="GstDiscovererContainerInfo"><span class="type">GstDiscovererContainerInfo</span></a> API.</p>
2342<p>As a simple example, if you run <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> on an AVI file with one audio
2343and one video stream, you will get a <a class="link" href="GstDiscoverer.html#GstDiscovererContainerInfo" title="GstDiscovererContainerInfo"><span class="type">GstDiscovererContainerInfo</span></a>
2344corresponding to the AVI container, which in turn will have a
2345<a class="link" href="GstDiscoverer.html#GstDiscovererAudioInfo" title="GstDiscovererAudioInfo"><span class="type">GstDiscovererAudioInfo</span></a> sub-stream and a <a class="link" href="GstDiscoverer.html#GstDiscovererVideoInfo" title="GstDiscovererVideoInfo"><span class="type">GstDiscovererVideoInfo</span></a> sub-stream
2346for the audio and video streams respectively.</p>
2347</div>
2348<hr>
2349<div class="refsect2">
2350<a name="GstDiscovererContainerInfo"></a><h3>GstDiscovererContainerInfo</h3>
2351<pre class="programlisting">typedef struct _GstDiscovererContainerInfo GstDiscovererContainerInfo;</pre>
2352<p><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> specific to container streams.</p>
2353</div>
2354<hr>
2355<div class="refsect2">
2356<a name="GstDiscovererAudioInfo"></a><h3>GstDiscovererAudioInfo</h3>
2357<pre class="programlisting">typedef struct _GstDiscovererAudioInfo GstDiscovererAudioInfo;</pre>
2358<p><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> specific to audio streams.</p>
2359</div>
2360<hr>
2361<div class="refsect2">
2362<a name="GstDiscovererVideoInfo"></a><h3>GstDiscovererVideoInfo</h3>
2363<pre class="programlisting">typedef struct _GstDiscovererVideoInfo GstDiscovererVideoInfo;</pre>
2364<p><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> specific to video streams (this includes images).</p>
2365</div>
2366<hr>
2367<div class="refsect2">
2368<a name="GstDiscovererSubtitleInfo"></a><h3>GstDiscovererSubtitleInfo</h3>
2369<pre class="programlisting">typedef struct _GstDiscovererSubtitleInfo GstDiscovererSubtitleInfo;</pre>
2370<p><a class="link" href="GstDiscoverer.html#GstDiscovererStreamInfo" title="GstDiscovererStreamInfo"><span class="type">GstDiscovererStreamInfo</span></a> specific to subtitle streams (this includes text and
2371image based ones).</p>
2372</div>
2373</div>
2374<div class="refsect1">
2375<a name="GstDiscoverer.property-details"></a><h2>Property Details</h2>
2376<div class="refsect2">
2377<a name="GstDiscoverer--timeout"></a><h3>The <code class="literal">“timeout”</code> property</h3>
2378<pre class="programlisting">  “timeout”                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
2379<p>The duration (in nanoseconds) after which the discovery of an individual
2380URI will timeout.</p>
2381<p>If the discovery of a URI times out, the <a class="link" href="GstDiscoverer.html#GST-DISCOVERER-TIMEOUT:CAPS"><code class="literal">GST_DISCOVERER_TIMEOUT</code></a> will be
2382set on the result flags.</p>
2383<p>Flags: Read / Write / Construct</p>
2384<p>Allowed values: [1000000000,3600000000000]</p>
2385<p>Default value: 15000000000</p>
2386</div>
2387<hr>
2388<div class="refsect2">
2389<a name="GstDiscoverer--use-cache"></a><h3>The <code class="literal">“use-cache”</code> property</h3>
2390<pre class="programlisting">  “use-cache”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2391<p>Use cache.</p>
2392<p>Flags: Read / Write / Construct</p>
2393<p>Default value: FALSE</p>
2394</div>
2395</div>
2396<div class="refsect1">
2397<a name="GstDiscoverer.signal-details"></a><h2>Signal Details</h2>
2398<div class="refsect2">
2399<a name="GstDiscoverer-discovered"></a><h3>The <code class="literal">“discovered”</code> signal</h3>
2400<pre class="programlisting"><span class="returnvalue">void</span>
2401user_function (<a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a>     *discoverer,
2402               <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a> *info,
2403               <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>            *error,
2404               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)</pre>
2405<p>Will be emitted in async mode when all information on a URI could be
2406discovered, or an error occurred.</p>
2407<p>When an error occurs, <em class="parameter"><code>info</code></em>
2408 might still contain some partial information,
2409depending on the circumstances of the error.</p>
2410<div class="refsect3">
2411<a name="GstDiscoverer-discovered.parameters"></a><h4>Parameters</h4>
2412<div class="informaltable"><table class="informaltable" width="100%" border="0">
2413<colgroup>
2414<col width="150px" class="parameters_name">
2415<col class="parameters_description">
2416<col width="200px" class="parameters_annotations">
2417</colgroup>
2418<tbody>
2419<tr>
2420<td class="parameter_name"><p>discoverer</p></td>
2421<td class="parameter_description"><p>the <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
2422<td class="parameter_annotations"> </td>
2423</tr>
2424<tr>
2425<td class="parameter_name"><p>info</p></td>
2426<td class="parameter_description"><p>the results <a class="link" href="GstDiscoverer.html#GstDiscovererInfo"><span class="type">GstDiscovererInfo</span></a></p></td>
2427<td class="parameter_annotations"> </td>
2428</tr>
2429<tr>
2430<td class="parameter_name"><p>error</p></td>
2431<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, which will be non-NULL
2432if an error occurred during
2433discovery. You must not free
2434this <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, it will be freed by
2435the discoverer. </p></td>
2436<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GLib.Error]</span></td>
2437</tr>
2438<tr>
2439<td class="parameter_name"><p>user_data</p></td>
2440<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2441<td class="parameter_annotations"> </td>
2442</tr>
2443</tbody>
2444</table></div>
2445</div>
2446<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2447</div>
2448<hr>
2449<div class="refsect2">
2450<a name="GstDiscoverer-finished"></a><h3>The <code class="literal">“finished”</code> signal</h3>
2451<pre class="programlisting"><span class="returnvalue">void</span>
2452user_function (<a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer,
2453               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
2454<p>Will be emitted in async mode when all pending URIs have been processed.</p>
2455<div class="refsect3">
2456<a name="GstDiscoverer-finished.parameters"></a><h4>Parameters</h4>
2457<div class="informaltable"><table class="informaltable" width="100%" border="0">
2458<colgroup>
2459<col width="150px" class="parameters_name">
2460<col class="parameters_description">
2461<col width="200px" class="parameters_annotations">
2462</colgroup>
2463<tbody>
2464<tr>
2465<td class="parameter_name"><p>discoverer</p></td>
2466<td class="parameter_description"><p>the <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
2467<td class="parameter_annotations"> </td>
2468</tr>
2469<tr>
2470<td class="parameter_name"><p>user_data</p></td>
2471<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2472<td class="parameter_annotations"> </td>
2473</tr>
2474</tbody>
2475</table></div>
2476</div>
2477<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2478</div>
2479<hr>
2480<div class="refsect2">
2481<a name="GstDiscoverer-source-setup"></a><h3>The <code class="literal">“source-setup”</code> signal</h3>
2482<pre class="programlisting"><span class="returnvalue">void</span>
2483user_function (<a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer,
2484               <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a>    *source,
2485               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
2486<p>This signal is emitted after the source element has been created for, so
2487the URI being discovered, so it can be configured by setting additional
2488properties (e.g. set a proxy server for an http source, or set the device
2489and read speed for an audio cd source).</p>
2490<p>This signal is usually emitted from the context of a GStreamer streaming
2491thread.</p>
2492<div class="refsect3">
2493<a name="GstDiscoverer-source-setup.parameters"></a><h4>Parameters</h4>
2494<div class="informaltable"><table class="informaltable" width="100%" border="0">
2495<colgroup>
2496<col width="150px" class="parameters_name">
2497<col class="parameters_description">
2498<col width="200px" class="parameters_annotations">
2499</colgroup>
2500<tbody>
2501<tr>
2502<td class="parameter_name"><p>discoverer</p></td>
2503<td class="parameter_description"><p>the <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
2504<td class="parameter_annotations"> </td>
2505</tr>
2506<tr>
2507<td class="parameter_name"><p>source</p></td>
2508<td class="parameter_description"><p>source element</p></td>
2509<td class="parameter_annotations"> </td>
2510</tr>
2511<tr>
2512<td class="parameter_name"><p>user_data</p></td>
2513<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2514<td class="parameter_annotations"> </td>
2515</tr>
2516</tbody>
2517</table></div>
2518</div>
2519<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2520</div>
2521<hr>
2522<div class="refsect2">
2523<a name="GstDiscoverer-starting"></a><h3>The <code class="literal">“starting”</code> signal</h3>
2524<pre class="programlisting"><span class="returnvalue">void</span>
2525user_function (<a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a> *discoverer,
2526               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
2527<p>Will be emitted when the discover starts analyzing the pending URIs</p>
2528<div class="refsect3">
2529<a name="GstDiscoverer-starting.parameters"></a><h4>Parameters</h4>
2530<div class="informaltable"><table class="informaltable" width="100%" border="0">
2531<colgroup>
2532<col width="150px" class="parameters_name">
2533<col class="parameters_description">
2534<col width="200px" class="parameters_annotations">
2535</colgroup>
2536<tbody>
2537<tr>
2538<td class="parameter_name"><p>discoverer</p></td>
2539<td class="parameter_description"><p>the <a class="link" href="GstDiscoverer.html" title="GstDiscoverer"><span class="type">GstDiscoverer</span></a></p></td>
2540<td class="parameter_annotations"> </td>
2541</tr>
2542<tr>
2543<td class="parameter_name"><p>user_data</p></td>
2544<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2545<td class="parameter_annotations"> </td>
2546</tr>
2547</tbody>
2548</table></div>
2549</div>
2550<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2551</div>
2552</div>
2553</div>
2554<div class="footer">
2555<hr>Generated by GTK-Doc V1.28</div>
2556</body>
2557</html>