• 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>GstPlayer: GStreamer Bad 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 Bad Plugins 1.0 Library Reference Manual">
8<link rel="up" href="player.html" title="Player Library">
9<link rel="prev" href="player.html" title="Player Library">
10<link rel="next" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo">
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="#GstPlayer.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#GstPlayer.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites">  <span class="dim">|</span20                  <a href="#GstPlayer.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span21                  <a href="#GstPlayer.implementations" class="shortcut">Known Implementations</a></span><span id="nav_properties">  <span class="dim">|</span22                  <a href="#GstPlayer.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span23                  <a href="#GstPlayer.signals" class="shortcut">Signals</a></span>
24</td>
25<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
26<td><a accesskey="u" href="player.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
27<td><a accesskey="p" href="player.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
28<td><a accesskey="n" href="GstPlayerMediaInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
29</tr></table>
30<div class="refentry">
31<a name="GstPlayer"></a><div class="titlepage"></div>
32<div class="refnamediv"><table width="100%"><tr>
33<td valign="top">
34<h2><span class="refentrytitle"><a name="GstPlayer.top_of_page"></a>GstPlayer</span></h2>
35<p>GstPlayer — Player</p>
36</td>
37<td class="gallery_image" valign="top" align="right"></td>
38</tr></table></div>
39<div class="refsect1">
40<a name="GstPlayer.functions"></a><h2>Functions</h2>
41<div class="informaltable"><table class="informaltable" width="100%" border="0">
42<colgroup>
43<col width="150px" class="functions_return">
44<col class="functions_name">
45</colgroup>
46<tbody>
47<tr>
48<td class="function_type">
49<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="returnvalue">GstPlayer</span></a> *
50</td>
51<td class="function_name">
52<a class="link" href="GstPlayer.html#gst-player-new" title="gst_player_new ()">gst_player_new</a> <span class="c_punctuation">()</span>
53</td>
54</tr>
55<tr>
56<td class="function_type">
57<span class="returnvalue">void</span>
58</td>
59<td class="function_name">
60<a class="link" href="GstPlayer.html#gst-player-play" title="gst_player_play ()">gst_player_play</a> <span class="c_punctuation">()</span>
61</td>
62</tr>
63<tr>
64<td class="function_type">
65<span class="returnvalue">void</span>
66</td>
67<td class="function_name">
68<a class="link" href="GstPlayer.html#gst-player-pause" title="gst_player_pause ()">gst_player_pause</a> <span class="c_punctuation">()</span>
69</td>
70</tr>
71<tr>
72<td class="function_type">
73<span class="returnvalue">void</span>
74</td>
75<td class="function_name">
76<a class="link" href="GstPlayer.html#gst-player-stop" title="gst_player_stop ()">gst_player_stop</a> <span class="c_punctuation">()</span>
77</td>
78</tr>
79<tr>
80<td class="function_type">
81<span class="returnvalue">void</span>
82</td>
83<td class="function_name">
84<a class="link" href="GstPlayer.html#gst-player-seek" title="gst_player_seek ()">gst_player_seek</a> <span class="c_punctuation">()</span>
85</td>
86</tr>
87<tr>
88<td class="function_type">
89<span class="returnvalue">void</span>
90</td>
91<td class="function_name">
92<a class="link" href="GstPlayer.html#gst-player-set-uri" title="gst_player_set_uri ()">gst_player_set_uri</a> <span class="c_punctuation">()</span>
93</td>
94</tr>
95<tr>
96<td class="function_type">
97<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
98</td>
99<td class="function_name">
100<a class="link" href="GstPlayer.html#gst-player-get-uri" title="gst_player_get_uri ()">gst_player_get_uri</a> <span class="c_punctuation">()</span>
101</td>
102</tr>
103<tr>
104<td class="function_type">
105<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
106</td>
107<td class="function_name">
108<a class="link" href="GstPlayer.html#gst-player-get-duration" title="gst_player_get_duration ()">gst_player_get_duration</a> <span class="c_punctuation">()</span>
109</td>
110</tr>
111<tr>
112<td class="function_type">
113<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
114</td>
115<td class="function_name">
116<a class="link" href="GstPlayer.html#gst-player-get-position" title="gst_player_get_position ()">gst_player_get_position</a> <span class="c_punctuation">()</span>
117</td>
118</tr>
119<tr>
120<td class="function_type">
121<span class="returnvalue">void</span>
122</td>
123<td class="function_name">
124<a class="link" href="GstPlayer.html#gst-player-set-volume" title="gst_player_set_volume ()">gst_player_set_volume</a> <span class="c_punctuation">()</span>
125</td>
126</tr>
127<tr>
128<td class="function_type">
129<span class="returnvalue">void</span>
130</td>
131<td class="function_name">
132<a class="link" href="GstPlayer.html#gst-player-set-mute" title="gst_player_set_mute ()">gst_player_set_mute</a> <span class="c_punctuation">()</span>
133</td>
134</tr>
135<tr>
136<td class="function_type">
137<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
138</td>
139<td class="function_name">
140<a class="link" href="GstPlayer.html#gst-player-get-volume" title="gst_player_get_volume ()">gst_player_get_volume</a> <span class="c_punctuation">()</span>
141</td>
142</tr>
143<tr>
144<td class="function_type">
145<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
146</td>
147<td class="function_name">
148<a class="link" href="GstPlayer.html#gst-player-get-mute" title="gst_player_get_mute ()">gst_player_get_mute</a> <span class="c_punctuation">()</span>
149</td>
150</tr>
151<tr>
152<td class="function_type">
153<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="returnvalue">GstElement</span></a> *
154</td>
155<td class="function_name">
156<a class="link" href="GstPlayer.html#gst-player-get-pipeline" title="gst_player_get_pipeline ()">gst_player_get_pipeline</a> <span class="c_punctuation">()</span>
157</td>
158</tr>
159<tr>
160<td class="function_type">
161<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
162</td>
163<td class="function_name">
164<a class="link" href="GstPlayer.html#gst-player-set-config" title="gst_player_set_config ()">gst_player_set_config</a> <span class="c_punctuation">()</span>
165</td>
166</tr>
167<tr>
168<td class="function_type">
169<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
170</td>
171<td class="function_name">
172<a class="link" href="GstPlayer.html#gst-player-get-config" title="gst_player_get_config ()">gst_player_get_config</a> <span class="c_punctuation">()</span>
173</td>
174</tr>
175<tr>
176<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
177</td>
178<td class="function_name">
179<a class="link" href="GstPlayer.html#gst-player-state-get-name" title="gst_player_state_get_name ()">gst_player_state_get_name</a> <span class="c_punctuation">()</span>
180</td>
181</tr>
182<tr>
183<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
184</td>
185<td class="function_name">
186<a class="link" href="GstPlayer.html#gst-player-error-get-name" title="gst_player_error_get_name ()">gst_player_error_get_name</a> <span class="c_punctuation">()</span>
187</td>
188</tr>
189<tr>
190<td class="function_type">
191<a class="link" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"><span class="returnvalue">GstPlayerMediaInfo</span></a> *
192</td>
193<td class="function_name">
194<a class="link" href="GstPlayer.html#gst-player-get-media-info" title="gst_player_get_media_info ()">gst_player_get_media_info</a> <span class="c_punctuation">()</span>
195</td>
196</tr>
197<tr>
198<td class="function_type">
199<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
200</td>
201<td class="function_name">
202<a class="link" href="GstPlayer.html#gst-player-set-audio-track" title="gst_player_set_audio_track ()">gst_player_set_audio_track</a> <span class="c_punctuation">()</span>
203</td>
204</tr>
205<tr>
206<td class="function_type">
207<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
208</td>
209<td class="function_name">
210<a class="link" href="GstPlayer.html#gst-player-set-video-track" title="gst_player_set_video_track ()">gst_player_set_video_track</a> <span class="c_punctuation">()</span>
211</td>
212</tr>
213<tr>
214<td class="function_type">
215<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
216</td>
217<td class="function_name">
218<a class="link" href="GstPlayer.html#gst-player-set-subtitle-track" title="gst_player_set_subtitle_track ()">gst_player_set_subtitle_track</a> <span class="c_punctuation">()</span>
219</td>
220</tr>
221<tr>
222<td class="function_type">
223<a class="link" href="GstPlayerMediaInfo.html#GstPlayerAudioInfo"><span class="returnvalue">GstPlayerAudioInfo</span></a> *
224</td>
225<td class="function_name">
226<a class="link" href="GstPlayer.html#gst-player-get-current-audio-track" title="gst_player_get_current_audio_track ()">gst_player_get_current_audio_track</a> <span class="c_punctuation">()</span>
227</td>
228</tr>
229<tr>
230<td class="function_type">
231<a class="link" href="GstPlayerMediaInfo.html#GstPlayerVideoInfo"><span class="returnvalue">GstPlayerVideoInfo</span></a> *
232</td>
233<td class="function_name">
234<a class="link" href="GstPlayer.html#gst-player-get-current-video-track" title="gst_player_get_current_video_track ()">gst_player_get_current_video_track</a> <span class="c_punctuation">()</span>
235</td>
236</tr>
237<tr>
238<td class="function_type">
239<a class="link" href="GstPlayerMediaInfo.html#GstPlayerSubtitleInfo"><span class="returnvalue">GstPlayerSubtitleInfo</span></a> *
240</td>
241<td class="function_name">
242<a class="link" href="GstPlayer.html#gst-player-get-current-subtitle-track" title="gst_player_get_current_subtitle_track ()">gst_player_get_current_subtitle_track</a> <span class="c_punctuation">()</span>
243</td>
244</tr>
245<tr>
246<td class="function_type">
247<span class="returnvalue">void</span>
248</td>
249<td class="function_name">
250<a class="link" href="GstPlayer.html#gst-player-set-audio-track-enabled" title="gst_player_set_audio_track_enabled ()">gst_player_set_audio_track_enabled</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="GstPlayer.html#gst-player-set-video-track-enabled" title="gst_player_set_video_track_enabled ()">gst_player_set_video_track_enabled</a> <span class="c_punctuation">()</span>
259</td>
260</tr>
261<tr>
262<td class="function_type">
263<span class="returnvalue">void</span>
264</td>
265<td class="function_name">
266<a class="link" href="GstPlayer.html#gst-player-set-subtitle-track-enabled" title="gst_player_set_subtitle_track_enabled ()">gst_player_set_subtitle_track_enabled</a> <span class="c_punctuation">()</span>
267</td>
268</tr>
269<tr>
270<td class="function_type">
271<span class="returnvalue">void</span>
272</td>
273<td class="function_name">
274<a class="link" href="GstPlayer.html#gst-player-set-subtitle-uri" title="gst_player_set_subtitle_uri ()">gst_player_set_subtitle_uri</a> <span class="c_punctuation">()</span>
275</td>
276</tr>
277<tr>
278<td class="function_type">
279<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
280</td>
281<td class="function_name">
282<a class="link" href="GstPlayer.html#gst-player-get-subtitle-uri" title="gst_player_get_subtitle_uri ()">gst_player_get_subtitle_uri</a> <span class="c_punctuation">()</span>
283</td>
284</tr>
285<tr>
286<td class="function_type">
287<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
288</td>
289<td class="function_name">
290<a class="link" href="GstPlayer.html#gst-player-set-visualization" title="gst_player_set_visualization ()">gst_player_set_visualization</a> <span class="c_punctuation">()</span>
291</td>
292</tr>
293<tr>
294<td class="function_type">
295<span class="returnvalue">void</span>
296</td>
297<td class="function_name">
298<a class="link" href="GstPlayer.html#gst-player-set-visualization-enabled" title="gst_player_set_visualization_enabled ()">gst_player_set_visualization_enabled</a> <span class="c_punctuation">()</span>
299</td>
300</tr>
301<tr>
302<td class="function_type">
303<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
304</td>
305<td class="function_name">
306<a class="link" href="GstPlayer.html#gst-player-get-current-visualization" title="gst_player_get_current_visualization ()">gst_player_get_current_visualization</a> <span class="c_punctuation">()</span>
307</td>
308</tr>
309<tr>
310<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
311</td>
312<td class="function_name">
313<a class="link" href="GstPlayer.html#gst-player-color-balance-type-get-name" title="gst_player_color_balance_type_get_name ()">gst_player_color_balance_type_get_name</a> <span class="c_punctuation">()</span>
314</td>
315</tr>
316<tr>
317<td class="function_type">
318<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
319</td>
320<td class="function_name">
321<a class="link" href="GstPlayer.html#gst-player-has-color-balance" title="gst_player_has_color_balance ()">gst_player_has_color_balance</a> <span class="c_punctuation">()</span>
322</td>
323</tr>
324<tr>
325<td class="function_type">
326<span class="returnvalue">void</span>
327</td>
328<td class="function_name">
329<a class="link" href="GstPlayer.html#gst-player-set-color-balance" title="gst_player_set_color_balance ()">gst_player_set_color_balance</a> <span class="c_punctuation">()</span>
330</td>
331</tr>
332<tr>
333<td class="function_type">
334<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
335</td>
336<td class="function_name">
337<a class="link" href="GstPlayer.html#gst-player-get-color-balance" title="gst_player_get_color_balance ()">gst_player_get_color_balance</a> <span class="c_punctuation">()</span>
338</td>
339</tr>
340<tr>
341<td class="function_type">
342<a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking"><span class="returnvalue">GstVideoMultiviewFramePacking</span></a>
343</td>
344<td class="function_name">
345<a class="link" href="GstPlayer.html#gst-player-get-multiview-mode" title="gst_player_get_multiview_mode ()">gst_player_get_multiview_mode</a> <span class="c_punctuation">()</span>
346</td>
347</tr>
348<tr>
349<td class="function_type">
350<span class="returnvalue">void</span>
351</td>
352<td class="function_name">
353<a class="link" href="GstPlayer.html#gst-player-set-multiview-mode" title="gst_player_set_multiview_mode ()">gst_player_set_multiview_mode</a> <span class="c_punctuation">()</span>
354</td>
355</tr>
356<tr>
357<td class="function_type">
358<a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags"><span class="returnvalue">GstVideoMultiviewFlags</span></a>
359</td>
360<td class="function_name">
361<a class="link" href="GstPlayer.html#gst-player-get-multiview-flags" title="gst_player_get_multiview_flags ()">gst_player_get_multiview_flags</a> <span class="c_punctuation">()</span>
362</td>
363</tr>
364<tr>
365<td class="function_type">
366<span class="returnvalue">void</span>
367</td>
368<td class="function_name">
369<a class="link" href="GstPlayer.html#gst-player-set-multiview-flags" title="gst_player_set_multiview_flags ()">gst_player_set_multiview_flags</a> <span class="c_punctuation">()</span>
370</td>
371</tr>
372<tr>
373<td class="function_type">
374<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
375</td>
376<td class="function_name">
377<a class="link" href="GstPlayer.html#gst-player-get-audio-video-offset" title="gst_player_get_audio_video_offset ()">gst_player_get_audio_video_offset</a> <span class="c_punctuation">()</span>
378</td>
379</tr>
380<tr>
381<td class="function_type">
382<span class="returnvalue">void</span>
383</td>
384<td class="function_name">
385<a class="link" href="GstPlayer.html#gst-player-set-audio-video-offset" title="gst_player_set_audio_video_offset ()">gst_player_set_audio_video_offset</a> <span class="c_punctuation">()</span>
386</td>
387</tr>
388<tr>
389<td class="function_type">
390<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
391</td>
392<td class="function_name">
393<a class="link" href="GstPlayer.html#gst-player-get-subtitle-video-offset" title="gst_player_get_subtitle_video_offset ()">gst_player_get_subtitle_video_offset</a> <span class="c_punctuation">()</span>
394</td>
395</tr>
396<tr>
397<td class="function_type">
398<span class="returnvalue">void</span>
399</td>
400<td class="function_name">
401<a class="link" href="GstPlayer.html#gst-player-set-subtitle-video-offset" title="gst_player_set_subtitle_video_offset ()">gst_player_set_subtitle_video_offset</a> <span class="c_punctuation">()</span>
402</td>
403</tr>
404<tr>
405<td class="function_type">
406<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
407</td>
408<td class="function_name">
409<a class="link" href="GstPlayer.html#gst-player-get-rate" title="gst_player_get_rate ()">gst_player_get_rate</a> <span class="c_punctuation">()</span>
410</td>
411</tr>
412<tr>
413<td class="function_type">
414<span class="returnvalue">void</span>
415</td>
416<td class="function_name">
417<a class="link" href="GstPlayer.html#gst-player-set-rate" title="gst_player_set_rate ()">gst_player_set_rate</a> <span class="c_punctuation">()</span>
418</td>
419</tr>
420<tr>
421<td class="function_type">
422<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="returnvalue">GstSample</span></a> *
423</td>
424<td class="function_name">
425<a class="link" href="GstPlayer.html#gst-player-get-video-snapshot" title="gst_player_get_video_snapshot ()">gst_player_get_video_snapshot</a> <span class="c_punctuation">()</span>
426</td>
427</tr>
428<tr>
429<td class="function_type">
430<span class="returnvalue">void</span>
431</td>
432<td class="function_name">
433<a class="link" href="GstPlayer.html#gst-player-config-set-position-update-interval" title="gst_player_config_set_position_update_interval ()">gst_player_config_set_position_update_interval</a> <span class="c_punctuation">()</span>
434</td>
435</tr>
436<tr>
437<td class="function_type">
438<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
439</td>
440<td class="function_name">
441<a class="link" href="GstPlayer.html#gst-player-config-get-position-update-interval" title="gst_player_config_get_position_update_interval ()">gst_player_config_get_position_update_interval</a> <span class="c_punctuation">()</span>
442</td>
443</tr>
444<tr>
445<td class="function_type">
446<span class="returnvalue">void</span>
447</td>
448<td class="function_name">
449<a class="link" href="GstPlayer.html#gst-player-config-set-user-agent" title="gst_player_config_set_user_agent ()">gst_player_config_set_user_agent</a> <span class="c_punctuation">()</span>
450</td>
451</tr>
452<tr>
453<td class="function_type">
454<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
455</td>
456<td class="function_name">
457<a class="link" href="GstPlayer.html#gst-player-config-get-user-agent" title="gst_player_config_get_user_agent ()">gst_player_config_get_user_agent</a> <span class="c_punctuation">()</span>
458</td>
459</tr>
460<tr>
461<td class="function_type">
462<span class="returnvalue">void</span>
463</td>
464<td class="function_name">
465<a class="link" href="GstPlayer.html#gst-player-config-set-seek-accurate" title="gst_player_config_set_seek_accurate ()">gst_player_config_set_seek_accurate</a> <span class="c_punctuation">()</span>
466</td>
467</tr>
468<tr>
469<td class="function_type">
470<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
471</td>
472<td class="function_name">
473<a class="link" href="GstPlayer.html#gst-player-config-get-seek-accurate" title="gst_player_config_get_seek_accurate ()">gst_player_config_get_seek_accurate</a> <span class="c_punctuation">()</span>
474</td>
475</tr>
476</tbody>
477</table></div>
478</div>
479<div class="refsect1">
480<a name="GstPlayer.properties"></a><h2>Properties</h2>
481<div class="informaltable"><table class="informaltable" border="0">
482<colgroup>
483<col width="150px" class="properties_type">
484<col width="300px" class="properties_name">
485<col width="200px" class="properties_flags">
486</colgroup>
487<tbody>
488<tr>
489<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
490<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--audio-video-offset" title="The “audio-video-offset” property">audio-video-offset</a></td>
491<td class="property_flags">Read / Write</td>
492</tr>
493<tr>
494<td class="property_type">
495<a class="link" href="GstPlayerMediaInfo.html#GstPlayerAudioInfo"><span class="type">GstPlayerAudioInfo</span></a> *</td>
496<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--current-audio-track" title="The “current-audio-track” property">current-audio-track</a></td>
497<td class="property_flags">Read</td>
498</tr>
499<tr>
500<td class="property_type">
501<a class="link" href="GstPlayerMediaInfo.html#GstPlayerSubtitleInfo"><span class="type">GstPlayerSubtitleInfo</span></a> *</td>
502<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--current-subtitle-track" title="The “current-subtitle-track” property">current-subtitle-track</a></td>
503<td class="property_flags">Read</td>
504</tr>
505<tr>
506<td class="property_type">
507<a class="link" href="GstPlayerMediaInfo.html#GstPlayerVideoInfo"><span class="type">GstPlayerVideoInfo</span></a> *</td>
508<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--current-video-track" title="The “current-video-track” property">current-video-track</a></td>
509<td class="property_flags">Read</td>
510</tr>
511<tr>
512<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
513<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--duration" title="The “duration” property">duration</a></td>
514<td class="property_flags">Read</td>
515</tr>
516<tr>
517<td class="property_type">
518<a class="link" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"><span class="type">GstPlayerMediaInfo</span></a> *</td>
519<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--media-info" title="The “media-info” property">media-info</a></td>
520<td class="property_flags">Read</td>
521</tr>
522<tr>
523<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
524<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--mute" title="The “mute” property">mute</a></td>
525<td class="property_flags">Read / Write</td>
526</tr>
527<tr>
528<td class="property_type">
529<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a> *</td>
530<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--pipeline" title="The “pipeline” property">pipeline</a></td>
531<td class="property_flags">Read</td>
532</tr>
533<tr>
534<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></td>
535<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--position" title="The “position” property">position</a></td>
536<td class="property_flags">Read</td>
537</tr>
538<tr>
539<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
540<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--rate" title="The “rate” property">rate</a></td>
541<td class="property_flags">Read / Write</td>
542</tr>
543<tr>
544<td class="property_type">
545<a class="link" href="GstPlayer.html#GstPlayerSignalDispatcher"><span class="type">GstPlayerSignalDispatcher</span></a> *</td>
546<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--signal-dispatcher" title="The “signal-dispatcher” property">signal-dispatcher</a></td>
547<td class="property_flags">Write / Construct Only</td>
548</tr>
549<tr>
550<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
551<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--subtitle-video-offset" title="The “subtitle-video-offset” property">subtitle-video-offset</a></td>
552<td class="property_flags">Read / Write</td>
553</tr>
554<tr>
555<td class="property_type">
556<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
557<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--suburi" title="The “suburi” property">suburi</a></td>
558<td class="property_flags">Read / Write</td>
559</tr>
560<tr>
561<td class="property_type">
562<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
563<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--uri" title="The “uri” property">uri</a></td>
564<td class="property_flags">Read / Write</td>
565</tr>
566<tr>
567<td class="property_type"><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></td>
568<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--video-multiview-flags" title="The “video-multiview-flags” property">video-multiview-flags</a></td>
569<td class="property_flags">Read / Write</td>
570</tr>
571<tr>
572<td class="property_type"><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking"><span class="type">GstVideoMultiviewFramePacking</span></a></td>
573<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--video-multiview-mode" title="The “video-multiview-mode” property">video-multiview-mode</a></td>
574<td class="property_flags">Read / Write</td>
575</tr>
576<tr>
577<td class="property_type">
578<a class="link" href="GstPlayer.html#GstPlayerVideoRenderer"><span class="type">GstPlayerVideoRenderer</span></a> *</td>
579<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--video-renderer" title="The “video-renderer” property">video-renderer</a></td>
580<td class="property_flags">Write / Construct Only</td>
581</tr>
582<tr>
583<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
584<td class="property_name"><a class="link" href="GstPlayer.html#GstPlayer--volume" title="The “volume” property">volume</a></td>
585<td class="property_flags">Read / Write</td>
586</tr>
587</tbody>
588</table></div>
589</div>
590<div class="refsect1">
591<a name="GstPlayer.signals"></a><h2>Signals</h2>
592<div class="informaltable"><table class="informaltable" border="0">
593<colgroup>
594<col width="150px" class="signals_return">
595<col width="300px" class="signals_name">
596<col width="200px" class="signals_flags">
597</colgroup>
598<tbody>
599<tr>
600<td class="signal_type"><span class="returnvalue">void</span></td>
601<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-buffering" title="The “buffering” signal">buffering</a></td>
602<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
603</tr>
604<tr>
605<td class="signal_type"><span class="returnvalue">void</span></td>
606<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-duration-changed" title="The “duration-changed” signal">duration-changed</a></td>
607<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
608</tr>
609<tr>
610<td class="signal_type"><span class="returnvalue">void</span></td>
611<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-end-of-stream" title="The “end-of-stream” signal">end-of-stream</a></td>
612<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
613</tr>
614<tr>
615<td class="signal_type"><span class="returnvalue">void</span></td>
616<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-error" title="The “error” signal">error</a></td>
617<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
618</tr>
619<tr>
620<td class="signal_type"><span class="returnvalue">void</span></td>
621<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-media-info-updated" title="The “media-info-updated” signal">media-info-updated</a></td>
622<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
623</tr>
624<tr>
625<td class="signal_type"><span class="returnvalue">void</span></td>
626<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-mute-changed" title="The “mute-changed” signal">mute-changed</a></td>
627<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
628</tr>
629<tr>
630<td class="signal_type"><span class="returnvalue">void</span></td>
631<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-position-updated" title="The “position-updated” signal">position-updated</a></td>
632<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
633</tr>
634<tr>
635<td class="signal_type"><span class="returnvalue">void</span></td>
636<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-seek-done" title="The “seek-done” signal">seek-done</a></td>
637<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
638</tr>
639<tr>
640<td class="signal_type"><span class="returnvalue">void</span></td>
641<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-state-changed" title="The “state-changed” signal">state-changed</a></td>
642<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
643</tr>
644<tr>
645<td class="signal_type"><span class="returnvalue">void</span></td>
646<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-uri-loaded" title="The “uri-loaded” signal">uri-loaded</a></td>
647<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
648</tr>
649<tr>
650<td class="signal_type"><span class="returnvalue">void</span></td>
651<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-video-dimensions-changed" title="The “video-dimensions-changed” signal">video-dimensions-changed</a></td>
652<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
653</tr>
654<tr>
655<td class="signal_type"><span class="returnvalue">void</span></td>
656<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-volume-changed" title="The “volume-changed” signal">volume-changed</a></td>
657<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
658</tr>
659<tr>
660<td class="signal_type"><span class="returnvalue">void</span></td>
661<td class="signal_name"><a class="link" href="GstPlayer.html#GstPlayer-warning" title="The “warning” signal">warning</a></td>
662<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></td>
663</tr>
664</tbody>
665</table></div>
666</div>
667<a name="GstPlayerSignalDispatcher"></a><a name="GstPlayerVideoRenderer"></a><div class="refsect1">
668<a name="GstPlayer.other"></a><h2>Types and Values</h2>
669<div class="informaltable"><table class="informaltable" width="100%" border="0">
670<colgroup>
671<col width="150px" class="name">
672<col class="description">
673</colgroup>
674<tbody>
675<tr>
676<td class="datatype_keyword"> </td>
677<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayer-struct" title="GstPlayer">GstPlayer</a></td>
678</tr>
679<tr>
680<td class="datatype_keyword">enum</td>
681<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerState" title="enum GstPlayerState">GstPlayerState</a></td>
682</tr>
683<tr>
684<td class="define_keyword">#define</td>
685<td class="function_name"><a class="link" href="GstPlayer.html#GST-PLAYER-ERROR:CAPS" title="GST_PLAYER_ERROR">GST_PLAYER_ERROR</a></td>
686</tr>
687<tr>
688<td class="datatype_keyword">enum</td>
689<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerError" title="enum GstPlayerError">GstPlayerError</a></td>
690</tr>
691<tr>
692<td class="datatype_keyword">enum</td>
693<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType">GstPlayerColorBalanceType</a></td>
694</tr>
695<tr>
696<td class="datatype_keyword">enum</td>
697<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerSnapshotFormat" title="enum GstPlayerSnapshotFormat">GstPlayerSnapshotFormat</a></td>
698</tr>
699<tr>
700<td class="datatype_keyword"> </td>
701<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerSignalDispatcher-struct" title="GstPlayerSignalDispatcher">GstPlayerSignalDispatcher</a></td>
702</tr>
703<tr>
704<td class="datatype_keyword">struct</td>
705<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerSignalDispatcherInterface" title="struct GstPlayerSignalDispatcherInterface">GstPlayerSignalDispatcherInterface</a></td>
706</tr>
707<tr>
708<td class="datatype_keyword"> </td>
709<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerVideoRenderer-struct" title="GstPlayerVideoRenderer">GstPlayerVideoRenderer</a></td>
710</tr>
711<tr>
712<td class="datatype_keyword">struct</td>
713<td class="function_name"><a class="link" href="GstPlayer.html#GstPlayerVideoRendererInterface" title="struct GstPlayerVideoRendererInterface">GstPlayerVideoRendererInterface</a></td>
714</tr>
715</tbody>
716</table></div>
717</div>
718<div class="refsect1">
719<a name="GstPlayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
720<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
721    <span class="lineart">├──</span> GstPlayerColorBalanceType
722    <span class="lineart">├──</span> GstPlayerError
723    <span class="lineart">╰──</span> GstPlayerState
724    <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
725    <span class="lineart">├──</span> GstPlayerSignalDispatcher
726    <span class="lineart">╰──</span> GstPlayerVideoRenderer
727    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
728    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
729        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
730            <span class="lineart">╰──</span> GstPlayer
731</pre>
732</div>
733<div class="refsect1">
734<a name="GstPlayer.prerequisites"></a><h2>Prerequisites</h2>
735<p>
736GstPlayerSignalDispatcher requires
737 <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>.</p>
738<p>
739GstPlayerVideoRenderer requires
740 <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>.</p>
741</div>
742<div class="refsect1">
743<a name="GstPlayer.implementations"></a><h2>Known Implementations</h2>
744<p>
745GstPlayerVideoRenderer is implemented by
746 <a class="link" href="GstPlayerVideoOverlayVideoRenderer.html" title="GstPlayerVideoOverlayVideoRenderer">GstPlayerVideoOverlayVideoRenderer</a>.</p>
747</div>
748<div class="refsect1">
749<a name="GstPlayer.includes"></a><h2>Includes</h2>
750<pre class="synopsis">#include &lt;gst/codecparsers/gstmpeg4parser.h&gt;
751</pre>
752</div>
753<div class="refsect1">
754<a name="GstPlayer.description"></a><h2>Description</h2>
755</div>
756<div class="refsect1">
757<a name="GstPlayer.functions_details"></a><h2>Functions</h2>
758<div class="refsect2">
759<a name="gst-player-new"></a><h3>gst_player_new ()</h3>
760<pre class="programlisting"><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="returnvalue">GstPlayer</span></a> *
761gst_player_new (<em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerVideoRenderer"><span class="type">GstPlayerVideoRenderer</span></a> *video_renderer</code></em>,
762                <em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerSignalDispatcher"><span class="type">GstPlayerSignalDispatcher</span></a> *signal_dispatcher</code></em>);</pre>
763<p>Creates a new <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance that uses <em class="parameter"><code>signal_dispatcher</code></em>
764 to dispatch
765signals to some event loop system, or emits signals directly if NULL is
766passed. See <a class="link" href="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.html#gst-player-g-main-context-signal-dispatcher-new" title="gst_player_g_main_context_signal_dispatcher_new ()"><code class="function">gst_player_g_main_context_signal_dispatcher_new()</code></a>.</p>
767<p>Video is going to be rendered by <em class="parameter"><code>video_renderer</code></em>
768, or if <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is provided
769no special video set up will be done and some default handling will be
770performed.</p>
771<div class="refsect3">
772<a name="gst-player-new.parameters"></a><h4>Parameters</h4>
773<div class="informaltable"><table class="informaltable" width="100%" border="0">
774<colgroup>
775<col width="150px" class="parameters_name">
776<col class="parameters_description">
777<col width="200px" class="parameters_annotations">
778</colgroup>
779<tbody>
780<tr>
781<td class="parameter_name"><p>video_renderer</p></td>
782<td class="parameter_description"><p>GstPlayerVideoRenderer to use. </p></td>
783<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
784</tr>
785<tr>
786<td class="parameter_name"><p>signal_dispatcher</p></td>
787<td class="parameter_description"><p>GstPlayerSignalDispatcher to use. </p></td>
788<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
789</tr>
790</tbody>
791</table></div>
792</div>
793<div class="refsect3">
794<a name="gst-player-new.returns"></a><h4>Returns</h4>
795<p>a new <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance. </p>
796<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
797</div>
798</div>
799<hr>
800<div class="refsect2">
801<a name="gst-player-play"></a><h3>gst_player_play ()</h3>
802<pre class="programlisting"><span class="returnvalue">void</span>
803gst_player_play (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
804<p>Request to play the loaded stream.</p>
805<div class="refsect3">
806<a name="gst-player-play.parameters"></a><h4>Parameters</h4>
807<div class="informaltable"><table class="informaltable" width="100%" border="0">
808<colgroup>
809<col width="150px" class="parameters_name">
810<col class="parameters_description">
811<col width="200px" class="parameters_annotations">
812</colgroup>
813<tbody><tr>
814<td class="parameter_name"><p>player</p></td>
815<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
816<td class="parameter_annotations"> </td>
817</tr></tbody>
818</table></div>
819</div>
820</div>
821<hr>
822<div class="refsect2">
823<a name="gst-player-pause"></a><h3>gst_player_pause ()</h3>
824<pre class="programlisting"><span class="returnvalue">void</span>
825gst_player_pause (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
826<p>Pauses the current stream.</p>
827<div class="refsect3">
828<a name="gst-player-pause.parameters"></a><h4>Parameters</h4>
829<div class="informaltable"><table class="informaltable" width="100%" border="0">
830<colgroup>
831<col width="150px" class="parameters_name">
832<col class="parameters_description">
833<col width="200px" class="parameters_annotations">
834</colgroup>
835<tbody><tr>
836<td class="parameter_name"><p>player</p></td>
837<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
838<td class="parameter_annotations"> </td>
839</tr></tbody>
840</table></div>
841</div>
842</div>
843<hr>
844<div class="refsect2">
845<a name="gst-player-stop"></a><h3>gst_player_stop ()</h3>
846<pre class="programlisting"><span class="returnvalue">void</span>
847gst_player_stop (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
848<p>Stops playing the current stream and resets to the first position
849in the stream.</p>
850<div class="refsect3">
851<a name="gst-player-stop.parameters"></a><h4>Parameters</h4>
852<div class="informaltable"><table class="informaltable" width="100%" border="0">
853<colgroup>
854<col width="150px" class="parameters_name">
855<col class="parameters_description">
856<col width="200px" class="parameters_annotations">
857</colgroup>
858<tbody><tr>
859<td class="parameter_name"><p>player</p></td>
860<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
861<td class="parameter_annotations"> </td>
862</tr></tbody>
863</table></div>
864</div>
865</div>
866<hr>
867<div class="refsect2">
868<a name="gst-player-seek"></a><h3>gst_player_seek ()</h3>
869<pre class="programlisting"><span class="returnvalue">void</span>
870gst_player_seek (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
871                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> position</code></em>);</pre>
872<p>Seeks the currently-playing stream to the absolute <em class="parameter"><code>position</code></em>
873 time
874in nanoseconds.</p>
875<div class="refsect3">
876<a name="gst-player-seek.parameters"></a><h4>Parameters</h4>
877<div class="informaltable"><table class="informaltable" width="100%" border="0">
878<colgroup>
879<col width="150px" class="parameters_name">
880<col class="parameters_description">
881<col width="200px" class="parameters_annotations">
882</colgroup>
883<tbody>
884<tr>
885<td class="parameter_name"><p>player</p></td>
886<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
887<td class="parameter_annotations"> </td>
888</tr>
889<tr>
890<td class="parameter_name"><p>position</p></td>
891<td class="parameter_description"><p>position to seek in nanoseconds</p></td>
892<td class="parameter_annotations"> </td>
893</tr>
894</tbody>
895</table></div>
896</div>
897</div>
898<hr>
899<div class="refsect2">
900<a name="gst-player-set-uri"></a><h3>gst_player_set_uri ()</h3>
901<pre class="programlisting"><span class="returnvalue">void</span>
902gst_player_set_uri (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
903                    <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>
904<p>Sets the next URI to play.</p>
905<div class="refsect3">
906<a name="gst-player-set-uri.parameters"></a><h4>Parameters</h4>
907<div class="informaltable"><table class="informaltable" width="100%" border="0">
908<colgroup>
909<col width="150px" class="parameters_name">
910<col class="parameters_description">
911<col width="200px" class="parameters_annotations">
912</colgroup>
913<tbody>
914<tr>
915<td class="parameter_name"><p>player</p></td>
916<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
917<td class="parameter_annotations"> </td>
918</tr>
919<tr>
920<td class="parameter_name"><p>uri</p></td>
921<td class="parameter_description"><p>next URI to play.</p></td>
922<td class="parameter_annotations"> </td>
923</tr>
924</tbody>
925</table></div>
926</div>
927</div>
928<hr>
929<div class="refsect2">
930<a name="gst-player-get-uri"></a><h3>gst_player_get_uri ()</h3>
931<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
932gst_player_get_uri (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
933<p>Gets the URI of the currently-playing stream.</p>
934<div class="refsect3">
935<a name="gst-player-get-uri.parameters"></a><h4>Parameters</h4>
936<div class="informaltable"><table class="informaltable" width="100%" border="0">
937<colgroup>
938<col width="150px" class="parameters_name">
939<col class="parameters_description">
940<col width="200px" class="parameters_annotations">
941</colgroup>
942<tbody><tr>
943<td class="parameter_name"><p>player</p></td>
944<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
945<td class="parameter_annotations"> </td>
946</tr></tbody>
947</table></div>
948</div>
949<div class="refsect3">
950<a name="gst-player-get-uri.returns"></a><h4>Returns</h4>
951<p>a string containing the URI of the
952currently-playing stream. <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after usage. </p>
953<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
954</div>
955</div>
956<hr>
957<div class="refsect2">
958<a name="gst-player-get-duration"></a><h3>gst_player_get_duration ()</h3>
959<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
960gst_player_get_duration (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
961<p>Retrieves the duration of the media stream that self represents.</p>
962<div class="refsect3">
963<a name="gst-player-get-duration.parameters"></a><h4>Parameters</h4>
964<div class="informaltable"><table class="informaltable" width="100%" border="0">
965<colgroup>
966<col width="150px" class="parameters_name">
967<col class="parameters_description">
968<col width="200px" class="parameters_annotations">
969</colgroup>
970<tbody><tr>
971<td class="parameter_name"><p>player</p></td>
972<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
973<td class="parameter_annotations"> </td>
974</tr></tbody>
975</table></div>
976</div>
977<div class="refsect3">
978<a name="gst-player-get-duration.returns"></a><h4>Returns</h4>
979<p> the duration of the currently-playing media stream, in
980nanoseconds.</p>
981</div>
982</div>
983<hr>
984<div class="refsect2">
985<a name="gst-player-get-position"></a><h3>gst_player_get_position ()</h3>
986<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
987gst_player_get_position (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
988<div class="refsect3">
989<a name="gst-player-get-position.parameters"></a><h4>Parameters</h4>
990<div class="informaltable"><table class="informaltable" width="100%" border="0">
991<colgroup>
992<col width="150px" class="parameters_name">
993<col class="parameters_description">
994<col width="200px" class="parameters_annotations">
995</colgroup>
996<tbody><tr>
997<td class="parameter_name"><p>player</p></td>
998<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
999<td class="parameter_annotations"> </td>
1000</tr></tbody>
1001</table></div>
1002</div>
1003<div class="refsect3">
1004<a name="gst-player-get-position.returns"></a><h4>Returns</h4>
1005<p> the absolute position time, in nanoseconds, of the
1006currently-playing stream.</p>
1007</div>
1008</div>
1009<hr>
1010<div class="refsect2">
1011<a name="gst-player-set-volume"></a><h3>gst_player_set_volume ()</h3>
1012<pre class="programlisting"><span class="returnvalue">void</span>
1013gst_player_set_volume (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1014                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> val</code></em>);</pre>
1015<p>Sets the volume level of the stream as a percentage between 0 and 1.</p>
1016<div class="refsect3">
1017<a name="gst-player-set-volume.parameters"></a><h4>Parameters</h4>
1018<div class="informaltable"><table class="informaltable" width="100%" border="0">
1019<colgroup>
1020<col width="150px" class="parameters_name">
1021<col class="parameters_description">
1022<col width="200px" class="parameters_annotations">
1023</colgroup>
1024<tbody>
1025<tr>
1026<td class="parameter_name"><p>player</p></td>
1027<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1028<td class="parameter_annotations"> </td>
1029</tr>
1030<tr>
1031<td class="parameter_name"><p>val</p></td>
1032<td class="parameter_description"><p>the new volume level, as a percentage between 0 and 1</p></td>
1033<td class="parameter_annotations"> </td>
1034</tr>
1035</tbody>
1036</table></div>
1037</div>
1038</div>
1039<hr>
1040<div class="refsect2">
1041<a name="gst-player-set-mute"></a><h3>gst_player_set_mute ()</h3>
1042<pre class="programlisting"><span class="returnvalue">void</span>
1043gst_player_set_mute (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1044                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> val</code></em>);</pre>
1045<p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the currently-playing stream should be muted.</p>
1046<div class="refsect3">
1047<a name="gst-player-set-mute.parameters"></a><h4>Parameters</h4>
1048<div class="informaltable"><table class="informaltable" width="100%" border="0">
1049<colgroup>
1050<col width="150px" class="parameters_name">
1051<col class="parameters_description">
1052<col width="200px" class="parameters_annotations">
1053</colgroup>
1054<tbody>
1055<tr>
1056<td class="parameter_name"><p>player</p></td>
1057<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1058<td class="parameter_annotations"> </td>
1059</tr>
1060<tr>
1061<td class="parameter_name"><p>val</p></td>
1062<td class="parameter_description"><p>Mute state the should be set</p></td>
1063<td class="parameter_annotations"> </td>
1064</tr>
1065</tbody>
1066</table></div>
1067</div>
1068</div>
1069<hr>
1070<div class="refsect2">
1071<a name="gst-player-get-volume"></a><h3>gst_player_get_volume ()</h3>
1072<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1073gst_player_get_volume (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1074<p>Returns the current volume level, as a percentage between 0 and 1.</p>
1075<div class="refsect3">
1076<a name="gst-player-get-volume.parameters"></a><h4>Parameters</h4>
1077<div class="informaltable"><table class="informaltable" width="100%" border="0">
1078<colgroup>
1079<col width="150px" class="parameters_name">
1080<col class="parameters_description">
1081<col width="200px" class="parameters_annotations">
1082</colgroup>
1083<tbody><tr>
1084<td class="parameter_name"><p>player</p></td>
1085<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1086<td class="parameter_annotations"> </td>
1087</tr></tbody>
1088</table></div>
1089</div>
1090<div class="refsect3">
1091<a name="gst-player-get-volume.returns"></a><h4>Returns</h4>
1092<p> the volume as percentage between 0 and 1.</p>
1093</div>
1094</div>
1095<hr>
1096<div class="refsect2">
1097<a name="gst-player-get-mute"></a><h3>gst_player_get_mute ()</h3>
1098<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1099gst_player_get_mute (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1100<div class="refsect3">
1101<a name="gst-player-get-mute.parameters"></a><h4>Parameters</h4>
1102<div class="informaltable"><table class="informaltable" width="100%" border="0">
1103<colgroup>
1104<col width="150px" class="parameters_name">
1105<col class="parameters_description">
1106<col width="200px" class="parameters_annotations">
1107</colgroup>
1108<tbody><tr>
1109<td class="parameter_name"><p>player</p></td>
1110<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1111<td class="parameter_annotations"> </td>
1112</tr></tbody>
1113</table></div>
1114</div>
1115<div class="refsect3">
1116<a name="gst-player-get-mute.returns"></a><h4>Returns</h4>
1117<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the currently-playing stream is muted.</p>
1118</div>
1119</div>
1120<hr>
1121<div class="refsect2">
1122<a name="gst-player-get-pipeline"></a><h3>gst_player_get_pipeline ()</h3>
1123<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="returnvalue">GstElement</span></a> *
1124gst_player_get_pipeline (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1125<div class="refsect3">
1126<a name="gst-player-get-pipeline.parameters"></a><h4>Parameters</h4>
1127<div class="informaltable"><table class="informaltable" width="100%" border="0">
1128<colgroup>
1129<col width="150px" class="parameters_name">
1130<col class="parameters_description">
1131<col width="200px" class="parameters_annotations">
1132</colgroup>
1133<tbody><tr>
1134<td class="parameter_name"><p>player</p></td>
1135<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1136<td class="parameter_annotations"> </td>
1137</tr></tbody>
1138</table></div>
1139</div>
1140<div class="refsect3">
1141<a name="gst-player-get-pipeline.returns"></a><h4>Returns</h4>
1142<p>The internal playbin instance. </p>
1143<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1144</div>
1145</div>
1146<hr>
1147<div class="refsect2">
1148<a name="gst-player-set-config"></a><h3>gst_player_set_config ()</h3>
1149<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1150gst_player_set_config (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1151                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
1152<p>Set the configuration of the player. If the player is already configured, and
1153the configuration haven't change, this function will return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If the
1154player is not in the GST_PLAYER_STATE_STOPPED, this method will return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1155and active configuration will remain.</p>
1156<p><em class="parameter"><code>config</code></em>
1157 is a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> that contains the configuration parameters for
1158the player.</p>
1159<p>This function takes ownership of <em class="parameter"><code>config</code></em>
1160.</p>
1161<div class="refsect3">
1162<a name="gst-player-set-config.parameters"></a><h4>Parameters</h4>
1163<div class="informaltable"><table class="informaltable" width="100%" border="0">
1164<colgroup>
1165<col width="150px" class="parameters_name">
1166<col class="parameters_description">
1167<col width="200px" class="parameters_annotations">
1168</colgroup>
1169<tbody>
1170<tr>
1171<td class="parameter_name"><p>player</p></td>
1172<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1173<td class="parameter_annotations"> </td>
1174</tr>
1175<tr>
1176<td class="parameter_name"><p>config</p></td>
1177<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a>. </p></td>
1178<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
1179</tr>
1180</tbody>
1181</table></div>
1182</div>
1183<div class="refsect3">
1184<a name="gst-player-set-config.returns"></a><h4>Returns</h4>
1185<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when the configuration could be set.</p>
1186</div>
1187<p class="since">Since: 1.10</p>
1188</div>
1189<hr>
1190<div class="refsect2">
1191<a name="gst-player-get-config"></a><h3>gst_player_get_config ()</h3>
1192<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
1193gst_player_get_config (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1194<p>Get a copy of the current configuration of the player. This configuration
1195can either be modified and used for the <a class="link" href="GstPlayer.html#gst-player-set-config" title="gst_player_set_config ()"><code class="function">gst_player_set_config()</code></a> call
1196or it must be freed after usage.</p>
1197<div class="refsect3">
1198<a name="gst-player-get-config.parameters"></a><h4>Parameters</h4>
1199<div class="informaltable"><table class="informaltable" width="100%" border="0">
1200<colgroup>
1201<col width="150px" class="parameters_name">
1202<col class="parameters_description">
1203<col width="200px" class="parameters_annotations">
1204</colgroup>
1205<tbody><tr>
1206<td class="parameter_name"><p>player</p></td>
1207<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1208<td class="parameter_annotations"> </td>
1209</tr></tbody>
1210</table></div>
1211</div>
1212<div class="refsect3">
1213<a name="gst-player-get-config.returns"></a><h4>Returns</h4>
1214<p>a copy of the current configuration of <em class="parameter"><code>player</code></em>
1215. Use
1216<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#gst-structure-free"><code class="function">gst_structure_free()</code></a> after usage or <a class="link" href="GstPlayer.html#gst-player-set-config" title="gst_player_set_config ()"><code class="function">gst_player_set_config()</code></a>. </p>
1217<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1218</div>
1219<p class="since">Since: 1.10</p>
1220</div>
1221<hr>
1222<div class="refsect2">
1223<a name="gst-player-state-get-name"></a><h3>gst_player_state_get_name ()</h3>
1224<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1225gst_player_state_get_name (<em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerState" title="enum GstPlayerState"><span class="type">GstPlayerState</span></a> state</code></em>);</pre>
1226<p>Gets a string representing the given state.</p>
1227<div class="refsect3">
1228<a name="gst-player-state-get-name.parameters"></a><h4>Parameters</h4>
1229<div class="informaltable"><table class="informaltable" width="100%" border="0">
1230<colgroup>
1231<col width="150px" class="parameters_name">
1232<col class="parameters_description">
1233<col width="200px" class="parameters_annotations">
1234</colgroup>
1235<tbody><tr>
1236<td class="parameter_name"><p>state</p></td>
1237<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html#GstPlayerState" title="enum GstPlayerState"><span class="type">GstPlayerState</span></a></p></td>
1238<td class="parameter_annotations"> </td>
1239</tr></tbody>
1240</table></div>
1241</div>
1242<div class="refsect3">
1243<a name="gst-player-state-get-name.returns"></a><h4>Returns</h4>
1244<p>a string with the name of the state. </p>
1245<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1246</div>
1247</div>
1248<hr>
1249<div class="refsect2">
1250<a name="gst-player-error-get-name"></a><h3>gst_player_error_get_name ()</h3>
1251<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1252gst_player_error_get_name (<em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerError" title="enum GstPlayerError"><span class="type">GstPlayerError</span></a> error</code></em>);</pre>
1253<p>Gets a string representing the given error.</p>
1254<div class="refsect3">
1255<a name="gst-player-error-get-name.parameters"></a><h4>Parameters</h4>
1256<div class="informaltable"><table class="informaltable" width="100%" border="0">
1257<colgroup>
1258<col width="150px" class="parameters_name">
1259<col class="parameters_description">
1260<col width="200px" class="parameters_annotations">
1261</colgroup>
1262<tbody><tr>
1263<td class="parameter_name"><p>error</p></td>
1264<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html#GstPlayerError" title="enum GstPlayerError"><span class="type">GstPlayerError</span></a></p></td>
1265<td class="parameter_annotations"> </td>
1266</tr></tbody>
1267</table></div>
1268</div>
1269<div class="refsect3">
1270<a name="gst-player-error-get-name.returns"></a><h4>Returns</h4>
1271<p>a string with the given error. </p>
1272<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1273</div>
1274</div>
1275<hr>
1276<div class="refsect2">
1277<a name="gst-player-get-media-info"></a><h3>gst_player_get_media_info ()</h3>
1278<pre class="programlisting"><a class="link" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"><span class="returnvalue">GstPlayerMediaInfo</span></a> *
1279gst_player_get_media_info (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1280<p>A Function to get the current media info <a class="link" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"><span class="type">GstPlayerMediaInfo</span></a> instance.</p>
1281<div class="refsect3">
1282<a name="gst-player-get-media-info.parameters"></a><h4>Parameters</h4>
1283<div class="informaltable"><table class="informaltable" width="100%" border="0">
1284<colgroup>
1285<col width="150px" class="parameters_name">
1286<col class="parameters_description">
1287<col width="200px" class="parameters_annotations">
1288</colgroup>
1289<tbody><tr>
1290<td class="parameter_name"><p>player</p></td>
1291<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1292<td class="parameter_annotations"> </td>
1293</tr></tbody>
1294</table></div>
1295</div>
1296<div class="refsect3">
1297<a name="gst-player-get-media-info.returns"></a><h4>Returns</h4>
1298<p>media info instance.</p>
1299<p>The caller should free it with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
1300<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1301</div>
1302</div>
1303<hr>
1304<div class="refsect2">
1305<a name="gst-player-set-audio-track"></a><h3>gst_player_set_audio_track ()</h3>
1306<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1307gst_player_set_audio_track (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1308                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stream_index</code></em>);</pre>
1309<div class="refsect3">
1310<a name="gst-player-set-audio-track.parameters"></a><h4>Parameters</h4>
1311<div class="informaltable"><table class="informaltable" width="100%" border="0">
1312<colgroup>
1313<col width="150px" class="parameters_name">
1314<col class="parameters_description">
1315<col width="200px" class="parameters_annotations">
1316</colgroup>
1317<tbody>
1318<tr>
1319<td class="parameter_name"><p>player</p></td>
1320<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1321<td class="parameter_annotations"> </td>
1322</tr>
1323<tr>
1324<td class="parameter_name"><p>stream_index</p></td>
1325<td class="parameter_description"><p>stream index</p></td>
1326<td class="parameter_annotations"> </td>
1327</tr>
1328</tbody>
1329</table></div>
1330</div>
1331<div class="refsect3">
1332<a name="gst-player-set-audio-track.returns"></a><h4>Returns</h4>
1333<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1334<p>Sets the audio track <em class="parameter"><code>stream_idex</code></em>
1335.</p>
1336</div>
1337</div>
1338<hr>
1339<div class="refsect2">
1340<a name="gst-player-set-video-track"></a><h3>gst_player_set_video_track ()</h3>
1341<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1342gst_player_set_video_track (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1343                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stream_index</code></em>);</pre>
1344<div class="refsect3">
1345<a name="gst-player-set-video-track.parameters"></a><h4>Parameters</h4>
1346<div class="informaltable"><table class="informaltable" width="100%" border="0">
1347<colgroup>
1348<col width="150px" class="parameters_name">
1349<col class="parameters_description">
1350<col width="200px" class="parameters_annotations">
1351</colgroup>
1352<tbody>
1353<tr>
1354<td class="parameter_name"><p>player</p></td>
1355<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1356<td class="parameter_annotations"> </td>
1357</tr>
1358<tr>
1359<td class="parameter_name"><p>stream_index</p></td>
1360<td class="parameter_description"><p>stream index</p></td>
1361<td class="parameter_annotations"> </td>
1362</tr>
1363</tbody>
1364</table></div>
1365</div>
1366<div class="refsect3">
1367<a name="gst-player-set-video-track.returns"></a><h4>Returns</h4>
1368<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1369<p>Sets the video track <em class="parameter"><code>stream_index</code></em>
1370.</p>
1371</div>
1372</div>
1373<hr>
1374<div class="refsect2">
1375<a name="gst-player-set-subtitle-track"></a><h3>gst_player_set_subtitle_track ()</h3>
1376<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1377gst_player_set_subtitle_track (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1378                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stream_index</code></em>);</pre>
1379<div class="refsect3">
1380<a name="gst-player-set-subtitle-track.parameters"></a><h4>Parameters</h4>
1381<div class="informaltable"><table class="informaltable" width="100%" border="0">
1382<colgroup>
1383<col width="150px" class="parameters_name">
1384<col class="parameters_description">
1385<col width="200px" class="parameters_annotations">
1386</colgroup>
1387<tbody>
1388<tr>
1389<td class="parameter_name"><p>player</p></td>
1390<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1391<td class="parameter_annotations"> </td>
1392</tr>
1393<tr>
1394<td class="parameter_name"><p>stream_index</p></td>
1395<td class="parameter_description"><p>stream index</p></td>
1396<td class="parameter_annotations"> </td>
1397</tr>
1398</tbody>
1399</table></div>
1400</div>
1401<div class="refsect3">
1402<a name="gst-player-set-subtitle-track.returns"></a><h4>Returns</h4>
1403<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
1404<p>Sets the subtitle strack <em class="parameter"><code>stream_index</code></em>
1405.</p>
1406</div>
1407</div>
1408<hr>
1409<div class="refsect2">
1410<a name="gst-player-get-current-audio-track"></a><h3>gst_player_get_current_audio_track ()</h3>
1411<pre class="programlisting"><a class="link" href="GstPlayerMediaInfo.html#GstPlayerAudioInfo"><span class="returnvalue">GstPlayerAudioInfo</span></a> *
1412gst_player_get_current_audio_track (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1413<p>A Function to get current audio <a class="link" href="GstPlayerMediaInfo.html#GstPlayerAudioInfo"><span class="type">GstPlayerAudioInfo</span></a> instance.</p>
1414<div class="refsect3">
1415<a name="gst-player-get-current-audio-track.parameters"></a><h4>Parameters</h4>
1416<div class="informaltable"><table class="informaltable" width="100%" border="0">
1417<colgroup>
1418<col width="150px" class="parameters_name">
1419<col class="parameters_description">
1420<col width="200px" class="parameters_annotations">
1421</colgroup>
1422<tbody><tr>
1423<td class="parameter_name"><p>player</p></td>
1424<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1425<td class="parameter_annotations"> </td>
1426</tr></tbody>
1427</table></div>
1428</div>
1429<div class="refsect3">
1430<a name="gst-player-get-current-audio-track.returns"></a><h4>Returns</h4>
1431<p>current audio track.</p>
1432<p>The caller should free it with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
1433<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1434</div>
1435</div>
1436<hr>
1437<div class="refsect2">
1438<a name="gst-player-get-current-video-track"></a><h3>gst_player_get_current_video_track ()</h3>
1439<pre class="programlisting"><a class="link" href="GstPlayerMediaInfo.html#GstPlayerVideoInfo"><span class="returnvalue">GstPlayerVideoInfo</span></a> *
1440gst_player_get_current_video_track (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1441<p>A Function to get current video <a class="link" href="GstPlayerMediaInfo.html#GstPlayerVideoInfo"><span class="type">GstPlayerVideoInfo</span></a> instance.</p>
1442<div class="refsect3">
1443<a name="gst-player-get-current-video-track.parameters"></a><h4>Parameters</h4>
1444<div class="informaltable"><table class="informaltable" width="100%" border="0">
1445<colgroup>
1446<col width="150px" class="parameters_name">
1447<col class="parameters_description">
1448<col width="200px" class="parameters_annotations">
1449</colgroup>
1450<tbody><tr>
1451<td class="parameter_name"><p>player</p></td>
1452<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1453<td class="parameter_annotations"> </td>
1454</tr></tbody>
1455</table></div>
1456</div>
1457<div class="refsect3">
1458<a name="gst-player-get-current-video-track.returns"></a><h4>Returns</h4>
1459<p>current video track.</p>
1460<p>The caller should free it with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
1461<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1462</div>
1463</div>
1464<hr>
1465<div class="refsect2">
1466<a name="gst-player-get-current-subtitle-track"></a><h3>gst_player_get_current_subtitle_track ()</h3>
1467<pre class="programlisting"><a class="link" href="GstPlayerMediaInfo.html#GstPlayerSubtitleInfo"><span class="returnvalue">GstPlayerSubtitleInfo</span></a> *
1468gst_player_get_current_subtitle_track (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1469<p>A Function to get current subtitle <a class="link" href="GstPlayerMediaInfo.html#GstPlayerSubtitleInfo"><span class="type">GstPlayerSubtitleInfo</span></a> instance.</p>
1470<div class="refsect3">
1471<a name="gst-player-get-current-subtitle-track.parameters"></a><h4>Parameters</h4>
1472<div class="informaltable"><table class="informaltable" width="100%" border="0">
1473<colgroup>
1474<col width="150px" class="parameters_name">
1475<col class="parameters_description">
1476<col width="200px" class="parameters_annotations">
1477</colgroup>
1478<tbody><tr>
1479<td class="parameter_name"><p>player</p></td>
1480<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1481<td class="parameter_annotations"> </td>
1482</tr></tbody>
1483</table></div>
1484</div>
1485<div class="refsect3">
1486<a name="gst-player-get-current-subtitle-track.returns"></a><h4>Returns</h4>
1487<p>current subtitle track.</p>
1488<p>The caller should free it with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
1489<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1490</div>
1491</div>
1492<hr>
1493<div class="refsect2">
1494<a name="gst-player-set-audio-track-enabled"></a><h3>gst_player_set_audio_track_enabled ()</h3>
1495<pre class="programlisting"><span class="returnvalue">void</span>
1496gst_player_set_audio_track_enabled (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1497                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
1498<p>Enable or disable the current audio track.</p>
1499<div class="refsect3">
1500<a name="gst-player-set-audio-track-enabled.parameters"></a><h4>Parameters</h4>
1501<div class="informaltable"><table class="informaltable" width="100%" border="0">
1502<colgroup>
1503<col width="150px" class="parameters_name">
1504<col class="parameters_description">
1505<col width="200px" class="parameters_annotations">
1506</colgroup>
1507<tbody>
1508<tr>
1509<td class="parameter_name"><p>player</p></td>
1510<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1511<td class="parameter_annotations"> </td>
1512</tr>
1513<tr>
1514<td class="parameter_name"><p>enabled</p></td>
1515<td class="parameter_description"><p>TRUE or FALSE</p></td>
1516<td class="parameter_annotations"> </td>
1517</tr>
1518</tbody>
1519</table></div>
1520</div>
1521</div>
1522<hr>
1523<div class="refsect2">
1524<a name="gst-player-set-video-track-enabled"></a><h3>gst_player_set_video_track_enabled ()</h3>
1525<pre class="programlisting"><span class="returnvalue">void</span>
1526gst_player_set_video_track_enabled (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1527                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
1528<p>Enable or disable the current video track.</p>
1529<div class="refsect3">
1530<a name="gst-player-set-video-track-enabled.parameters"></a><h4>Parameters</h4>
1531<div class="informaltable"><table class="informaltable" width="100%" border="0">
1532<colgroup>
1533<col width="150px" class="parameters_name">
1534<col class="parameters_description">
1535<col width="200px" class="parameters_annotations">
1536</colgroup>
1537<tbody>
1538<tr>
1539<td class="parameter_name"><p>player</p></td>
1540<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1541<td class="parameter_annotations"> </td>
1542</tr>
1543<tr>
1544<td class="parameter_name"><p>enabled</p></td>
1545<td class="parameter_description"><p>TRUE or FALSE</p></td>
1546<td class="parameter_annotations"> </td>
1547</tr>
1548</tbody>
1549</table></div>
1550</div>
1551</div>
1552<hr>
1553<div class="refsect2">
1554<a name="gst-player-set-subtitle-track-enabled"></a><h3>gst_player_set_subtitle_track_enabled ()</h3>
1555<pre class="programlisting"><span class="returnvalue">void</span>
1556gst_player_set_subtitle_track_enabled (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1557                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
1558<p>Enable or disable the current subtitle track.</p>
1559<div class="refsect3">
1560<a name="gst-player-set-subtitle-track-enabled.parameters"></a><h4>Parameters</h4>
1561<div class="informaltable"><table class="informaltable" width="100%" border="0">
1562<colgroup>
1563<col width="150px" class="parameters_name">
1564<col class="parameters_description">
1565<col width="200px" class="parameters_annotations">
1566</colgroup>
1567<tbody>
1568<tr>
1569<td class="parameter_name"><p>player</p></td>
1570<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1571<td class="parameter_annotations"> </td>
1572</tr>
1573<tr>
1574<td class="parameter_name"><p>enabled</p></td>
1575<td class="parameter_description"><p>TRUE or FALSE</p></td>
1576<td class="parameter_annotations"> </td>
1577</tr>
1578</tbody>
1579</table></div>
1580</div>
1581</div>
1582<hr>
1583<div class="refsect2">
1584<a name="gst-player-set-subtitle-uri"></a><h3>gst_player_set_subtitle_uri ()</h3>
1585<pre class="programlisting"><span class="returnvalue">void</span>
1586gst_player_set_subtitle_uri (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1587                             <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>
1588<p>Sets the external subtitle URI. This should be combined with a call to
1589gst_player_set_subtitle_track_enabled(<em class="parameter"><code>player</code></em>
1590, TRUE) so the subtitles are actually
1591rendered.</p>
1592<div class="refsect3">
1593<a name="gst-player-set-subtitle-uri.parameters"></a><h4>Parameters</h4>
1594<div class="informaltable"><table class="informaltable" width="100%" border="0">
1595<colgroup>
1596<col width="150px" class="parameters_name">
1597<col class="parameters_description">
1598<col width="200px" class="parameters_annotations">
1599</colgroup>
1600<tbody>
1601<tr>
1602<td class="parameter_name"><p>player</p></td>
1603<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1604<td class="parameter_annotations"> </td>
1605</tr>
1606<tr>
1607<td class="parameter_name"><p>uri</p></td>
1608<td class="parameter_description"><p>subtitle URI</p></td>
1609<td class="parameter_annotations"> </td>
1610</tr>
1611</tbody>
1612</table></div>
1613</div>
1614</div>
1615<hr>
1616<div class="refsect2">
1617<a name="gst-player-get-subtitle-uri"></a><h3>gst_player_get_subtitle_uri ()</h3>
1618<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1619gst_player_get_subtitle_uri (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1620<p>current subtitle URI</p>
1621<div class="refsect3">
1622<a name="gst-player-get-subtitle-uri.parameters"></a><h4>Parameters</h4>
1623<div class="informaltable"><table class="informaltable" width="100%" border="0">
1624<colgroup>
1625<col width="150px" class="parameters_name">
1626<col class="parameters_description">
1627<col width="200px" class="parameters_annotations">
1628</colgroup>
1629<tbody><tr>
1630<td class="parameter_name"><p>player</p></td>
1631<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1632<td class="parameter_annotations"> </td>
1633</tr></tbody>
1634</table></div>
1635</div>
1636<div class="refsect3">
1637<a name="gst-player-get-subtitle-uri.returns"></a><h4>Returns</h4>
1638<p>URI of the current external subtitle.
1639<a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after usage. </p>
1640<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1641</div>
1642</div>
1643<hr>
1644<div class="refsect2">
1645<a name="gst-player-set-visualization"></a><h3>gst_player_set_visualization ()</h3>
1646<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1647gst_player_set_visualization (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1648                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
1649<div class="refsect3">
1650<a name="gst-player-set-visualization.parameters"></a><h4>Parameters</h4>
1651<div class="informaltable"><table class="informaltable" width="100%" border="0">
1652<colgroup>
1653<col width="150px" class="parameters_name">
1654<col class="parameters_description">
1655<col width="200px" class="parameters_annotations">
1656</colgroup>
1657<tbody>
1658<tr>
1659<td class="parameter_name"><p>player</p></td>
1660<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1661<td class="parameter_annotations"> </td>
1662</tr>
1663<tr>
1664<td class="parameter_name"><p>name</p></td>
1665<td class="parameter_description"><p>visualization element obtained from
1666<a class="link" href="GstPlayerVisualization.html#gst-player-visualizations-get" title="gst_player_visualizations_get ()"><code class="function">gst_player_visualizations_get()</code></a></p></td>
1667<td class="parameter_annotations"> </td>
1668</tr>
1669</tbody>
1670</table></div>
1671</div>
1672<div class="refsect3">
1673<a name="gst-player-set-visualization.returns"></a><h4>Returns</h4>
1674<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the visualizations was set correctly. Otherwise,
1675<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
1676</div>
1677</div>
1678<hr>
1679<div class="refsect2">
1680<a name="gst-player-set-visualization-enabled"></a><h3>gst_player_set_visualization_enabled ()</h3>
1681<pre class="programlisting"><span class="returnvalue">void</span>
1682gst_player_set_visualization_enabled (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1683                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
1684<p>Enable or disable the visualization.</p>
1685<div class="refsect3">
1686<a name="gst-player-set-visualization-enabled.parameters"></a><h4>Parameters</h4>
1687<div class="informaltable"><table class="informaltable" width="100%" border="0">
1688<colgroup>
1689<col width="150px" class="parameters_name">
1690<col class="parameters_description">
1691<col width="200px" class="parameters_annotations">
1692</colgroup>
1693<tbody>
1694<tr>
1695<td class="parameter_name"><p>player</p></td>
1696<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1697<td class="parameter_annotations"> </td>
1698</tr>
1699<tr>
1700<td class="parameter_name"><p>enabled</p></td>
1701<td class="parameter_description"><p>TRUE or FALSE</p></td>
1702<td class="parameter_annotations"> </td>
1703</tr>
1704</tbody>
1705</table></div>
1706</div>
1707</div>
1708<hr>
1709<div class="refsect2">
1710<a name="gst-player-get-current-visualization"></a><h3>gst_player_get_current_visualization ()</h3>
1711<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1712gst_player_get_current_visualization (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1713<div class="refsect3">
1714<a name="gst-player-get-current-visualization.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>player</p></td>
1723<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1724<td class="parameter_annotations"> </td>
1725</tr></tbody>
1726</table></div>
1727</div>
1728<div class="refsect3">
1729<a name="gst-player-get-current-visualization.returns"></a><h4>Returns</h4>
1730<p>Name of the currently enabled visualization.
1731<a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after usage. </p>
1732<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1733</div>
1734</div>
1735<hr>
1736<div class="refsect2">
1737<a name="gst-player-color-balance-type-get-name"></a><h3>gst_player_color_balance_type_get_name ()</h3>
1738<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1739gst_player_color_balance_type_get_name
1740                               (<em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType"><span class="type">GstPlayerColorBalanceType</span></a> type</code></em>);</pre>
1741<p>Gets a string representing the given color balance type.</p>
1742<div class="refsect3">
1743<a name="gst-player-color-balance-type-get-name.parameters"></a><h4>Parameters</h4>
1744<div class="informaltable"><table class="informaltable" width="100%" border="0">
1745<colgroup>
1746<col width="150px" class="parameters_name">
1747<col class="parameters_description">
1748<col width="200px" class="parameters_annotations">
1749</colgroup>
1750<tbody><tr>
1751<td class="parameter_name"><p>type</p></td>
1752<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType"><span class="type">GstPlayerColorBalanceType</span></a></p></td>
1753<td class="parameter_annotations"> </td>
1754</tr></tbody>
1755</table></div>
1756</div>
1757<div class="refsect3">
1758<a name="gst-player-color-balance-type-get-name.returns"></a><h4>Returns</h4>
1759<p>a string with the name of the color
1760balance type. </p>
1761<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1762</div>
1763</div>
1764<hr>
1765<div class="refsect2">
1766<a name="gst-player-has-color-balance"></a><h3>gst_player_has_color_balance ()</h3>
1767<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1768gst_player_has_color_balance (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1769<p>Checks whether the <em class="parameter"><code>player</code></em>
1770 has color balance support available.</p>
1771<div class="refsect3">
1772<a name="gst-player-has-color-balance.parameters"></a><h4>Parameters</h4>
1773<div class="informaltable"><table class="informaltable" width="100%" border="0">
1774<colgroup>
1775<col width="150px" class="parameters_name">
1776<col class="parameters_description">
1777<col width="200px" class="parameters_annotations">
1778</colgroup>
1779<tbody><tr>
1780<td class="parameter_name"><p>player</p></td>
1781<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1782<td class="parameter_annotations"> </td>
1783</tr></tbody>
1784</table></div>
1785</div>
1786<div class="refsect3">
1787<a name="gst-player-has-color-balance.returns"></a><h4>Returns</h4>
1788<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>player</code></em>
1789has color balance support. Otherwise,
1790<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
1791</div>
1792</div>
1793<hr>
1794<div class="refsect2">
1795<a name="gst-player-set-color-balance"></a><h3>gst_player_set_color_balance ()</h3>
1796<pre class="programlisting"><span class="returnvalue">void</span>
1797gst_player_set_color_balance (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1798                              <em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType"><span class="type">GstPlayerColorBalanceType</span></a> type</code></em>,
1799                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
1800<p>Sets the current value of the indicated channel <em class="parameter"><code>type</code></em>
1801 to the passed
1802value.</p>
1803<div class="refsect3">
1804<a name="gst-player-set-color-balance.parameters"></a><h4>Parameters</h4>
1805<div class="informaltable"><table class="informaltable" width="100%" border="0">
1806<colgroup>
1807<col width="150px" class="parameters_name">
1808<col class="parameters_description">
1809<col width="200px" class="parameters_annotations">
1810</colgroup>
1811<tbody>
1812<tr>
1813<td class="parameter_name"><p>player</p></td>
1814<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1815<td class="parameter_annotations"> </td>
1816</tr>
1817<tr>
1818<td class="parameter_name"><p>type</p></td>
1819<td class="parameter_description"><p><a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType"><span class="type">GstPlayerColorBalanceType</span></a></p></td>
1820<td class="parameter_annotations"> </td>
1821</tr>
1822<tr>
1823<td class="parameter_name"><p>value</p></td>
1824<td class="parameter_description"><p>The new value for the <em class="parameter"><code>type</code></em>
1825, ranged [0,1]</p></td>
1826<td class="parameter_annotations"> </td>
1827</tr>
1828</tbody>
1829</table></div>
1830</div>
1831</div>
1832<hr>
1833<div class="refsect2">
1834<a name="gst-player-get-color-balance"></a><h3>gst_player_get_color_balance ()</h3>
1835<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1836gst_player_get_color_balance (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1837                              <em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType"><span class="type">GstPlayerColorBalanceType</span></a> type</code></em>);</pre>
1838<p>Retrieve the current value of the indicated <em class="parameter"><code>type</code></em>
1839.</p>
1840<div class="refsect3">
1841<a name="gst-player-get-color-balance.parameters"></a><h4>Parameters</h4>
1842<div class="informaltable"><table class="informaltable" width="100%" border="0">
1843<colgroup>
1844<col width="150px" class="parameters_name">
1845<col class="parameters_description">
1846<col width="200px" class="parameters_annotations">
1847</colgroup>
1848<tbody>
1849<tr>
1850<td class="parameter_name"><p>player</p></td>
1851<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1852<td class="parameter_annotations"> </td>
1853</tr>
1854<tr>
1855<td class="parameter_name"><p>type</p></td>
1856<td class="parameter_description"><p><a class="link" href="GstPlayer.html#GstPlayerColorBalanceType" title="enum GstPlayerColorBalanceType"><span class="type">GstPlayerColorBalanceType</span></a></p></td>
1857<td class="parameter_annotations"> </td>
1858</tr>
1859</tbody>
1860</table></div>
1861</div>
1862<div class="refsect3">
1863<a name="gst-player-get-color-balance.returns"></a><h4>Returns</h4>
1864<p> The current value of <em class="parameter"><code>type</code></em>
1865, between [0,1]. In case of
1866error -1 is returned.</p>
1867</div>
1868</div>
1869<hr>
1870<div class="refsect2">
1871<a name="gst-player-get-multiview-mode"></a><h3>gst_player_get_multiview_mode ()</h3>
1872<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking"><span class="returnvalue">GstVideoMultiviewFramePacking</span></a>
1873gst_player_get_multiview_mode (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1874<p>Retrieve the current value of the indicated <em class="parameter"><code>type</code></em>
1875.</p>
1876<div class="refsect3">
1877<a name="gst-player-get-multiview-mode.parameters"></a><h4>Parameters</h4>
1878<div class="informaltable"><table class="informaltable" width="100%" border="0">
1879<colgroup>
1880<col width="150px" class="parameters_name">
1881<col class="parameters_description">
1882<col width="200px" class="parameters_annotations">
1883</colgroup>
1884<tbody><tr>
1885<td class="parameter_name"><p>player</p></td>
1886<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1887<td class="parameter_annotations"> </td>
1888</tr></tbody>
1889</table></div>
1890</div>
1891<div class="refsect3">
1892<a name="gst-player-get-multiview-mode.returns"></a><h4>Returns</h4>
1893<p> The current value of <em class="parameter"><code>type</code></em>
1894, Default: -1 "none"</p>
1895</div>
1896<p class="since">Since: 1.10</p>
1897</div>
1898<hr>
1899<div class="refsect2">
1900<a name="gst-player-set-multiview-mode"></a><h3>gst_player_set_multiview_mode ()</h3>
1901<pre class="programlisting"><span class="returnvalue">void</span>
1902gst_player_set_multiview_mode (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1903                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking"><span class="type">GstVideoMultiviewFramePacking</span></a> mode</code></em>);</pre>
1904<p>Sets the current value of the indicated mode <em class="parameter"><code>type</code></em>
1905 to the passed
1906value.</p>
1907<div class="refsect3">
1908<a name="gst-player-set-multiview-mode.parameters"></a><h4>Parameters</h4>
1909<div class="informaltable"><table class="informaltable" width="100%" border="0">
1910<colgroup>
1911<col width="150px" class="parameters_name">
1912<col class="parameters_description">
1913<col width="200px" class="parameters_annotations">
1914</colgroup>
1915<tbody>
1916<tr>
1917<td class="parameter_name"><p>player</p></td>
1918<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1919<td class="parameter_annotations"> </td>
1920</tr>
1921<tr>
1922<td class="parameter_name"><p>mode</p></td>
1923<td class="parameter_description"><p>The new value for the <em class="parameter"><code>type</code></em>
1924</p></td>
1925<td class="parameter_annotations"> </td>
1926</tr>
1927</tbody>
1928</table></div>
1929</div>
1930<p class="since">Since: 1.10</p>
1931</div>
1932<hr>
1933<div class="refsect2">
1934<a name="gst-player-get-multiview-flags"></a><h3>gst_player_get_multiview_flags ()</h3>
1935<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags"><span class="returnvalue">GstVideoMultiviewFlags</span></a>
1936gst_player_get_multiview_flags (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
1937<p>Retrieve the current value of the indicated <em class="parameter"><code>type</code></em>
1938.</p>
1939<div class="refsect3">
1940<a name="gst-player-get-multiview-flags.parameters"></a><h4>Parameters</h4>
1941<div class="informaltable"><table class="informaltable" width="100%" border="0">
1942<colgroup>
1943<col width="150px" class="parameters_name">
1944<col class="parameters_description">
1945<col width="200px" class="parameters_annotations">
1946</colgroup>
1947<tbody><tr>
1948<td class="parameter_name"><p>player</p></td>
1949<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1950<td class="parameter_annotations"> </td>
1951</tr></tbody>
1952</table></div>
1953</div>
1954<div class="refsect3">
1955<a name="gst-player-get-multiview-flags.returns"></a><h4>Returns</h4>
1956<p> The current value of <em class="parameter"><code>type</code></em>
1957, Default: 0x00000000 "none</p>
1958</div>
1959<p class="since">Since: 1.10</p>
1960</div>
1961<hr>
1962<div class="refsect2">
1963<a name="gst-player-set-multiview-flags"></a><h3>gst_player_set_multiview_flags ()</h3>
1964<pre class="programlisting"><span class="returnvalue">void</span>
1965gst_player_set_multiview_flags (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
1966                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a> flags</code></em>);</pre>
1967<p>Sets the current value of the indicated mode <em class="parameter"><code>type</code></em>
1968 to the passed
1969value.</p>
1970<div class="refsect3">
1971<a name="gst-player-set-multiview-flags.parameters"></a><h4>Parameters</h4>
1972<div class="informaltable"><table class="informaltable" width="100%" border="0">
1973<colgroup>
1974<col width="150px" class="parameters_name">
1975<col class="parameters_description">
1976<col width="200px" class="parameters_annotations">
1977</colgroup>
1978<tbody>
1979<tr>
1980<td class="parameter_name"><p>player</p></td>
1981<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
1982<td class="parameter_annotations"> </td>
1983</tr>
1984<tr>
1985<td class="parameter_name"><p>flags</p></td>
1986<td class="parameter_description"><p>The new value for the <em class="parameter"><code>type</code></em>
1987</p></td>
1988<td class="parameter_annotations"> </td>
1989</tr>
1990</tbody>
1991</table></div>
1992</div>
1993<p class="since">Since: 1.10</p>
1994</div>
1995<hr>
1996<div class="refsect2">
1997<a name="gst-player-get-audio-video-offset"></a><h3>gst_player_get_audio_video_offset ()</h3>
1998<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
1999gst_player_get_audio_video_offset (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
2000<p>Retrieve the current value of audio-video-offset property</p>
2001<div class="refsect3">
2002<a name="gst-player-get-audio-video-offset.parameters"></a><h4>Parameters</h4>
2003<div class="informaltable"><table class="informaltable" width="100%" border="0">
2004<colgroup>
2005<col width="150px" class="parameters_name">
2006<col class="parameters_description">
2007<col width="200px" class="parameters_annotations">
2008</colgroup>
2009<tbody><tr>
2010<td class="parameter_name"><p>player</p></td>
2011<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2012<td class="parameter_annotations"> </td>
2013</tr></tbody>
2014</table></div>
2015</div>
2016<div class="refsect3">
2017<a name="gst-player-get-audio-video-offset.returns"></a><h4>Returns</h4>
2018<p> The current value of audio-video-offset in nanoseconds</p>
2019</div>
2020<p class="since">Since: 1.10</p>
2021</div>
2022<hr>
2023<div class="refsect2">
2024<a name="gst-player-set-audio-video-offset"></a><h3>gst_player_set_audio_video_offset ()</h3>
2025<pre class="programlisting"><span class="returnvalue">void</span>
2026gst_player_set_audio_video_offset (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
2027                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> offset</code></em>);</pre>
2028<p>Sets audio-video-offset property by value of <em class="parameter"><code>offset</code></em>
2029</p>
2030<div class="refsect3">
2031<a name="gst-player-set-audio-video-offset.parameters"></a><h4>Parameters</h4>
2032<div class="informaltable"><table class="informaltable" width="100%" border="0">
2033<colgroup>
2034<col width="150px" class="parameters_name">
2035<col class="parameters_description">
2036<col width="200px" class="parameters_annotations">
2037</colgroup>
2038<tbody>
2039<tr>
2040<td class="parameter_name"><p>player</p></td>
2041<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2042<td class="parameter_annotations"> </td>
2043</tr>
2044<tr>
2045<td class="parameter_name"><p>offset</p></td>
2046<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> in nanoseconds</p></td>
2047<td class="parameter_annotations"> </td>
2048</tr>
2049</tbody>
2050</table></div>
2051</div>
2052<p class="since">Since: 1.10</p>
2053</div>
2054<hr>
2055<div class="refsect2">
2056<a name="gst-player-get-subtitle-video-offset"></a><h3>gst_player_get_subtitle_video_offset ()</h3>
2057<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
2058gst_player_get_subtitle_video_offset (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
2059<p>Retrieve the current value of subtitle-video-offset property</p>
2060<div class="refsect3">
2061<a name="gst-player-get-subtitle-video-offset.parameters"></a><h4>Parameters</h4>
2062<div class="informaltable"><table class="informaltable" width="100%" border="0">
2063<colgroup>
2064<col width="150px" class="parameters_name">
2065<col class="parameters_description">
2066<col width="200px" class="parameters_annotations">
2067</colgroup>
2068<tbody><tr>
2069<td class="parameter_name"><p>player</p></td>
2070<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2071<td class="parameter_annotations"> </td>
2072</tr></tbody>
2073</table></div>
2074</div>
2075<div class="refsect3">
2076<a name="gst-player-get-subtitle-video-offset.returns"></a><h4>Returns</h4>
2077<p> The current value of subtitle-video-offset in nanoseconds</p>
2078</div>
2079<p class="since">Since: 1.16</p>
2080</div>
2081<hr>
2082<div class="refsect2">
2083<a name="gst-player-set-subtitle-video-offset"></a><h3>gst_player_set_subtitle_video_offset ()</h3>
2084<pre class="programlisting"><span class="returnvalue">void</span>
2085gst_player_set_subtitle_video_offset (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
2086                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> offset</code></em>);</pre>
2087<p>Sets subtitle-video-offset property by value of <em class="parameter"><code>offset</code></em>
2088</p>
2089<div class="refsect3">
2090<a name="gst-player-set-subtitle-video-offset.parameters"></a><h4>Parameters</h4>
2091<div class="informaltable"><table class="informaltable" width="100%" border="0">
2092<colgroup>
2093<col width="150px" class="parameters_name">
2094<col class="parameters_description">
2095<col width="200px" class="parameters_annotations">
2096</colgroup>
2097<tbody>
2098<tr>
2099<td class="parameter_name"><p>player</p></td>
2100<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2101<td class="parameter_annotations"> </td>
2102</tr>
2103<tr>
2104<td class="parameter_name"><p>offset</p></td>
2105<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> in nanoseconds</p></td>
2106<td class="parameter_annotations"> </td>
2107</tr>
2108</tbody>
2109</table></div>
2110</div>
2111<p class="since">Since: 1.16</p>
2112</div>
2113<hr>
2114<div class="refsect2">
2115<a name="gst-player-get-rate"></a><h3>gst_player_get_rate ()</h3>
2116<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
2117gst_player_get_rate (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>);</pre>
2118<div class="refsect3">
2119<a name="gst-player-get-rate.parameters"></a><h4>Parameters</h4>
2120<div class="informaltable"><table class="informaltable" width="100%" border="0">
2121<colgroup>
2122<col width="150px" class="parameters_name">
2123<col class="parameters_description">
2124<col width="200px" class="parameters_annotations">
2125</colgroup>
2126<tbody><tr>
2127<td class="parameter_name"><p>player</p></td>
2128<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2129<td class="parameter_annotations"> </td>
2130</tr></tbody>
2131</table></div>
2132</div>
2133<div class="refsect3">
2134<a name="gst-player-get-rate.returns"></a><h4>Returns</h4>
2135<p> current playback rate</p>
2136</div>
2137</div>
2138<hr>
2139<div class="refsect2">
2140<a name="gst-player-set-rate"></a><h3>gst_player_set_rate ()</h3>
2141<pre class="programlisting"><span class="returnvalue">void</span>
2142gst_player_set_rate (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
2143                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> rate</code></em>);</pre>
2144<p>Playback at specified rate</p>
2145<div class="refsect3">
2146<a name="gst-player-set-rate.parameters"></a><h4>Parameters</h4>
2147<div class="informaltable"><table class="informaltable" width="100%" border="0">
2148<colgroup>
2149<col width="150px" class="parameters_name">
2150<col class="parameters_description">
2151<col width="200px" class="parameters_annotations">
2152</colgroup>
2153<tbody>
2154<tr>
2155<td class="parameter_name"><p>player</p></td>
2156<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2157<td class="parameter_annotations"> </td>
2158</tr>
2159<tr>
2160<td class="parameter_name"><p>rate</p></td>
2161<td class="parameter_description"><p>playback rate</p></td>
2162<td class="parameter_annotations"> </td>
2163</tr>
2164</tbody>
2165</table></div>
2166</div>
2167</div>
2168<hr>
2169<div class="refsect2">
2170<a name="gst-player-get-video-snapshot"></a><h3>gst_player_get_video_snapshot ()</h3>
2171<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="returnvalue">GstSample</span></a> *
2172gst_player_get_video_snapshot (<em class="parameter"><code><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *player</code></em>,
2173                               <em class="parameter"><code><a class="link" href="GstPlayer.html#GstPlayerSnapshotFormat" title="enum GstPlayerSnapshotFormat"><span class="type">GstPlayerSnapshotFormat</span></a> format</code></em>,
2174                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
2175<p>Get a snapshot of the currently selected video stream, if any. The format can be
2176selected with <em class="parameter"><code>format</code></em>
2177 and optional configuration is possible with <em class="parameter"><code>config</code></em>
2178
2179Currently supported settings are:</p>
2180<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
2181<li class="listitem"><p>width, height of type G_TYPE_INT</p></li>
2182<li class="listitem"><p>pixel-aspect-ratio of type GST_TYPE_FRACTION
2183Except for GST_PLAYER_THUMBNAIL_RAW_NATIVE format, if no config is set, pixel-aspect-ratio would be 1/1</p></li>
2184</ul></div>
2185<div class="refsect3">
2186<a name="gst-player-get-video-snapshot.parameters"></a><h4>Parameters</h4>
2187<div class="informaltable"><table class="informaltable" width="100%" border="0">
2188<colgroup>
2189<col width="150px" class="parameters_name">
2190<col class="parameters_description">
2191<col width="200px" class="parameters_annotations">
2192</colgroup>
2193<tbody>
2194<tr>
2195<td class="parameter_name"><p>player</p></td>
2196<td class="parameter_description"><p><a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> instance</p></td>
2197<td class="parameter_annotations"> </td>
2198</tr>
2199<tr>
2200<td class="parameter_name"><p>format</p></td>
2201<td class="parameter_description"><p>output format of the video snapshot</p></td>
2202<td class="parameter_annotations"> </td>
2203</tr>
2204<tr>
2205<td class="parameter_name"><p>config</p></td>
2206<td class="parameter_description"><p>Additional configuration. </p></td>
2207<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>]</span></td>
2208</tr>
2209</tbody>
2210</table></div>
2211</div>
2212<div class="refsect3">
2213<a name="gst-player-get-video-snapshot.returns"></a><h4>Returns</h4>
2214<p>Current video snapshot sample or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure. </p>
2215<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2216</div>
2217<p class="since">Since: 1.12</p>
2218</div>
2219<hr>
2220<div class="refsect2">
2221<a name="gst-player-config-set-position-update-interval"></a><h3>gst_player_config_set_position_update_interval ()</h3>
2222<pre class="programlisting"><span class="returnvalue">void</span>
2223gst_player_config_set_position_update_interval
2224                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>,
2225                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>);</pre>
2226<p>set interval in milliseconds between two position-updated signals.
2227pass 0 to stop updating the position.</p>
2228<div class="refsect3">
2229<a name="gst-player-config-set-position-update-interval.parameters"></a><h4>Parameters</h4>
2230<div class="informaltable"><table class="informaltable" width="100%" border="0">
2231<colgroup>
2232<col width="150px" class="parameters_name">
2233<col class="parameters_description">
2234<col width="200px" class="parameters_annotations">
2235</colgroup>
2236<tbody>
2237<tr>
2238<td class="parameter_name"><p>config</p></td>
2239<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> configuration</p></td>
2240<td class="parameter_annotations"> </td>
2241</tr>
2242<tr>
2243<td class="parameter_name"><p>interval</p></td>
2244<td class="parameter_description"><p>interval in ms</p></td>
2245<td class="parameter_annotations"> </td>
2246</tr>
2247</tbody>
2248</table></div>
2249</div>
2250<p class="since">Since: 1.10</p>
2251</div>
2252<hr>
2253<div class="refsect2">
2254<a name="gst-player-config-get-position-update-interval"></a><h3>gst_player_config_get_position_update_interval ()</h3>
2255<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
2256gst_player_config_get_position_update_interval
2257                               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
2258<div class="refsect3">
2259<a name="gst-player-config-get-position-update-interval.parameters"></a><h4>Parameters</h4>
2260<div class="informaltable"><table class="informaltable" width="100%" border="0">
2261<colgroup>
2262<col width="150px" class="parameters_name">
2263<col class="parameters_description">
2264<col width="200px" class="parameters_annotations">
2265</colgroup>
2266<tbody><tr>
2267<td class="parameter_name"><p>config</p></td>
2268<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> configuration</p></td>
2269<td class="parameter_annotations"> </td>
2270</tr></tbody>
2271</table></div>
2272</div>
2273<div class="refsect3">
2274<a name="gst-player-config-get-position-update-interval.returns"></a><h4>Returns</h4>
2275<p> current position update interval in milliseconds</p>
2276</div>
2277<p class="since">Since: 1.10</p>
2278</div>
2279<hr>
2280<div class="refsect2">
2281<a name="gst-player-config-set-user-agent"></a><h3>gst_player_config_set_user_agent ()</h3>
2282<pre class="programlisting"><span class="returnvalue">void</span>
2283gst_player_config_set_user_agent (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>,
2284                                  <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *agent</code></em>);</pre>
2285<p>Set the user agent to pass to the server if <em class="parameter"><code>player</code></em>
2286 needs to connect
2287to a server during playback. This is typically used when playing HTTP
2288or RTSP streams.</p>
2289<div class="refsect3">
2290<a name="gst-player-config-set-user-agent.parameters"></a><h4>Parameters</h4>
2291<div class="informaltable"><table class="informaltable" width="100%" border="0">
2292<colgroup>
2293<col width="150px" class="parameters_name">
2294<col class="parameters_description">
2295<col width="200px" class="parameters_annotations">
2296</colgroup>
2297<tbody>
2298<tr>
2299<td class="parameter_name"><p>config</p></td>
2300<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> configuration</p></td>
2301<td class="parameter_annotations"> </td>
2302</tr>
2303<tr>
2304<td class="parameter_name"><p>agent</p></td>
2305<td class="parameter_description"><p>the string to use as user agent</p></td>
2306<td class="parameter_annotations"> </td>
2307</tr>
2308</tbody>
2309</table></div>
2310</div>
2311<p class="since">Since: 1.10</p>
2312</div>
2313<hr>
2314<div class="refsect2">
2315<a name="gst-player-config-get-user-agent"></a><h3>gst_player_config_get_user_agent ()</h3>
2316<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
2317gst_player_config_get_user_agent (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
2318<p>Return the user agent which has been configured using
2319<a class="link" href="GstPlayer.html#gst-player-config-set-user-agent" title="gst_player_config_set_user_agent ()"><code class="function">gst_player_config_set_user_agent()</code></a> if any.</p>
2320<div class="refsect3">
2321<a name="gst-player-config-get-user-agent.parameters"></a><h4>Parameters</h4>
2322<div class="informaltable"><table class="informaltable" width="100%" border="0">
2323<colgroup>
2324<col width="150px" class="parameters_name">
2325<col class="parameters_description">
2326<col width="200px" class="parameters_annotations">
2327</colgroup>
2328<tbody><tr>
2329<td class="parameter_name"><p>config</p></td>
2330<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> configuration</p></td>
2331<td class="parameter_annotations"> </td>
2332</tr></tbody>
2333</table></div>
2334</div>
2335<div class="refsect3">
2336<a name="gst-player-config-get-user-agent.returns"></a><h4>Returns</h4>
2337<p>the configured agent, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
2338<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
2339</div>
2340<p class="since">Since: 1.10</p>
2341</div>
2342<hr>
2343<div class="refsect2">
2344<a name="gst-player-config-set-seek-accurate"></a><h3>gst_player_config_set_seek_accurate ()</h3>
2345<pre class="programlisting"><span class="returnvalue">void</span>
2346gst_player_config_set_seek_accurate (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>,
2347                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> accurate</code></em>);</pre>
2348<p>Enable or disable accurate seeking. When enabled, elements will try harder
2349to seek as accurately as possible to the requested seek position. Generally
2350it will be slower especially for formats that don't have any indexes or
2351timestamp markers in the stream.</p>
2352<p>If accurate seeking is disabled, elements will seek as close as the request
2353position without slowing down seeking too much.</p>
2354<p>Accurate seeking is disabled by default.</p>
2355<div class="refsect3">
2356<a name="gst-player-config-set-seek-accurate.parameters"></a><h4>Parameters</h4>
2357<div class="informaltable"><table class="informaltable" width="100%" border="0">
2358<colgroup>
2359<col width="150px" class="parameters_name">
2360<col class="parameters_description">
2361<col width="200px" class="parameters_annotations">
2362</colgroup>
2363<tbody>
2364<tr>
2365<td class="parameter_name"><p>config</p></td>
2366<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> configuration</p></td>
2367<td class="parameter_annotations"> </td>
2368</tr>
2369<tr>
2370<td class="parameter_name"><p>accurate</p></td>
2371<td class="parameter_description"><p>accurate seek or not</p></td>
2372<td class="parameter_annotations"> </td>
2373</tr>
2374</tbody>
2375</table></div>
2376</div>
2377<p class="since">Since: 1.12</p>
2378</div>
2379<hr>
2380<div class="refsect2">
2381<a name="gst-player-config-get-seek-accurate"></a><h3>gst_player_config_get_seek_accurate ()</h3>
2382<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2383gst_player_config_get_seek_accurate (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
2384<div class="refsect3">
2385<a name="gst-player-config-get-seek-accurate.parameters"></a><h4>Parameters</h4>
2386<div class="informaltable"><table class="informaltable" width="100%" border="0">
2387<colgroup>
2388<col width="150px" class="parameters_name">
2389<col class="parameters_description">
2390<col width="200px" class="parameters_annotations">
2391</colgroup>
2392<tbody><tr>
2393<td class="parameter_name"><p>config</p></td>
2394<td class="parameter_description"><p>a <a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> configuration</p></td>
2395<td class="parameter_annotations"> </td>
2396</tr></tbody>
2397</table></div>
2398</div>
2399<div class="refsect3">
2400<a name="gst-player-config-get-seek-accurate.returns"></a><h4>Returns</h4>
2401<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if accurate seeking is enabled</p>
2402</div>
2403<p class="since">Since: 1.12</p>
2404</div>
2405</div>
2406<div class="refsect1">
2407<a name="GstPlayer.other_details"></a><h2>Types and Values</h2>
2408<div class="refsect2">
2409<a name="GstPlayer-struct"></a><h3>GstPlayer</h3>
2410<pre class="programlisting">typedef struct _GstPlayer GstPlayer;</pre>
2411</div>
2412<hr>
2413<div class="refsect2">
2414<a name="GstPlayerState"></a><h3>enum GstPlayerState</h3>
2415<div class="refsect3">
2416<a name="GstPlayerState.members"></a><h4>Members</h4>
2417<div class="informaltable"><table class="informaltable" width="100%" border="0">
2418<colgroup>
2419<col width="300px" class="enum_members_name">
2420<col class="enum_members_description">
2421<col width="200px" class="enum_members_annotations">
2422</colgroup>
2423<tbody>
2424<tr>
2425<td class="enum_member_name"><p><a name="GST-PLAYER-STATE-STOPPED:CAPS"></a>GST_PLAYER_STATE_STOPPED</p></td>
2426<td class="enum_member_description">
2427<p>the player is stopped.</p>
2428</td>
2429<td class="enum_member_annotations"> </td>
2430</tr>
2431<tr>
2432<td class="enum_member_name"><p><a name="GST-PLAYER-STATE-BUFFERING:CAPS"></a>GST_PLAYER_STATE_BUFFERING</p></td>
2433<td class="enum_member_description">
2434<p>the player is buffering.</p>
2435</td>
2436<td class="enum_member_annotations"> </td>
2437</tr>
2438<tr>
2439<td class="enum_member_name"><p><a name="GST-PLAYER-STATE-PAUSED:CAPS"></a>GST_PLAYER_STATE_PAUSED</p></td>
2440<td class="enum_member_description">
2441<p>the player is paused.</p>
2442</td>
2443<td class="enum_member_annotations"> </td>
2444</tr>
2445<tr>
2446<td class="enum_member_name"><p><a name="GST-PLAYER-STATE-PLAYING:CAPS"></a>GST_PLAYER_STATE_PLAYING</p></td>
2447<td class="enum_member_description">
2448<p>the player is currently playing a
2449stream.</p>
2450</td>
2451<td class="enum_member_annotations"> </td>
2452</tr>
2453</tbody>
2454</table></div>
2455</div>
2456</div>
2457<hr>
2458<div class="refsect2">
2459<a name="GST-PLAYER-ERROR:CAPS"></a><h3>GST_PLAYER_ERROR</h3>
2460<pre class="programlisting">#define      GST_PLAYER_ERROR                         (gst_player_error_quark ())
2461</pre>
2462</div>
2463<hr>
2464<div class="refsect2">
2465<a name="GstPlayerError"></a><h3>enum GstPlayerError</h3>
2466<div class="refsect3">
2467<a name="GstPlayerError.members"></a><h4>Members</h4>
2468<div class="informaltable"><table class="informaltable" width="100%" border="0">
2469<colgroup>
2470<col width="300px" class="enum_members_name">
2471<col class="enum_members_description">
2472<col width="200px" class="enum_members_annotations">
2473</colgroup>
2474<tbody><tr>
2475<td class="enum_member_name"><p><a name="GST-PLAYER-ERROR-FAILED:CAPS"></a>GST_PLAYER_ERROR_FAILED</p></td>
2476<td class="enum_member_description">
2477<p>generic error.</p>
2478</td>
2479<td class="enum_member_annotations"> </td>
2480</tr></tbody>
2481</table></div>
2482</div>
2483</div>
2484<hr>
2485<div class="refsect2">
2486<a name="GstPlayerColorBalanceType"></a><h3>enum GstPlayerColorBalanceType</h3>
2487<div class="refsect3">
2488<a name="GstPlayerColorBalanceType.members"></a><h4>Members</h4>
2489<div class="informaltable"><table class="informaltable" width="100%" border="0">
2490<colgroup>
2491<col width="300px" class="enum_members_name">
2492<col class="enum_members_description">
2493<col width="200px" class="enum_members_annotations">
2494</colgroup>
2495<tbody>
2496<tr>
2497<td class="enum_member_name"><p><a name="GST-PLAYER-COLOR-BALANCE-BRIGHTNESS:CAPS"></a>GST_PLAYER_COLOR_BALANCE_BRIGHTNESS</p></td>
2498<td class="enum_member_description">
2499<p>brightness or black level.</p>
2500</td>
2501<td class="enum_member_annotations"> </td>
2502</tr>
2503<tr>
2504<td class="enum_member_name"><p><a name="GST-PLAYER-COLOR-BALANCE-CONTRAST:CAPS"></a>GST_PLAYER_COLOR_BALANCE_CONTRAST</p></td>
2505<td class="enum_member_description">
2506<p>contrast or luma gain.</p>
2507</td>
2508<td class="enum_member_annotations"> </td>
2509</tr>
2510<tr>
2511<td class="enum_member_name"><p><a name="GST-PLAYER-COLOR-BALANCE-SATURATION:CAPS"></a>GST_PLAYER_COLOR_BALANCE_SATURATION</p></td>
2512<td class="enum_member_description">
2513<p>color saturation or chroma
2514gain.</p>
2515</td>
2516<td class="enum_member_annotations"> </td>
2517</tr>
2518<tr>
2519<td class="enum_member_name"><p><a name="GST-PLAYER-COLOR-BALANCE-HUE:CAPS"></a>GST_PLAYER_COLOR_BALANCE_HUE</p></td>
2520<td class="enum_member_description">
2521<p>hue or color balance.</p>
2522</td>
2523<td class="enum_member_annotations"> </td>
2524</tr>
2525</tbody>
2526</table></div>
2527</div>
2528</div>
2529<hr>
2530<div class="refsect2">
2531<a name="GstPlayerSnapshotFormat"></a><h3>enum GstPlayerSnapshotFormat</h3>
2532<div class="refsect3">
2533<a name="GstPlayerSnapshotFormat.members"></a><h4>Members</h4>
2534<div class="informaltable"><table class="informaltable" width="100%" border="0">
2535<colgroup>
2536<col width="300px" class="enum_members_name">
2537<col class="enum_members_description">
2538<col width="200px" class="enum_members_annotations">
2539</colgroup>
2540<tbody>
2541<tr>
2542<td class="enum_member_name"><p><a name="GST-PLAYER-THUMBNAIL-RAW-NATIVE:CAPS"></a>GST_PLAYER_THUMBNAIL_RAW_NATIVE</p></td>
2543<td> </td>
2544<td> </td>
2545</tr>
2546<tr>
2547<td class="enum_member_name"><p><a name="GST-PLAYER-THUMBNAIL-RAW-xRGB"></a>GST_PLAYER_THUMBNAIL_RAW_xRGB</p></td>
2548<td> </td>
2549<td> </td>
2550</tr>
2551<tr>
2552<td class="enum_member_name"><p><a name="GST-PLAYER-THUMBNAIL-RAW-BGRx"></a>GST_PLAYER_THUMBNAIL_RAW_BGRx</p></td>
2553<td> </td>
2554<td> </td>
2555</tr>
2556<tr>
2557<td class="enum_member_name"><p><a name="GST-PLAYER-THUMBNAIL-JPG:CAPS"></a>GST_PLAYER_THUMBNAIL_JPG</p></td>
2558<td> </td>
2559<td> </td>
2560</tr>
2561<tr>
2562<td class="enum_member_name"><p><a name="GST-PLAYER-THUMBNAIL-PNG:CAPS"></a>GST_PLAYER_THUMBNAIL_PNG</p></td>
2563<td> </td>
2564<td> </td>
2565</tr>
2566</tbody>
2567</table></div>
2568</div>
2569</div>
2570<hr>
2571<div class="refsect2">
2572<a name="GstPlayerSignalDispatcher-struct"></a><h3>GstPlayerSignalDispatcher</h3>
2573<pre class="programlisting">typedef struct _GstPlayerSignalDispatcher GstPlayerSignalDispatcher;</pre>
2574</div>
2575<hr>
2576<div class="refsect2">
2577<a name="GstPlayerSignalDispatcherInterface"></a><h3>struct GstPlayerSignalDispatcherInterface</h3>
2578<pre class="programlisting">struct GstPlayerSignalDispatcherInterface {
2579  GTypeInterface parent_iface;
2580
2581  void (*dispatch) (GstPlayerSignalDispatcher * self,
2582                    GstPlayer * player,
2583                    GstPlayerSignalDispatcherFunc emitter,
2584                    gpointer data,
2585                    GDestroyNotify destroy);
2586};
2587</pre>
2588</div>
2589<hr>
2590<div class="refsect2">
2591<a name="GstPlayerVideoRenderer-struct"></a><h3>GstPlayerVideoRenderer</h3>
2592<pre class="programlisting">typedef struct _GstPlayerVideoRenderer GstPlayerVideoRenderer;</pre>
2593</div>
2594<hr>
2595<div class="refsect2">
2596<a name="GstPlayerVideoRendererInterface"></a><h3>struct GstPlayerVideoRendererInterface</h3>
2597<pre class="programlisting">struct GstPlayerVideoRendererInterface {
2598  GTypeInterface parent_iface;
2599
2600  GstElement * (*create_video_sink) (GstPlayerVideoRenderer * self, GstPlayer * player);
2601};
2602</pre>
2603</div>
2604</div>
2605<div class="refsect1">
2606<a name="GstPlayer.property-details"></a><h2>Property Details</h2>
2607<div class="refsect2">
2608<a name="GstPlayer--audio-video-offset"></a><h3>The <code class="literal">“audio-video-offset”</code> property</h3>
2609<pre class="programlisting">  “audio-video-offset”       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
2610<p>The synchronisation offset between audio and video in nanoseconds.</p>
2611<p>Flags: Read / Write</p>
2612<p>Default value: 0</p>
2613</div>
2614<hr>
2615<div class="refsect2">
2616<a name="GstPlayer--current-audio-track"></a><h3>The <code class="literal">“current-audio-track”</code> property</h3>
2617<pre class="programlisting">  “current-audio-track”      <a class="link" href="GstPlayerMediaInfo.html#GstPlayerAudioInfo"><span class="type">GstPlayerAudioInfo</span></a> *</pre>
2618<p>Current audio track information.</p>
2619<p>Flags: Read</p>
2620</div>
2621<hr>
2622<div class="refsect2">
2623<a name="GstPlayer--current-subtitle-track"></a><h3>The <code class="literal">“current-subtitle-track”</code> property</h3>
2624<pre class="programlisting">  “current-subtitle-track”   <a class="link" href="GstPlayerMediaInfo.html#GstPlayerSubtitleInfo"><span class="type">GstPlayerSubtitleInfo</span></a> *</pre>
2625<p>Current audio subtitle information.</p>
2626<p>Flags: Read</p>
2627</div>
2628<hr>
2629<div class="refsect2">
2630<a name="GstPlayer--current-video-track"></a><h3>The <code class="literal">“current-video-track”</code> property</h3>
2631<pre class="programlisting">  “current-video-track”      <a class="link" href="GstPlayerMediaInfo.html#GstPlayerVideoInfo"><span class="type">GstPlayerVideoInfo</span></a> *</pre>
2632<p>Current video track information.</p>
2633<p>Flags: Read</p>
2634</div>
2635<hr>
2636<div class="refsect2">
2637<a name="GstPlayer--duration"></a><h3>The <code class="literal">“duration”</code> property</h3>
2638<pre class="programlisting">  “duration”                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
2639<p>Duration.</p>
2640<p>Flags: Read</p>
2641<p>Default value: 18446744073709551615</p>
2642</div>
2643<hr>
2644<div class="refsect2">
2645<a name="GstPlayer--media-info"></a><h3>The <code class="literal">“media-info”</code> property</h3>
2646<pre class="programlisting">  “media-info”               <a class="link" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"><span class="type">GstPlayerMediaInfo</span></a> *</pre>
2647<p>Current media information.</p>
2648<p>Flags: Read</p>
2649</div>
2650<hr>
2651<div class="refsect2">
2652<a name="GstPlayer--mute"></a><h3>The <code class="literal">“mute”</code> property</h3>
2653<pre class="programlisting">  “mute”                     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2654<p>Mute.</p>
2655<p>Flags: Read / Write</p>
2656<p>Default value: FALSE</p>
2657</div>
2658<hr>
2659<div class="refsect2">
2660<a name="GstPlayer--pipeline"></a><h3>The <code class="literal">“pipeline”</code> property</h3>
2661<pre class="programlisting">  “pipeline”                 <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a> *</pre>
2662<p>GStreamer pipeline that is used.</p>
2663<p>Flags: Read</p>
2664</div>
2665<hr>
2666<div class="refsect2">
2667<a name="GstPlayer--position"></a><h3>The <code class="literal">“position”</code> property</h3>
2668<pre class="programlisting">  “position”                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a></pre>
2669<p>Current Position.</p>
2670<p>Flags: Read</p>
2671<p>Default value: 18446744073709551615</p>
2672</div>
2673<hr>
2674<div class="refsect2">
2675<a name="GstPlayer--rate"></a><h3>The <code class="literal">“rate”</code> property</h3>
2676<pre class="programlisting">  “rate”                     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
2677<p>Playback rate.</p>
2678<p>Flags: Read / Write</p>
2679<p>Allowed values: [-64,64]</p>
2680<p>Default value: 1</p>
2681</div>
2682<hr>
2683<div class="refsect2">
2684<a name="GstPlayer--signal-dispatcher"></a><h3>The <code class="literal">“signal-dispatcher”</code> property</h3>
2685<pre class="programlisting">  “signal-dispatcher”        <a class="link" href="GstPlayer.html#GstPlayerSignalDispatcher"><span class="type">GstPlayerSignalDispatcher</span></a> *</pre>
2686<p>Dispatcher for the signals to e.g. event loops.</p>
2687<p>Flags: Write / Construct Only</p>
2688</div>
2689<hr>
2690<div class="refsect2">
2691<a name="GstPlayer--subtitle-video-offset"></a><h3>The <code class="literal">“subtitle-video-offset”</code> property</h3>
2692<pre class="programlisting">  “subtitle-video-offset”    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
2693<p>The synchronisation offset between text and video in nanoseconds.</p>
2694<p>Flags: Read / Write</p>
2695<p>Default value: 0</p>
2696</div>
2697<hr>
2698<div class="refsect2">
2699<a name="GstPlayer--suburi"></a><h3>The <code class="literal">“suburi”</code> property</h3>
2700<pre class="programlisting">  “suburi”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
2701<p>Current Subtitle URI.</p>
2702<p>Flags: Read / Write</p>
2703<p>Default value: NULL</p>
2704</div>
2705<hr>
2706<div class="refsect2">
2707<a name="GstPlayer--uri"></a><h3>The <code class="literal">“uri”</code> property</h3>
2708<pre class="programlisting">  “uri”                      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
2709<p>Current URI.</p>
2710<p>Flags: Read / Write</p>
2711<p>Default value: NULL</p>
2712</div>
2713<hr>
2714<div class="refsect2">
2715<a name="GstPlayer--video-multiview-flags"></a><h3>The <code class="literal">“video-multiview-flags”</code> property</h3>
2716<pre class="programlisting">  “video-multiview-flags”    <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></pre>
2717<p>Override details of the multiview frame layout.</p>
2718<p>Flags: Read / Write</p>
2719</div>
2720<hr>
2721<div class="refsect2">
2722<a name="GstPlayer--video-multiview-mode"></a><h3>The <code class="literal">“video-multiview-mode”</code> property</h3>
2723<pre class="programlisting">  “video-multiview-mode”     <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking"><span class="type">GstVideoMultiviewFramePacking</span></a></pre>
2724<p>Re-interpret a video stream as one of several frame-packed stereoscopic modes.</p>
2725<p>Flags: Read / Write</p>
2726<p>Default value: GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE</p>
2727</div>
2728<hr>
2729<div class="refsect2">
2730<a name="GstPlayer--video-renderer"></a><h3>The <code class="literal">“video-renderer”</code> property</h3>
2731<pre class="programlisting">  “video-renderer”           <a class="link" href="GstPlayer.html#GstPlayerVideoRenderer"><span class="type">GstPlayerVideoRenderer</span></a> *</pre>
2732<p>Video renderer to use for rendering videos.</p>
2733<p>Flags: Write / Construct Only</p>
2734</div>
2735<hr>
2736<div class="refsect2">
2737<a name="GstPlayer--volume"></a><h3>The <code class="literal">“volume”</code> property</h3>
2738<pre class="programlisting">  “volume”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
2739<p>Volume.</p>
2740<p>Flags: Read / Write</p>
2741<p>Allowed values: [0,10]</p>
2742<p>Default value: 1</p>
2743</div>
2744</div>
2745<div class="refsect1">
2746<a name="GstPlayer.signal-details"></a><h2>Signal Details</h2>
2747<div class="refsect2">
2748<a name="GstPlayer-buffering"></a><h3>The <code class="literal">“buffering”</code> signal</h3>
2749<pre class="programlisting"><span class="returnvalue">void</span>
2750user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2751               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>       arg1,
2752               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2753<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2754</div>
2755<hr>
2756<div class="refsect2">
2757<a name="GstPlayer-duration-changed"></a><h3>The <code class="literal">“duration-changed”</code> signal</h3>
2758<pre class="programlisting"><span class="returnvalue">void</span>
2759user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2760               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a>    arg1,
2761               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2762<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2763</div>
2764<hr>
2765<div class="refsect2">
2766<a name="GstPlayer-end-of-stream"></a><h3>The <code class="literal">“end-of-stream”</code> signal</h3>
2767<pre class="programlisting"><span class="returnvalue">void</span>
2768user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2769               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2770<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2771</div>
2772<hr>
2773<div class="refsect2">
2774<a name="GstPlayer-error"></a><h3>The <code class="literal">“error”</code> signal</h3>
2775<pre class="programlisting"><span class="returnvalue">void</span>
2776user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2777               <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>    *arg1,
2778               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2779<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2780</div>
2781<hr>
2782<div class="refsect2">
2783<a name="GstPlayer-media-info-updated"></a><h3>The <code class="literal">“media-info-updated”</code> signal</h3>
2784<pre class="programlisting"><span class="returnvalue">void</span>
2785user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a>          *gstplayer,
2786               <a class="link" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"><span class="type">GstPlayerMediaInfo</span></a> *arg1,
2787               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)</pre>
2788<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2789</div>
2790<hr>
2791<div class="refsect2">
2792<a name="GstPlayer-mute-changed"></a><h3>The <code class="literal">“mute-changed”</code> signal</h3>
2793<pre class="programlisting"><span class="returnvalue">void</span>
2794user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2795               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2796<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2797</div>
2798<hr>
2799<div class="refsect2">
2800<a name="GstPlayer-position-updated"></a><h3>The <code class="literal">“position-updated”</code> signal</h3>
2801<pre class="programlisting"><span class="returnvalue">void</span>
2802user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2803               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a>    arg1,
2804               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2805<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2806</div>
2807<hr>
2808<div class="refsect2">
2809<a name="GstPlayer-seek-done"></a><h3>The <code class="literal">“seek-done”</code> signal</h3>
2810<pre class="programlisting"><span class="returnvalue">void</span>
2811user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2812               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a>    arg1,
2813               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2814<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2815</div>
2816<hr>
2817<div class="refsect2">
2818<a name="GstPlayer-state-changed"></a><h3>The <code class="literal">“state-changed”</code> signal</h3>
2819<pre class="programlisting"><span class="returnvalue">void</span>
2820user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a>     *gstplayer,
2821               <a class="link" href="GstPlayer.html#GstPlayerState" title="enum GstPlayerState"><span class="type">GstPlayerState</span></a> arg1,
2822               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
2823<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2824</div>
2825<hr>
2826<div class="refsect2">
2827<a name="GstPlayer-uri-loaded"></a><h3>The <code class="literal">“uri-loaded”</code> signal</h3>
2828<pre class="programlisting"><span class="returnvalue">void</span>
2829user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2830               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>     *arg1,
2831               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2832<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2833</div>
2834<hr>
2835<div class="refsect2">
2836<a name="GstPlayer-video-dimensions-changed"></a><h3>The <code class="literal">“video-dimensions-changed”</code> signal</h3>
2837<pre class="programlisting"><span class="returnvalue">void</span>
2838user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2839               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>       arg1,
2840               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>       arg2,
2841               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2842<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2843</div>
2844<hr>
2845<div class="refsect2">
2846<a name="GstPlayer-volume-changed"></a><h3>The <code class="literal">“volume-changed”</code> signal</h3>
2847<pre class="programlisting"><span class="returnvalue">void</span>
2848user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2849               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2850<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2851</div>
2852<hr>
2853<div class="refsect2">
2854<a name="GstPlayer-warning"></a><h3>The <code class="literal">“warning”</code> signal</h3>
2855<pre class="programlisting"><span class="returnvalue">void</span>
2856user_function (<a class="link" href="GstPlayer.html" title="GstPlayer"><span class="type">GstPlayer</span></a> *gstplayer,
2857               <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>    *arg1,
2858               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)</pre>
2859<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS">No Hooks</a></p>
2860</div>
2861</div>
2862</div>
2863<div class="footer">
2864<hr>Generated by GTK-Doc V1.28</div>
2865</body>
2866</html>