clutter-gstreamer 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +70 -0
- data/lib/clutter-gst.rb +77 -0
- data/test/clutter-gstreamer-test-utils.rb +21 -0
- data/test/run-test.rb +52 -0
- data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-enum-types.h +23 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h +186 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-types.h +65 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-util.h +53 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-version.h +98 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-sink.h +111 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-texture.h +132 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst.h +41 -0
- 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 +41 -0
- data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-2.0.la +41 -0
- data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +12 -0
- data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +1735 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +949 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +177 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +579 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/ch01.html +33 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +48 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +281 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +144 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +79 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/index.html +74 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/index.sgml +97 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/license.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst/up.png +0 -0
- data/vendor/local/share/license/clutter-gst/AUTHORS +7 -0
- data/vendor/local/share/license/clutter-gst/COPYING +502 -0
- metadata +131 -0
@@ -0,0 +1,949 @@
|
|
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>ClutterGstPlayer</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="ch02.html" title="Clutter Actors And Objects">
|
10
|
+
<link rel="next" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture">
|
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="ch02.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="ClutterGstVideoTexture.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="#ClutterGstPlayer.synopsis" class="shortcut">Top</a>
|
26
|
+
|
|
27
|
+
<a href="#ClutterGstPlayer.description" class="shortcut">Description</a>
|
28
|
+
|
|
29
|
+
<a href="#ClutterGstPlayer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
30
|
+
|
|
31
|
+
<a href="#ClutterGstPlayer.prerequisites" class="shortcut">Prerequisites</a>
|
32
|
+
|
|
33
|
+
<a href="#ClutterGstPlayer.implementations" class="shortcut">Known Implementations</a>
|
34
|
+
|
|
35
|
+
<a href="#ClutterGstPlayer.properties" class="shortcut">Properties</a>
|
36
|
+
|
|
37
|
+
<a href="#ClutterGstPlayer.signals" class="shortcut">Signals</a>
|
38
|
+
</td></tr>
|
39
|
+
</table>
|
40
|
+
<div class="refentry">
|
41
|
+
<a name="ClutterGstPlayer"></a><div class="titlepage"></div>
|
42
|
+
<div class="refnamediv"><table width="100%"><tr>
|
43
|
+
<td valign="top">
|
44
|
+
<h2><span class="refentrytitle"><a name="ClutterGstPlayer.top_of_page"></a>ClutterGstPlayer</span></h2>
|
45
|
+
<p>ClutterGstPlayer — An interface for controlling playback of media data</p>
|
46
|
+
</td>
|
47
|
+
<td valign="top" align="right"></td>
|
48
|
+
</tr></table></div>
|
49
|
+
<div class="refsynopsisdiv">
|
50
|
+
<a name="ClutterGstPlayer.synopsis"></a><h2>Synopsis</h2>
|
51
|
+
<pre class="synopsis"> <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-struct" title="ClutterGstPlayer">ClutterGstPlayer</a>;
|
52
|
+
struct <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayerIface" title="struct ClutterGstPlayerIface">ClutterGstPlayerIface</a>;
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-class-init" title="clutter_gst_player_class_init ()">clutter_gst_player_class_init</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *object_class</code></em>);
|
54
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-init" title="clutter_gst_player_init ()">clutter_gst_player_init</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
55
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-deinit" title="clutter_gst_player_deinit ()">clutter_gst_player_deinit</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
56
|
+
<span class="returnvalue">GstElement</span> * <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-pipeline" title="clutter_gst_player_get_pipeline ()">clutter_gst_player_get_pipeline</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
57
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-idle" title="clutter_gst_player_get_idle ()">clutter_gst_player_get_idle</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
58
|
+
<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="ClutterGstPlayer.html#clutter-gst-player-get-user-agent" title="clutter_gst_player_get_user_agent ()">clutter_gst_player_get_user_agent</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-user-agent" title="clutter_gst_player_set_user_agent ()">clutter_gst_player_set_user_agent</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
60
|
+
<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>);
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-seek-flags" title="clutter_gst_player_set_seek_flags ()">clutter_gst_player_set_seek_flags</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);
|
63
|
+
<span class="returnvalue">ClutterGstSeekFlags</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-seek-flags" title="clutter_gst_player_get_seek_flags ()">clutter_gst_player_get_seek_flags</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
64
|
+
<span class="returnvalue">ClutterGstBufferingMode</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-buffering-mode" title="clutter_gst_player_get_buffering_mode ()">clutter_gst_player_get_buffering_mode</a>
|
65
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-buffering-mode" title="clutter_gst_player_set_buffering_mode ()">clutter_gst_player_set_buffering_mode</a>
|
67
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);
|
69
|
+
<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="ClutterGstPlayer.html#clutter-gst-player-get-audio-streams" title="clutter_gst_player_get_audio_streams ()">clutter_gst_player_get_audio_streams</a>
|
70
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
71
|
+
<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="ClutterGstPlayer.html#clutter-gst-player-get-audio-stream" title="clutter_gst_player_get_audio_stream ()">clutter_gst_player_get_audio_stream</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-audio-stream" title="clutter_gst_player_set_audio_stream ()">clutter_gst_player_set_audio_stream</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
73
|
+
<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>);
|
74
|
+
<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="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-tracks" title="clutter_gst_player_get_subtitle_tracks ()">clutter_gst_player_get_subtitle_tracks</a>
|
75
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
76
|
+
<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="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-track" title="clutter_gst_player_get_subtitle_track ()">clutter_gst_player_get_subtitle_track</a>
|
77
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-subtitle-track" title="clutter_gst_player_set_subtitle_track ()">clutter_gst_player_set_subtitle_track</a>
|
79
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
80
|
+
<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>);
|
81
|
+
</pre>
|
82
|
+
</div>
|
83
|
+
<div class="refsect1">
|
84
|
+
<a name="ClutterGstPlayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
85
|
+
<pre class="synopsis">
|
86
|
+
GInterface
|
87
|
+
+----ClutterGstPlayer
|
88
|
+
</pre>
|
89
|
+
</div>
|
90
|
+
<div class="refsect1">
|
91
|
+
<a name="ClutterGstPlayer.prerequisites"></a><h2>Prerequisites</h2>
|
92
|
+
<p>
|
93
|
+
ClutterGstPlayer requires
|
94
|
+
ClutterMedia and <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>.</p>
|
95
|
+
</div>
|
96
|
+
<div class="refsect1">
|
97
|
+
<a name="ClutterGstPlayer.implementations"></a><h2>Known Implementations</h2>
|
98
|
+
<p>
|
99
|
+
ClutterGstPlayer is implemented by
|
100
|
+
<a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture">ClutterGstVideoTexture</a>.</p>
|
101
|
+
</div>
|
102
|
+
<div class="refsect1">
|
103
|
+
<a name="ClutterGstPlayer.properties"></a><h2>Properties</h2>
|
104
|
+
<pre class="synopsis">
|
105
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--audio-stream" title='The "audio-stream" property'>audio-stream</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
|
106
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--audio-streams" title='The "audio-streams" property'>audio-streams</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read
|
107
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--idle" title='The "idle" property'>idle</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
|
108
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--in-seek" title='The "in-seek" property'>in-seek</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
|
109
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--seek-flags" title='The "seek-flags" property'>seek-flags</a>" <span class="type">ClutterGstSeekFlags</span> : Read / Write
|
110
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--subtitle-track" title='The "subtitle-track" property'>subtitle-track</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
|
111
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--subtitle-tracks" title='The "subtitle-tracks" property'>subtitle-tracks</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read
|
112
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--user-agent" title='The "user-agent" property'>user-agent</a>" <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>* : Read / Write
|
113
|
+
</pre>
|
114
|
+
</div>
|
115
|
+
<div class="refsect1">
|
116
|
+
<a name="ClutterGstPlayer.signals"></a><h2>Signals</h2>
|
117
|
+
<pre class="synopsis">
|
118
|
+
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-download-buffering" title='The "download-buffering" signal'>download-buffering</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
119
|
+
</pre>
|
120
|
+
</div>
|
121
|
+
<div class="refsect1">
|
122
|
+
<a name="ClutterGstPlayer.description"></a><h2>Description</h2>
|
123
|
+
<p>
|
124
|
+
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is an interface for controlling playback of media
|
125
|
+
sources. Contrary to most interfaces, you don't need to implement
|
126
|
+
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>. It already provides an implementation/logic
|
127
|
+
leaving you only tweak a few properties to get the desired behavior.
|
128
|
+
</p>
|
129
|
+
<p>
|
130
|
+
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> extends and implements <span class="type">ClutterMedia</span> to create
|
131
|
+
enhanced player.
|
132
|
+
</p>
|
133
|
+
<p>
|
134
|
+
<span class="type">ClutterMedia</span> is available since Clutter 0.2
|
135
|
+
</p>
|
136
|
+
</div>
|
137
|
+
<div class="refsect1">
|
138
|
+
<a name="ClutterGstPlayer.details"></a><h2>Details</h2>
|
139
|
+
<div class="refsect2">
|
140
|
+
<a name="ClutterGstPlayer-struct"></a><h3>ClutterGstPlayer</h3>
|
141
|
+
<pre class="programlisting">typedef struct _ClutterGstPlayer ClutterGstPlayer;</pre>
|
142
|
+
<p>
|
143
|
+
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is an opaque structure whose members cannot be
|
144
|
+
directly accessed
|
145
|
+
</p>
|
146
|
+
<p class="since">Since 1.4</p>
|
147
|
+
</div>
|
148
|
+
<hr>
|
149
|
+
<div class="refsect2">
|
150
|
+
<a name="ClutterGstPlayerIface"></a><h3>struct ClutterGstPlayerIface</h3>
|
151
|
+
<pre class="programlisting">struct ClutterGstPlayerIface {
|
152
|
+
GstElement * (* get_pipeline) (ClutterGstPlayer *player);
|
153
|
+
|
154
|
+
gchar * (* get_user_agent) (ClutterGstPlayer *player);
|
155
|
+
void (* set_user_agent) (ClutterGstPlayer *player,
|
156
|
+
const gchar *user_agent);
|
157
|
+
|
158
|
+
ClutterGstSeekFlags (* get_seek_flags) (ClutterGstPlayer *player);
|
159
|
+
void (* set_seek_flags) (ClutterGstPlayer *player,
|
160
|
+
ClutterGstSeekFlags flags);
|
161
|
+
|
162
|
+
ClutterGstBufferingMode (* get_buffering_mode) (ClutterGstPlayer *player);
|
163
|
+
void (* set_buffering_mode) (ClutterGstPlayer *player,
|
164
|
+
ClutterGstBufferingMode mode);
|
165
|
+
|
166
|
+
GList * (* get_audio_streams) (ClutterGstPlayer *player);
|
167
|
+
gint (* get_audio_stream) (ClutterGstPlayer *player);
|
168
|
+
void (* set_audio_stream) (ClutterGstPlayer *player,
|
169
|
+
gint index_);
|
170
|
+
|
171
|
+
GList * (* get_subtitle_tracks) (ClutterGstPlayer *player);
|
172
|
+
gint (* get_subtitle_track) (ClutterGstPlayer *player);
|
173
|
+
void (* set_subtitle_track) (ClutterGstPlayer *player,
|
174
|
+
gint index_);
|
175
|
+
|
176
|
+
gboolean (*get_idle) (ClutterGstPlayer *player);
|
177
|
+
|
178
|
+
gboolean (*get_in_seek) (ClutterGstPlayer *player);
|
179
|
+
|
180
|
+
void (* _iface_reserved16) (void);
|
181
|
+
void (* _iface_reserved17) (void);
|
182
|
+
void (* _iface_reserved18) (void);
|
183
|
+
void (* _iface_reserved19) (void);
|
184
|
+
void (* _iface_reserved20) (void);
|
185
|
+
void (* _iface_reserved21) (void);
|
186
|
+
void (* _iface_reserved22) (void);
|
187
|
+
void (* _iface_reserved23) (void);
|
188
|
+
void (* _iface_reserved24) (void);
|
189
|
+
void (* _iface_reserved25) (void);
|
190
|
+
void (* _iface_reserved26) (void);
|
191
|
+
void (* _iface_reserved27) (void);
|
192
|
+
void (* _iface_reserved28) (void);
|
193
|
+
void (* _iface_reserved29) (void);
|
194
|
+
void (* _iface_reserved30) (void);
|
195
|
+
void (* _iface_reserved31) (void);
|
196
|
+
void (* _iface_reserved32) (void);
|
197
|
+
void (* _iface_reserved33) (void);
|
198
|
+
void (* _iface_reserved34) (void);
|
199
|
+
void (* _iface_reserved35) (void);
|
200
|
+
|
201
|
+
/* signals */
|
202
|
+
void (* download_buffering) (ClutterGstPlayer *player,
|
203
|
+
gdouble start,
|
204
|
+
gdouble stop);
|
205
|
+
void (* _clutter_reserved2) (void);
|
206
|
+
void (* _clutter_reserved3) (void);
|
207
|
+
void (* _clutter_reserved4) (void);
|
208
|
+
void (* _clutter_reserved5) (void);
|
209
|
+
void (* _clutter_reserved6) (void);
|
210
|
+
void (* _clutter_reserved7) (void);
|
211
|
+
void (* _clutter_reserved8) (void);
|
212
|
+
void (* _clutter_reserved9) (void);
|
213
|
+
void (* _clutter_reserved10) (void);
|
214
|
+
};
|
215
|
+
</pre>
|
216
|
+
<p>
|
217
|
+
Interface vtable for <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> implementations
|
218
|
+
</p>
|
219
|
+
<div class="variablelist"><table border="0">
|
220
|
+
<col align="left" valign="top">
|
221
|
+
<tbody>
|
222
|
+
<tr>
|
223
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-pipeline"></a>get_pipeline</code></em> ()</span></p></td>
|
224
|
+
<td></td>
|
225
|
+
</tr>
|
226
|
+
<tr>
|
227
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-user-agent"></a>get_user_agent</code></em> ()</span></p></td>
|
228
|
+
<td></td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-user-agent"></a>set_user_agent</code></em> ()</span></p></td>
|
232
|
+
<td></td>
|
233
|
+
</tr>
|
234
|
+
<tr>
|
235
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-seek-flags"></a>get_seek_flags</code></em> ()</span></p></td>
|
236
|
+
<td></td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-seek-flags"></a>set_seek_flags</code></em> ()</span></p></td>
|
240
|
+
<td></td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-buffering-mode"></a>get_buffering_mode</code></em> ()</span></p></td>
|
244
|
+
<td></td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-buffering-mode"></a>set_buffering_mode</code></em> ()</span></p></td>
|
248
|
+
<td></td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-audio-streams"></a>get_audio_streams</code></em> ()</span></p></td>
|
252
|
+
<td></td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-audio-stream"></a>get_audio_stream</code></em> ()</span></p></td>
|
256
|
+
<td></td>
|
257
|
+
</tr>
|
258
|
+
<tr>
|
259
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-audio-stream"></a>set_audio_stream</code></em> ()</span></p></td>
|
260
|
+
<td></td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-subtitle-tracks"></a>get_subtitle_tracks</code></em> ()</span></p></td>
|
264
|
+
<td></td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-subtitle-track"></a>get_subtitle_track</code></em> ()</span></p></td>
|
268
|
+
<td></td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-subtitle-track"></a>set_subtitle_track</code></em> ()</span></p></td>
|
272
|
+
<td></td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-idle"></a>get_idle</code></em> ()</span></p></td>
|
276
|
+
<td></td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-in-seek"></a>get_in_seek</code></em> ()</span></p></td>
|
280
|
+
<td></td>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved16"></a>_iface_reserved16</code></em> ()</span></p></td>
|
284
|
+
<td></td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved17"></a>_iface_reserved17</code></em> ()</span></p></td>
|
288
|
+
<td></td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved18"></a>_iface_reserved18</code></em> ()</span></p></td>
|
292
|
+
<td></td>
|
293
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved19"></a>_iface_reserved19</code></em> ()</span></p></td>
|
296
|
+
<td></td>
|
297
|
+
</tr>
|
298
|
+
<tr>
|
299
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved20"></a>_iface_reserved20</code></em> ()</span></p></td>
|
300
|
+
<td></td>
|
301
|
+
</tr>
|
302
|
+
<tr>
|
303
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved21"></a>_iface_reserved21</code></em> ()</span></p></td>
|
304
|
+
<td></td>
|
305
|
+
</tr>
|
306
|
+
<tr>
|
307
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved22"></a>_iface_reserved22</code></em> ()</span></p></td>
|
308
|
+
<td></td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved23"></a>_iface_reserved23</code></em> ()</span></p></td>
|
312
|
+
<td></td>
|
313
|
+
</tr>
|
314
|
+
<tr>
|
315
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved24"></a>_iface_reserved24</code></em> ()</span></p></td>
|
316
|
+
<td></td>
|
317
|
+
</tr>
|
318
|
+
<tr>
|
319
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved25"></a>_iface_reserved25</code></em> ()</span></p></td>
|
320
|
+
<td></td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved26"></a>_iface_reserved26</code></em> ()</span></p></td>
|
324
|
+
<td></td>
|
325
|
+
</tr>
|
326
|
+
<tr>
|
327
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved27"></a>_iface_reserved27</code></em> ()</span></p></td>
|
328
|
+
<td></td>
|
329
|
+
</tr>
|
330
|
+
<tr>
|
331
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved28"></a>_iface_reserved28</code></em> ()</span></p></td>
|
332
|
+
<td></td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved29"></a>_iface_reserved29</code></em> ()</span></p></td>
|
336
|
+
<td></td>
|
337
|
+
</tr>
|
338
|
+
<tr>
|
339
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved30"></a>_iface_reserved30</code></em> ()</span></p></td>
|
340
|
+
<td></td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved31"></a>_iface_reserved31</code></em> ()</span></p></td>
|
344
|
+
<td></td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved32"></a>_iface_reserved32</code></em> ()</span></p></td>
|
348
|
+
<td></td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved33"></a>_iface_reserved33</code></em> ()</span></p></td>
|
352
|
+
<td></td>
|
353
|
+
</tr>
|
354
|
+
<tr>
|
355
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved34"></a>_iface_reserved34</code></em> ()</span></p></td>
|
356
|
+
<td></td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved35"></a>_iface_reserved35</code></em> ()</span></p></td>
|
360
|
+
<td></td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.download-buffering"></a>download_buffering</code></em> ()</span></p></td>
|
364
|
+
<td>handler for the <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-download-buffering" title='The "download-buffering" signal'><span class="type">"download-buffering"</span></a>
|
365
|
+
signal</td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved2"></a>_clutter_reserved2</code></em> ()</span></p></td>
|
369
|
+
<td></td>
|
370
|
+
</tr>
|
371
|
+
<tr>
|
372
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved3"></a>_clutter_reserved3</code></em> ()</span></p></td>
|
373
|
+
<td></td>
|
374
|
+
</tr>
|
375
|
+
<tr>
|
376
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved4"></a>_clutter_reserved4</code></em> ()</span></p></td>
|
377
|
+
<td></td>
|
378
|
+
</tr>
|
379
|
+
<tr>
|
380
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved5"></a>_clutter_reserved5</code></em> ()</span></p></td>
|
381
|
+
<td></td>
|
382
|
+
</tr>
|
383
|
+
<tr>
|
384
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved6"></a>_clutter_reserved6</code></em> ()</span></p></td>
|
385
|
+
<td></td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved7"></a>_clutter_reserved7</code></em> ()</span></p></td>
|
389
|
+
<td></td>
|
390
|
+
</tr>
|
391
|
+
<tr>
|
392
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved8"></a>_clutter_reserved8</code></em> ()</span></p></td>
|
393
|
+
<td></td>
|
394
|
+
</tr>
|
395
|
+
<tr>
|
396
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved9"></a>_clutter_reserved9</code></em> ()</span></p></td>
|
397
|
+
<td></td>
|
398
|
+
</tr>
|
399
|
+
<tr>
|
400
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved10"></a>_clutter_reserved10</code></em> ()</span></p></td>
|
401
|
+
<td></td>
|
402
|
+
</tr>
|
403
|
+
</tbody>
|
404
|
+
</table></div>
|
405
|
+
<p class="since">Since 1.4</p>
|
406
|
+
</div>
|
407
|
+
<hr>
|
408
|
+
<div class="refsect2">
|
409
|
+
<a name="clutter-gst-player-class-init"></a><h3>clutter_gst_player_class_init ()</h3>
|
410
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_class_init (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *object_class</code></em>);</pre>
|
411
|
+
<p>
|
412
|
+
Adds the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> properties to a class and surchages the
|
413
|
+
set/get_property of <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>. You should call this
|
414
|
+
function at the end of the class_init method of the class
|
415
|
+
implementing <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>.
|
416
|
+
</p>
|
417
|
+
<div class="variablelist"><table border="0">
|
418
|
+
<col align="left" valign="top">
|
419
|
+
<tbody><tr>
|
420
|
+
<td><p><span class="term"><em class="parameter"><code>object_class</code></em> :</span></p></td>
|
421
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>
|
422
|
+
</td>
|
423
|
+
</tr></tbody>
|
424
|
+
</table></div>
|
425
|
+
<p class="since">Since 1.4</p>
|
426
|
+
</div>
|
427
|
+
<hr>
|
428
|
+
<div class="refsect2">
|
429
|
+
<a name="clutter-gst-player-init"></a><h3>clutter_gst_player_init ()</h3>
|
430
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> clutter_gst_player_init (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
431
|
+
<p>
|
432
|
+
Initialize a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> instance. You should call this
|
433
|
+
function at the beginning of the init method of the class
|
434
|
+
implementing <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>.
|
435
|
+
</p>
|
436
|
+
<p>
|
437
|
+
When you're finished with the ClutterGstPlayer mixin features (usually in
|
438
|
+
the dispose or finalize vfuncs), call <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-deinit" title="clutter_gst_player_deinit ()"><code class="function">clutter_gst_player_deinit()</code></a> to
|
439
|
+
desallocate the resources created by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-init" title="clutter_gst_player_init ()"><code class="function">clutter_gst_player_init()</code></a>.
|
440
|
+
</p>
|
441
|
+
<div class="variablelist"><table border="0">
|
442
|
+
<col align="left" valign="top">
|
443
|
+
<tbody>
|
444
|
+
<tr>
|
445
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
446
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
447
|
+
</td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
451
|
+
<td>TRUE if the initialization was successfull, FALSE otherwise.</td>
|
452
|
+
</tr>
|
453
|
+
</tbody>
|
454
|
+
</table></div>
|
455
|
+
<p class="since">Since 1.4</p>
|
456
|
+
</div>
|
457
|
+
<hr>
|
458
|
+
<div class="refsect2">
|
459
|
+
<a name="clutter-gst-player-deinit"></a><h3>clutter_gst_player_deinit ()</h3>
|
460
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_deinit (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
461
|
+
<p>
|
462
|
+
Frees the resources created by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-init" title="clutter_gst_player_init ()"><code class="function">clutter_gst_player_init()</code></a>. After
|
463
|
+
<a class="link" href="ClutterGstPlayer.html#clutter-gst-player-deinit" title="clutter_gst_player_deinit ()"><code class="function">clutter_gst_player_deinit()</code></a> has been called, no other player method can be
|
464
|
+
called on the instance.
|
465
|
+
</p>
|
466
|
+
<div class="variablelist"><table border="0">
|
467
|
+
<col align="left" valign="top">
|
468
|
+
<tbody><tr>
|
469
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
470
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
471
|
+
</td>
|
472
|
+
</tr></tbody>
|
473
|
+
</table></div>
|
474
|
+
<p class="since">Since 1.4</p>
|
475
|
+
</div>
|
476
|
+
<hr>
|
477
|
+
<div class="refsect2">
|
478
|
+
<a name="clutter-gst-player-get-pipeline"></a><h3>clutter_gst_player_get_pipeline ()</h3>
|
479
|
+
<pre class="programlisting"><span class="returnvalue">GstElement</span> * clutter_gst_player_get_pipeline (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
480
|
+
<p>
|
481
|
+
Retrieves the <span class="type">GstPipeline</span> used by the <em class="parameter"><code>player</code></em>, for direct use with
|
482
|
+
GStreamer API.
|
483
|
+
</p>
|
484
|
+
<div class="variablelist"><table border="0">
|
485
|
+
<col align="left" valign="top">
|
486
|
+
<tbody>
|
487
|
+
<tr>
|
488
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
489
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
490
|
+
</td>
|
491
|
+
</tr>
|
492
|
+
<tr>
|
493
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
494
|
+
<td>the <span class="type">GstPipeline</span> element used by the player. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
495
|
+
</td>
|
496
|
+
</tr>
|
497
|
+
</tbody>
|
498
|
+
</table></div>
|
499
|
+
<p class="since">Since 1.4</p>
|
500
|
+
</div>
|
501
|
+
<hr>
|
502
|
+
<div class="refsect2">
|
503
|
+
<a name="clutter-gst-player-get-idle"></a><h3>clutter_gst_player_get_idle ()</h3>
|
504
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> clutter_gst_player_get_idle (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
505
|
+
<p>
|
506
|
+
Get the idle state of the pipeline.
|
507
|
+
</p>
|
508
|
+
<div class="variablelist"><table border="0">
|
509
|
+
<col align="left" valign="top">
|
510
|
+
<tbody>
|
511
|
+
<tr>
|
512
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
513
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
514
|
+
</td>
|
515
|
+
</tr>
|
516
|
+
<tr>
|
517
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
518
|
+
<td>TRUE if the pipline is in idle mode, FALSE otherwise.</td>
|
519
|
+
</tr>
|
520
|
+
</tbody>
|
521
|
+
</table></div>
|
522
|
+
<p class="since">Since 1.4</p>
|
523
|
+
</div>
|
524
|
+
<hr>
|
525
|
+
<div class="refsect2">
|
526
|
+
<a name="clutter-gst-player-get-user-agent"></a><h3>clutter_gst_player_get_user_agent ()</h3>
|
527
|
+
<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_player_get_user_agent (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
528
|
+
<p>
|
529
|
+
Retrieves the user agent used when streaming.
|
530
|
+
</p>
|
531
|
+
<div class="variablelist"><table border="0">
|
532
|
+
<col align="left" valign="top">
|
533
|
+
<tbody>
|
534
|
+
<tr>
|
535
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
536
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
537
|
+
</td>
|
538
|
+
</tr>
|
539
|
+
<tr>
|
540
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
541
|
+
<td>the user agent used. The returned string has to be freed with
|
542
|
+
<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>
|
543
|
+
</td>
|
544
|
+
</tr>
|
545
|
+
</tbody>
|
546
|
+
</table></div>
|
547
|
+
<p class="since">Since 1.4</p>
|
548
|
+
</div>
|
549
|
+
<hr>
|
550
|
+
<div class="refsect2">
|
551
|
+
<a name="clutter-gst-player-set-user-agent"></a><h3>clutter_gst_player_set_user_agent ()</h3>
|
552
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_user_agent (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
553
|
+
<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>
|
554
|
+
<p>
|
555
|
+
Sets the user agent to use when streaming.
|
556
|
+
</p>
|
557
|
+
<p>
|
558
|
+
When streaming content, you might want to set a custom user agent, eg. to
|
559
|
+
promote your software, make it appear in statistics or because the server
|
560
|
+
requires a special user agent you want to impersonate.
|
561
|
+
</p>
|
562
|
+
<div class="variablelist"><table border="0">
|
563
|
+
<col align="left" valign="top">
|
564
|
+
<tbody>
|
565
|
+
<tr>
|
566
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
567
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
568
|
+
</td>
|
569
|
+
</tr>
|
570
|
+
<tr>
|
571
|
+
<td><p><span class="term"><em class="parameter"><code>user_agent</code></em> :</span></p></td>
|
572
|
+
<td>the user agent</td>
|
573
|
+
</tr>
|
574
|
+
</tbody>
|
575
|
+
</table></div>
|
576
|
+
<p class="since">Since 1.4</p>
|
577
|
+
</div>
|
578
|
+
<hr>
|
579
|
+
<div class="refsect2">
|
580
|
+
<a name="clutter-gst-player-set-seek-flags"></a><h3>clutter_gst_player_set_seek_flags ()</h3>
|
581
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_seek_flags (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
582
|
+
<em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);</pre>
|
583
|
+
<p>
|
584
|
+
Seeking can be done with several trade-offs. Clutter-gst defaults
|
585
|
+
to <code class="literal">CLUTTER_GST_SEEK_FLAG_NONE</code>.
|
586
|
+
</p>
|
587
|
+
<div class="variablelist"><table border="0">
|
588
|
+
<col align="left" valign="top">
|
589
|
+
<tbody>
|
590
|
+
<tr>
|
591
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
592
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
593
|
+
</td>
|
594
|
+
</tr>
|
595
|
+
<tr>
|
596
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
597
|
+
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
|
598
|
+
</td>
|
599
|
+
</tr>
|
600
|
+
</tbody>
|
601
|
+
</table></div>
|
602
|
+
<p class="since">Since 1.4</p>
|
603
|
+
</div>
|
604
|
+
<hr>
|
605
|
+
<div class="refsect2">
|
606
|
+
<a name="clutter-gst-player-get-seek-flags"></a><h3>clutter_gst_player_get_seek_flags ()</h3>
|
607
|
+
<pre class="programlisting"><span class="returnvalue">ClutterGstSeekFlags</span> clutter_gst_player_get_seek_flags (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
608
|
+
<p>
|
609
|
+
Get the current value of the seek-flags property.
|
610
|
+
</p>
|
611
|
+
<div class="variablelist"><table border="0">
|
612
|
+
<col align="left" valign="top">
|
613
|
+
<tbody>
|
614
|
+
<tr>
|
615
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
616
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
617
|
+
</td>
|
618
|
+
</tr>
|
619
|
+
<tr>
|
620
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
621
|
+
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
|
622
|
+
</td>
|
623
|
+
</tr>
|
624
|
+
</tbody>
|
625
|
+
</table></div>
|
626
|
+
<p class="since">Since 1.4</p>
|
627
|
+
</div>
|
628
|
+
<hr>
|
629
|
+
<div class="refsect2">
|
630
|
+
<a name="clutter-gst-player-get-buffering-mode"></a><h3>clutter_gst_player_get_buffering_mode ()</h3>
|
631
|
+
<pre class="programlisting"><span class="returnvalue">ClutterGstBufferingMode</span> clutter_gst_player_get_buffering_mode
|
632
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
633
|
+
<div class="variablelist"><table border="0">
|
634
|
+
<col align="left" valign="top">
|
635
|
+
<tbody>
|
636
|
+
<tr>
|
637
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
638
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
639
|
+
</td>
|
640
|
+
</tr>
|
641
|
+
<tr>
|
642
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
643
|
+
<td>a <span class="type">ClutterGstBufferingMode</span>
|
644
|
+
</td>
|
645
|
+
</tr>
|
646
|
+
</tbody>
|
647
|
+
</table></div>
|
648
|
+
<p class="since">Since 1.4</p>
|
649
|
+
</div>
|
650
|
+
<hr>
|
651
|
+
<div class="refsect2">
|
652
|
+
<a name="clutter-gst-player-set-buffering-mode"></a><h3>clutter_gst_player_set_buffering_mode ()</h3>
|
653
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_buffering_mode
|
654
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
655
|
+
<em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);</pre>
|
656
|
+
<div class="variablelist"><table border="0">
|
657
|
+
<col align="left" valign="top">
|
658
|
+
<tbody>
|
659
|
+
<tr>
|
660
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
661
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
662
|
+
</td>
|
663
|
+
</tr>
|
664
|
+
<tr>
|
665
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
666
|
+
<td>a <span class="type">ClutterGstBufferingMode</span>
|
667
|
+
</td>
|
668
|
+
</tr>
|
669
|
+
</tbody>
|
670
|
+
</table></div>
|
671
|
+
<p class="since">Since 1.4</p>
|
672
|
+
</div>
|
673
|
+
<hr>
|
674
|
+
<div class="refsect2">
|
675
|
+
<a name="clutter-gst-player-get-audio-streams"></a><h3>clutter_gst_player_get_audio_streams ()</h3>
|
676
|
+
<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_player_get_audio_streams
|
677
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
678
|
+
<p>
|
679
|
+
Get the list of audio streams of the current media.
|
680
|
+
</p>
|
681
|
+
<div class="variablelist"><table border="0">
|
682
|
+
<col align="left" valign="top">
|
683
|
+
<tbody>
|
684
|
+
<tr>
|
685
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
686
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
687
|
+
</td>
|
688
|
+
</tr>
|
689
|
+
<tr>
|
690
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
691
|
+
<td>a list of
|
692
|
+
strings 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> utf8]</span>
|
693
|
+
</td>
|
694
|
+
</tr>
|
695
|
+
</tbody>
|
696
|
+
</table></div>
|
697
|
+
<p class="since">Since 1.4</p>
|
698
|
+
</div>
|
699
|
+
<hr>
|
700
|
+
<div class="refsect2">
|
701
|
+
<a name="clutter-gst-player-get-audio-stream"></a><h3>clutter_gst_player_get_audio_stream ()</h3>
|
702
|
+
<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_player_get_audio_stream (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
703
|
+
<p>
|
704
|
+
Get the current audio stream. The number returned in the index of the
|
705
|
+
audio stream playing in the list returned by
|
706
|
+
<a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-audio-streams" title="clutter_gst_player_get_audio_streams ()"><code class="function">clutter_gst_player_get_audio_streams()</code></a>.
|
707
|
+
</p>
|
708
|
+
<div class="variablelist"><table border="0">
|
709
|
+
<col align="left" valign="top">
|
710
|
+
<tbody>
|
711
|
+
<tr>
|
712
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
713
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
714
|
+
</td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
718
|
+
<td>the index of the current audio stream, -1 if the media has no
|
719
|
+
audio stream</td>
|
720
|
+
</tr>
|
721
|
+
</tbody>
|
722
|
+
</table></div>
|
723
|
+
<p class="since">Since 1.4</p>
|
724
|
+
</div>
|
725
|
+
<hr>
|
726
|
+
<div class="refsect2">
|
727
|
+
<a name="clutter-gst-player-set-audio-stream"></a><h3>clutter_gst_player_set_audio_stream ()</h3>
|
728
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_audio_stream (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
729
|
+
<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>
|
730
|
+
<p>
|
731
|
+
Set the audio stream to play. <em class="parameter"><code>index_</code></em> is the index of the stream
|
732
|
+
in the list returned by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-audio-streams" title="clutter_gst_player_get_audio_streams ()"><code class="function">clutter_gst_player_get_audio_streams()</code></a>.
|
733
|
+
</p>
|
734
|
+
<div class="variablelist"><table border="0">
|
735
|
+
<col align="left" valign="top">
|
736
|
+
<tbody>
|
737
|
+
<tr>
|
738
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
739
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
740
|
+
</td>
|
741
|
+
</tr>
|
742
|
+
<tr>
|
743
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
744
|
+
<td>the index of the audio stream</td>
|
745
|
+
</tr>
|
746
|
+
</tbody>
|
747
|
+
</table></div>
|
748
|
+
<p class="since">Since 1.4</p>
|
749
|
+
</div>
|
750
|
+
<hr>
|
751
|
+
<div class="refsect2">
|
752
|
+
<a name="clutter-gst-player-get-subtitle-tracks"></a><h3>clutter_gst_player_get_subtitle_tracks ()</h3>
|
753
|
+
<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_player_get_subtitle_tracks
|
754
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
755
|
+
<p>
|
756
|
+
Get the list of subtitles tracks of the current media.
|
757
|
+
</p>
|
758
|
+
<div class="variablelist"><table border="0">
|
759
|
+
<col align="left" valign="top">
|
760
|
+
<tbody>
|
761
|
+
<tr>
|
762
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
763
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
764
|
+
</td>
|
765
|
+
</tr>
|
766
|
+
<tr>
|
767
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
768
|
+
<td>a list of
|
769
|
+
strings 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> utf8]</span>
|
770
|
+
</td>
|
771
|
+
</tr>
|
772
|
+
</tbody>
|
773
|
+
</table></div>
|
774
|
+
<p class="since">Since 1.4</p>
|
775
|
+
</div>
|
776
|
+
<hr>
|
777
|
+
<div class="refsect2">
|
778
|
+
<a name="clutter-gst-player-get-subtitle-track"></a><h3>clutter_gst_player_get_subtitle_track ()</h3>
|
779
|
+
<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_player_get_subtitle_track
|
780
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
781
|
+
<p>
|
782
|
+
Get the current subtitles track. The number returned is the index of the
|
783
|
+
subtiles track in the list returned by
|
784
|
+
<a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-tracks" title="clutter_gst_player_get_subtitle_tracks ()"><code class="function">clutter_gst_player_get_subtitle_tracks()</code></a>.
|
785
|
+
</p>
|
786
|
+
<div class="variablelist"><table border="0">
|
787
|
+
<col align="left" valign="top">
|
788
|
+
<tbody>
|
789
|
+
<tr>
|
790
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
791
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
792
|
+
</td>
|
793
|
+
</tr>
|
794
|
+
<tr>
|
795
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
796
|
+
<td>the index of the current subtitlest track, -1 if the media has
|
797
|
+
no subtitles track or if the subtitles have been turned off</td>
|
798
|
+
</tr>
|
799
|
+
</tbody>
|
800
|
+
</table></div>
|
801
|
+
<p class="since">Since 1.4</p>
|
802
|
+
</div>
|
803
|
+
<hr>
|
804
|
+
<div class="refsect2">
|
805
|
+
<a name="clutter-gst-player-set-subtitle-track"></a><h3>clutter_gst_player_set_subtitle_track ()</h3>
|
806
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_subtitle_track
|
807
|
+
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
808
|
+
<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>
|
809
|
+
<p>
|
810
|
+
Set the subtitles track to play. <em class="parameter"><code>index_</code></em> is the index of the stream
|
811
|
+
in the list returned by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-tracks" title="clutter_gst_player_get_subtitle_tracks ()"><code class="function">clutter_gst_player_get_subtitle_tracks()</code></a>.
|
812
|
+
</p>
|
813
|
+
<p>
|
814
|
+
If <em class="parameter"><code>index_</code></em> is -1, the subtitles are turned off.
|
815
|
+
</p>
|
816
|
+
<div class="variablelist"><table border="0">
|
817
|
+
<col align="left" valign="top">
|
818
|
+
<tbody>
|
819
|
+
<tr>
|
820
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
821
|
+
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
822
|
+
</td>
|
823
|
+
</tr>
|
824
|
+
<tr>
|
825
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
826
|
+
<td>the index of the subtitles track</td>
|
827
|
+
</tr>
|
828
|
+
</tbody>
|
829
|
+
</table></div>
|
830
|
+
<p class="since">Since 1.4</p>
|
831
|
+
</div>
|
832
|
+
</div>
|
833
|
+
<div class="refsect1">
|
834
|
+
<a name="ClutterGstPlayer.property-details"></a><h2>Property Details</h2>
|
835
|
+
<div class="refsect2">
|
836
|
+
<a name="ClutterGstPlayer--audio-stream"></a><h3>The <code class="literal">"audio-stream"</code> property</h3>
|
837
|
+
<pre class="programlisting"> "audio-stream" <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>
|
838
|
+
<p>
|
839
|
+
Index of the current audio stream.
|
840
|
+
</p>
|
841
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
842
|
+
<p>Default value: -1</p>
|
843
|
+
<p class="since">Since 1.4</p>
|
844
|
+
</div>
|
845
|
+
<hr>
|
846
|
+
<div class="refsect2">
|
847
|
+
<a name="ClutterGstPlayer--audio-streams"></a><h3>The <code class="literal">"audio-streams"</code> property</h3>
|
848
|
+
<pre class="programlisting"> "audio-streams" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read</pre>
|
849
|
+
<p>
|
850
|
+
List of audio streams available on the current media.
|
851
|
+
</p>
|
852
|
+
<p class="since">Since 1.4</p>
|
853
|
+
</div>
|
854
|
+
<hr>
|
855
|
+
<div class="refsect2">
|
856
|
+
<a name="ClutterGstPlayer--idle"></a><h3>The <code class="literal">"idle"</code> property</h3>
|
857
|
+
<pre class="programlisting"> "idle" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
858
|
+
<p>
|
859
|
+
Whether the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is in idle mode.
|
860
|
+
</p>
|
861
|
+
<p>Default value: TRUE</p>
|
862
|
+
<p class="since">Since 1.4</p>
|
863
|
+
</div>
|
864
|
+
<hr>
|
865
|
+
<div class="refsect2">
|
866
|
+
<a name="ClutterGstPlayer--in-seek"></a><h3>The <code class="literal">"in-seek"</code> property</h3>
|
867
|
+
<pre class="programlisting"> "in-seek" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
868
|
+
<p>
|
869
|
+
Whether or not the stream is being seeked.
|
870
|
+
</p>
|
871
|
+
<p>Default value: FALSE</p>
|
872
|
+
<p class="since">Since 1.6</p>
|
873
|
+
</div>
|
874
|
+
<hr>
|
875
|
+
<div class="refsect2">
|
876
|
+
<a name="ClutterGstPlayer--seek-flags"></a><h3>The <code class="literal">"seek-flags"</code> property</h3>
|
877
|
+
<pre class="programlisting"> "seek-flags" <span class="type">ClutterGstSeekFlags</span> : Read / Write</pre>
|
878
|
+
<p>
|
879
|
+
Flags to use when seeking.
|
880
|
+
</p>
|
881
|
+
<p class="since">Since 1.4</p>
|
882
|
+
</div>
|
883
|
+
<hr>
|
884
|
+
<div class="refsect2">
|
885
|
+
<a name="ClutterGstPlayer--subtitle-track"></a><h3>The <code class="literal">"subtitle-track"</code> property</h3>
|
886
|
+
<pre class="programlisting"> "subtitle-track" <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>
|
887
|
+
<p>Index of the current subtitles track.</p>
|
888
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
889
|
+
<p>Default value: -1</p>
|
890
|
+
</div>
|
891
|
+
<hr>
|
892
|
+
<div class="refsect2">
|
893
|
+
<a name="ClutterGstPlayer--subtitle-tracks"></a><h3>The <code class="literal">"subtitle-tracks"</code> property</h3>
|
894
|
+
<pre class="programlisting"> "subtitle-tracks" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read</pre>
|
895
|
+
<p>List of the subtitles tracks of the media.</p>
|
896
|
+
</div>
|
897
|
+
<hr>
|
898
|
+
<div class="refsect2">
|
899
|
+
<a name="ClutterGstPlayer--user-agent"></a><h3>The <code class="literal">"user-agent"</code> property</h3>
|
900
|
+
<pre class="programlisting"> "user-agent" <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>* : Read / Write</pre>
|
901
|
+
<p>
|
902
|
+
The User Agent used by <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> with network protocols.
|
903
|
+
</p>
|
904
|
+
<p>Default value: NULL</p>
|
905
|
+
<p class="since">Since 1.4</p>
|
906
|
+
</div>
|
907
|
+
</div>
|
908
|
+
<div class="refsect1">
|
909
|
+
<a name="ClutterGstPlayer.signal-details"></a><h2>Signal Details</h2>
|
910
|
+
<div class="refsect2">
|
911
|
+
<a name="ClutterGstPlayer-download-buffering"></a><h3>The <code class="literal">"download-buffering"</code> signal</h3>
|
912
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player,
|
913
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> start,
|
914
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> stop,
|
915
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
916
|
+
<p>
|
917
|
+
The ::download-buffering signal is emitted each time their an
|
918
|
+
update about the buffering of the current media.
|
919
|
+
</p>
|
920
|
+
<div class="variablelist"><table border="0">
|
921
|
+
<col align="left" valign="top">
|
922
|
+
<tbody>
|
923
|
+
<tr>
|
924
|
+
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
925
|
+
<td>the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> instance that received the signal</td>
|
926
|
+
</tr>
|
927
|
+
<tr>
|
928
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
929
|
+
<td>start position of the buffering</td>
|
930
|
+
</tr>
|
931
|
+
<tr>
|
932
|
+
<td><p><span class="term"><em class="parameter"><code>stop</code></em> :</span></p></td>
|
933
|
+
<td>start position of the buffering</td>
|
934
|
+
</tr>
|
935
|
+
<tr>
|
936
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
937
|
+
<td>user data set when the signal handler was connected.</td>
|
938
|
+
</tr>
|
939
|
+
</tbody>
|
940
|
+
</table></div>
|
941
|
+
<p class="since">Since 1.4</p>
|
942
|
+
</div>
|
943
|
+
</div>
|
944
|
+
</div>
|
945
|
+
<div class="footer">
|
946
|
+
<hr>
|
947
|
+
Generated by GTK-Doc V1.18</div>
|
948
|
+
</body>
|
949
|
+
</html>
|