This file is indexed.

/usr/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html is in libclutter-gst-doc 1.6.0-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClutterGstVideoTexture</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Clutter Gst 1.6.0 Reference Manual">
<link rel="up" href="ch02.html" title="Clutter Actors And Objects">
<link rel="prev" href="ClutterGstPlayer.html" title="ClutterGstPlayer">
<link rel="next" href="ClutterGstVideoSink.html" title="ClutterGstVideoSink">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ClutterGstPlayer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Clutter Gst 1.6.0
 Reference Manual</th>
<td><a accesskey="n" href="ClutterGstVideoSink.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#ClutterGstVideoTexture.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#ClutterGstVideoTexture.description" class="shortcut">Description</a>
                   | 
                  <a href="#ClutterGstVideoTexture.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#ClutterGstVideoTexture.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#ClutterGstVideoTexture.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="ClutterGstVideoTexture"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ClutterGstVideoTexture.top_of_page"></a>ClutterGstVideoTexture</span></h2>
<p>ClutterGstVideoTexture — Actor for playback of video files.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="ClutterGstVideoTexture.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct              <a class="link" href="ClutterGstVideoTexture.html#ClutterGstVideoTexture-struct" title="struct ClutterGstVideoTexture">ClutterGstVideoTexture</a>;
struct              <a class="link" href="ClutterGstVideoTexture.html#ClutterGstVideoTextureClass" title="struct ClutterGstVideoTextureClass">ClutterGstVideoTextureClass</a>;
<span class="returnvalue">ClutterActor</span> *      <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-new" title="clutter_gst_video_texture_new ()">clutter_gst_video_texture_new</a>       (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">GstElement</span> *        <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-pipeline" title="clutter_gst_video_texture_get_pipeline ()">clutter_gst_video_texture_get_pipeline</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="returnvalue">CoglHandle</span></a>          <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-idle-material" title="clutter_gst_video_texture_get_idle_material ()">clutter_gst_video_texture_get_idle_material</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-set-idle-material" title="clutter_gst_video_texture_set_idle_material ()">clutter_gst_video_texture_set_idle_material</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="type">CoglHandle</span></a> material</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-user-agent" title="clutter_gst_video_texture_get_user_agent ()">clutter_gst_video_texture_get_user_agent</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-set-user-agent" title="clutter_gst_video_texture_set_user_agent ()">clutter_gst_video_texture_set_user_agent</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *user_agent</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-set-seek-flags" title="clutter_gst_video_texture_set_seek_flags ()">clutter_gst_video_texture_set_seek_flags</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);
<span class="returnvalue">ClutterGstSeekFlags</span> <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-seek-flags" title="clutter_gst_video_texture_get_seek_flags ()">clutter_gst_video_texture_get_seek_flags</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">ClutterGstBufferingMode</span> <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-buffering-mode" title="clutter_gst_video_texture_get_buffering_mode ()">clutter_gst_video_texture_get_buffering_mode</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-set-buffering-mode" title="clutter_gst_video_texture_set_buffering_mode ()">clutter_gst_video_texture_set_buffering_mode</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-audio-streams" title="clutter_gst_video_texture_get_audio_streams ()">clutter_gst_video_texture_get_audio_streams</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">gint</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-audio-stream" title="clutter_gst_video_texture_get_audio_stream ()">clutter_gst_video_texture_get_audio_stream</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-set-audio-stream" title="clutter_gst_video_texture_set_audio_stream ()">clutter_gst_video_texture_set_audio_stream</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-subtitle-tracks" title="clutter_gst_video_texture_get_subtitle_tracks ()">clutter_gst_video_texture_get_subtitle_tracks</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">gint</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-subtitle-track" title="clutter_gst_video_texture_get_subtitle_track ()">clutter_gst_video_texture_get_subtitle_track</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-set-subtitle-track" title="clutter_gst_video_texture_set_subtitle_track ()">clutter_gst_video_texture_set_subtitle_track</a>
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstVideoTexture.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----ClutterTexture
                     +----ClutterGstVideoTexture
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstVideoTexture.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
ClutterGstVideoTexture implements
 ClutterContainer,  ClutterScriptable,  ClutterAnimatable,  AtkImplementorIface,  ClutterMedia and  <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer">ClutterGstPlayer</a>.</p>
</div>
<div class="refsect1">
<a name="ClutterGstVideoTexture.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="ClutterGstVideoTexture.html#ClutterGstVideoTexture--idle-material" title='The "idle-material" property'>idle-material</a>"            <a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="type">CoglHandle</span></a>*           : Read / Write
  "<a class="link" href="ClutterGstVideoTexture.html#ClutterGstVideoTexture--pixel-aspect-ratio" title='The "pixel-aspect-ratio" property'>pixel-aspect-ratio</a>"       <span class="type">GstFraction</span>           : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstVideoTexture.description"></a><h2>Description</h2>
<p>
<a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> is a <span class="type">ClutterTexture</span> that plays video files.
</p>
</div>
<div class="refsect1">
<a name="ClutterGstVideoTexture.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="ClutterGstVideoTexture-struct"></a><h3>struct ClutterGstVideoTexture</h3>
<pre class="programlisting">struct ClutterGstVideoTexture;</pre>
<p>
Subclass of <span class="type">ClutterTexture</span> that displays videos using GStreamer.
</p>
<p>
The <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> structure contains only private data and
should not be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstVideoTextureClass"></a><h3>struct ClutterGstVideoTextureClass</h3>
<pre class="programlisting">struct ClutterGstVideoTextureClass {
};
</pre>
<p>
Base class for <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-new"></a><h3>clutter_gst_video_texture_new ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> *      clutter_gst_video_texture_new       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a video texture.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>This function has to be called from Clutter's main thread. While
GStreamer will spawn threads to do its work, we want all the GL calls to
happen in the same thread. Clutter-gst knows which thread it is by
assuming this constructor is called from the Clutter thread.</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly created video texture actor</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-pipeline"></a><h3>clutter_gst_video_texture_get_pipeline ()</h3>
<pre class="programlisting"><span class="returnvalue">GstElement</span> *        clutter_gst_video_texture_get_pipeline
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Retrieves the <span class="type">GstPipeline</span> used by the <em class="parameter"><code>texture</code></em>, for direct use with
GStreamer API.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the pipeline element used by the video texture. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-idle-material"></a><h3>clutter_gst_video_texture_get_idle_material ()</h3>
<pre class="programlisting"><a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="returnvalue">CoglHandle</span></a>          clutter_gst_video_texture_get_idle_material
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Retrieves the material used to draw when no media is being played.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="type">CoglHandle</span></a> of the idle material. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-set-idle-material"></a><h3>clutter_gst_video_texture_set_idle_material ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_gst_video_texture_set_idle_material
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="type">CoglHandle</span></a> material</code></em>);</pre>
<p>
Sets a material to use to draw when no media is being played. The
<a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> holds a reference of the <em class="parameter"><code>material</code></em>.
</p>
<p>
The default idle material will paint the <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> in black.
If <a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#COGL-INVALID-HANDLE:CAPS"><code class="literal">COGL_INVALID_HANDLE</code></a> is given as <em class="parameter"><code>material</code></em> to this function, this
default idle material will be used.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>material</code></em> :</span></p></td>
<td>the handle of a Cogl material</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-user-agent"></a><h3>clutter_gst_video_texture_get_user_agent ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             clutter_gst_video_texture_get_user_agent
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Retrieves the user agent used when streaming.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the user agent used. The returned string has to be freed with
<code class="function">g_free()</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-set-user-agent"></a><h3>clutter_gst_video_texture_set_user_agent ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_gst_video_texture_set_user_agent
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *user_agent</code></em>);</pre>
<p>
Sets the user agent to use when streaming.
</p>
<p>
When streaming content, you might want to set a custom user agent, eg. to
promote your software, make it appear in statistics or because the server
requires a special user agent you want to impersonate.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_agent</code></em> :</span></p></td>
<td>the user agent</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-set-seek-flags"></a><h3>clutter_gst_video_texture_set_seek_flags ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_gst_video_texture_set_seek_flags
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);</pre>
<p>
Seeking can be done with several trade-offs. Clutter-gst defaults
to <code class="literal">CLUTTER_GST_SEEK_FLAG_NONE</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-seek-flags"></a><h3>clutter_gst_video_texture_get_seek_flags ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterGstSeekFlags</span> clutter_gst_video_texture_get_seek_flags
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Get the current value of the seek-flags property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-buffering-mode"></a><h3>clutter_gst_video_texture_get_buffering_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterGstBufferingMode</span> clutter_gst_video_texture_get_buffering_mode
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <span class="type">ClutterGstBufferingMode</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-set-buffering-mode"></a><h3>clutter_gst_video_texture_set_buffering_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_gst_video_texture_set_buffering_mode
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>a <span class="type">ClutterGstBufferingMode</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-audio-streams"></a><h3>clutter_gst_video_texture_get_audio_streams ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             clutter_gst_video_texture_get_audio_streams
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Get the list of audio streams of the current media.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of
<span class="type">GstTagList</span> describing the available audio streams. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>][<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Gst.TagList]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-audio-stream"></a><h3>clutter_gst_video_texture_get_audio_stream ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>                clutter_gst_video_texture_get_audio_stream
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Get the current audio stream. The number returned in the index of the
audio stream playing in the list returned by
<a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-audio-streams" title="clutter_gst_video_texture_get_audio_streams ()"><code class="function">clutter_gst_video_texture_get_audio_streams()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of the current audio stream, -1 if the media has no
audio stream</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-set-audio-stream"></a><h3>clutter_gst_video_texture_set_audio_stream ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_gst_video_texture_set_audio_stream
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
<p>
Set the audio stream to play. <em class="parameter"><code>index_</code></em> is the index of the stream
in the list returned by <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-audio-streams" title="clutter_gst_video_texture_get_audio_streams ()"><code class="function">clutter_gst_video_texture_get_audio_streams()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
<td>the index of the audio stream</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-subtitle-tracks"></a><h3>clutter_gst_video_texture_get_subtitle_tracks ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             clutter_gst_video_texture_get_subtitle_tracks
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Get the list of subtitles tracks of the current media.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list
of <span class="type">GstTagList</span> describing the available subtitles tracks. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>][<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Gst.TagList]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-get-subtitle-track"></a><h3>clutter_gst_video_texture_get_subtitle_track ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>                clutter_gst_video_texture_get_subtitle_track
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>);</pre>
<p>
Get the current subtitles track. The number returned is the index of the
subitles track in the list returned by
<a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-subtitle-tracks" title="clutter_gst_video_texture_get_subtitle_tracks ()"><code class="function">clutter_gst_video_texture_get_subtitle_tracks()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of the current subtitlest track, -1 if the media has
no subtitles track or if the subtitles have been turned off</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-video-texture-set-subtitle-track"></a><h3>clutter_gst_video_texture_set_subtitle_track ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_gst_video_texture_set_subtitle_track
                                                        (<em class="parameter"><code><a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a> *texture</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
<p>
Set the subtitles track to play. <em class="parameter"><code>index_</code></em> is the index of the stream
in the list returned by <a class="link" href="ClutterGstVideoTexture.html#clutter-gst-video-texture-get-subtitle-tracks" title="clutter_gst_video_texture_get_subtitle_tracks ()"><code class="function">clutter_gst_video_texture_get_subtitle_tracks()</code></a>.
</p>
<p>
If <em class="parameter"><code>index_</code></em> is -1, the subtitles are turned off.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>texture</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture"><span class="type">ClutterGstVideoTexture</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
<td>the index of the subtitles track</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
</div>
<div class="refsect1">
<a name="ClutterGstVideoTexture.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ClutterGstVideoTexture--idle-material"></a><h3>The <code class="literal">"idle-material"</code> property</h3>
<pre class="programlisting">  "idle-material"            <a href="/home/damien/mex/install/share/gtk-doc/html/cogl/cogl-General-API.html#CoglHandle"><span class="type">CoglHandle</span></a>*           : Read / Write</pre>
<p>Material to use for drawing when not playing.</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstVideoTexture--pixel-aspect-ratio"></a><h3>The <code class="literal">"pixel-aspect-ratio"</code> property</h3>
<pre class="programlisting">  "pixel-aspect-ratio"       <span class="type">GstFraction</span>           : Read / Write</pre>
<p>Pixel aspect ratio of incoming frames.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>