clutter-gstreamer 2.0.1-x86-mingw32

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