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