clutter-gstreamer 2.2.3-x86-mingw32 → 2.2.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +4 -3
- data/lib/clutter-gst.rb +1 -0
- data/vendor/local/bin/libclutter-gst-3.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-aspectratio.h +105 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera-device.h +119 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera-manager.h +100 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-camera.h +206 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-content.h +107 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-crop.h +104 -0
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-enum-types.h +0 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-playback.h +169 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-player.h +157 -0
- data/vendor/local/include/clutter-gst-3.0/clutter-gst/clutter-gst-types.h +167 -0
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-util.h +1 -1
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-version.h +4 -4
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst-video-sink.h +47 -34
- data/vendor/local/include/{clutter-gst-2.0 → clutter-gst-3.0}/clutter-gst/clutter-gst.h +13 -7
- data/vendor/local/lib/girepository-1.0/ClutterGst-3.0.typelib +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.dll +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.dll.a +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter-3.0.la +41 -0
- data/vendor/local/lib/libclutter-gst-3.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-3.0.la +41 -0
- data/vendor/local/lib/pkgconfig/clutter-gst-3.0.pc +12 -0
- data/vendor/local/share/gir-1.0/ClutterGst-3.0.gir +3308 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstAspectratio.html +171 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCamera.html +1528 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCameraDevice.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstContent.html +551 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstCrop.html +198 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayback.html +1559 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ClutterGstPlayer.html +805 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/ch01.html +10 -10
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch02.html +42 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch03.html +45 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch04.html +35 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/ch05.html +39 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-3.0.devhelp2 +197 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Utilities.html +316 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Versioning-Macros.html +176 -0
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/clutter-gst-Video-Sink.html +560 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/index.html +33 -10
- data/vendor/local/share/gtk-doc/html/clutter-gst-3.0/index.sgml +273 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/license.html +7 -7
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/{clutter-gst → clutter-gst-3.0}/up.png +0 -0
- metadata +70 -42
- data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h +0 -186
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-types.h +0 -65
- data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-texture.h +0 -132
- data/vendor/local/lib/girepository-1.0/ClutterGst-2.0.typelib +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll.a +0 -0
- data/vendor/local/lib/gstreamer-1.0/libgstclutter.la +0 -41
- data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-gst-2.0.la +0 -41
- data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +0 -12
- data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +0 -1795
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +0 -1003
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +0 -177
- data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +0 -624
- data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +0 -48
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +0 -284
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +0 -144
- data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +0 -79
- data/vendor/local/share/gtk-doc/html/clutter-gst/index.sgml +0 -97
@@ -1,1003 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Clutter Gst 2.0.12
|
6
|
-
Reference Manual: ClutterGstPlayer</title>
|
7
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
8
|
-
<link rel="home" href="index.html" title="Clutter Gst 2.0.12 Reference Manual">
|
9
|
-
<link rel="up" href="ch02.html" title="Clutter Actors And Objects">
|
10
|
-
<link rel="prev" href="ch02.html" title="Clutter Actors And Objects">
|
11
|
-
<link rel="next" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture">
|
12
|
-
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
13
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
14
|
-
</head>
|
15
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
16
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
17
|
-
<td width="100%" align="left">
|
18
|
-
<a href="#" class="shortcut">Top</a>
|
19
|
-
|
|
20
|
-
<a href="#ClutterGstPlayer.description" class="shortcut">Description</a>
|
21
|
-
|
|
22
|
-
<a href="#ClutterGstPlayer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
23
|
-
|
|
24
|
-
<a href="#ClutterGstPlayer.prerequisites" class="shortcut">Prerequisites</a>
|
25
|
-
|
|
26
|
-
<a href="#ClutterGstPlayer.implementations" class="shortcut">Known Implementations</a>
|
27
|
-
|
|
28
|
-
<a href="#ClutterGstPlayer.properties" class="shortcut">Properties</a>
|
29
|
-
|
|
30
|
-
<a href="#ClutterGstPlayer.signals" class="shortcut">Signals</a>
|
31
|
-
</td>
|
32
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
33
|
-
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
34
|
-
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
35
|
-
<td><a accesskey="n" href="ClutterGstVideoTexture.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
36
|
-
</tr></table>
|
37
|
-
<div class="refentry">
|
38
|
-
<a name="ClutterGstPlayer"></a><div class="titlepage"></div>
|
39
|
-
<div class="refnamediv"><table width="100%"><tr>
|
40
|
-
<td valign="top">
|
41
|
-
<h2><span class="refentrytitle"><a name="ClutterGstPlayer.top_of_page"></a>ClutterGstPlayer</span></h2>
|
42
|
-
<p>ClutterGstPlayer — An interface for controlling playback of media data</p>
|
43
|
-
</td>
|
44
|
-
<td valign="top" align="right"></td>
|
45
|
-
</tr></table></div>
|
46
|
-
<div class="refsynopsisdiv">
|
47
|
-
<a name="ClutterGstPlayer.synopsis"></a><h2>Synopsis</h2>
|
48
|
-
<pre class="synopsis"> <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-struct" title="ClutterGstPlayer">ClutterGstPlayer</a>;
|
49
|
-
struct <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayerIface" title="struct ClutterGstPlayerIface">ClutterGstPlayerIface</a>;
|
50
|
-
<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><span class="type">GObjectClass</span> *object_class</code></em>);
|
51
|
-
<span class="returnvalue">gboolean</span> <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>);
|
52
|
-
<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>);
|
53
|
-
<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>);
|
54
|
-
<span class="returnvalue">gboolean</span> <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>);
|
55
|
-
<span class="returnvalue">gchar</span> * <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>);
|
56
|
-
<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>,
|
57
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *user_agent</code></em>);
|
58
|
-
<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>,
|
59
|
-
<em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);
|
60
|
-
<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>);
|
61
|
-
<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>
|
62
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
63
|
-
<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>
|
64
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);
|
66
|
-
<span class="returnvalue">GList</span> * <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>
|
67
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
68
|
-
<span class="returnvalue">gint</span> <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>);
|
69
|
-
<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>,
|
70
|
-
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);
|
71
|
-
<span class="returnvalue">GList</span> * <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>
|
72
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
73
|
-
<span class="returnvalue">gint</span> <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>
|
74
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
|
75
|
-
<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>
|
76
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
77
|
-
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);
|
78
|
-
</pre>
|
79
|
-
</div>
|
80
|
-
<div class="refsect1">
|
81
|
-
<a name="ClutterGstPlayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
82
|
-
<pre class="synopsis">
|
83
|
-
GInterface
|
84
|
-
+----ClutterGstPlayer
|
85
|
-
</pre>
|
86
|
-
</div>
|
87
|
-
<div class="refsect1">
|
88
|
-
<a name="ClutterGstPlayer.prerequisites"></a><h2>Prerequisites</h2>
|
89
|
-
<p>
|
90
|
-
ClutterGstPlayer requires
|
91
|
-
ClutterMedia and GObject.</p>
|
92
|
-
</div>
|
93
|
-
<div class="refsect1">
|
94
|
-
<a name="ClutterGstPlayer.implementations"></a><h2>Known Implementations</h2>
|
95
|
-
<p>
|
96
|
-
ClutterGstPlayer is implemented by
|
97
|
-
<a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture">ClutterGstVideoTexture</a>.</p>
|
98
|
-
</div>
|
99
|
-
<div class="refsect1">
|
100
|
-
<a name="ClutterGstPlayer.properties"></a><h2>Properties</h2>
|
101
|
-
<pre class="synopsis">
|
102
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--audio-stream" title='The "audio-stream" property'>audio-stream</a>" <span class="type">gint</span> : Read / Write
|
103
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--audio-streams" title='The "audio-streams" property'>audio-streams</a>" <span class="type">gpointer</span> : Read
|
104
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--idle" title='The "idle" property'>idle</a>" <span class="type">gboolean</span> : Read
|
105
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--in-seek" title='The "in-seek" property'>in-seek</a>" <span class="type">gboolean</span> : Read
|
106
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--seek-flags" title='The "seek-flags" property'>seek-flags</a>" <span class="type">ClutterGstSeekFlags</span> : Read / Write
|
107
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--subtitle-track" title='The "subtitle-track" property'>subtitle-track</a>" <span class="type">gint</span> : Read / Write
|
108
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--subtitle-tracks" title='The "subtitle-tracks" property'>subtitle-tracks</a>" <span class="type">gpointer</span> : Read
|
109
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--user-agent" title='The "user-agent" property'>user-agent</a>" <span class="type">gchar</span>* : Read / Write
|
110
|
-
</pre>
|
111
|
-
</div>
|
112
|
-
<div class="refsect1">
|
113
|
-
<a name="ClutterGstPlayer.signals"></a><h2>Signals</h2>
|
114
|
-
<pre class="synopsis">
|
115
|
-
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-download-buffering" title='The "download-buffering" signal'>download-buffering</a>" : <code class="literal">Run Last</code>
|
116
|
-
</pre>
|
117
|
-
</div>
|
118
|
-
<div class="refsect1">
|
119
|
-
<a name="ClutterGstPlayer.description"></a><h2>Description</h2>
|
120
|
-
<p>
|
121
|
-
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is an interface for controlling playback of media
|
122
|
-
sources. Contrary to most interfaces, you don't need to implement
|
123
|
-
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>. It already provides an implementation/logic
|
124
|
-
leaving you only tweak a few properties to get the desired behavior.
|
125
|
-
</p>
|
126
|
-
<p>
|
127
|
-
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> extends and implements <span class="type">ClutterMedia</span> to create
|
128
|
-
enhanced player.
|
129
|
-
</p>
|
130
|
-
<p>
|
131
|
-
<span class="type">ClutterMedia</span> is available since Clutter 0.2
|
132
|
-
</p>
|
133
|
-
</div>
|
134
|
-
<div class="refsect1">
|
135
|
-
<a name="ClutterGstPlayer.details"></a><h2>Details</h2>
|
136
|
-
<div class="refsect2">
|
137
|
-
<a name="ClutterGstPlayer-struct"></a><h3>ClutterGstPlayer</h3>
|
138
|
-
<pre class="programlisting">typedef struct _ClutterGstPlayer ClutterGstPlayer;</pre>
|
139
|
-
<p>
|
140
|
-
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is an opaque structure whose members cannot be
|
141
|
-
directly accessed
|
142
|
-
</p>
|
143
|
-
<p class="since">Since 1.4</p>
|
144
|
-
</div>
|
145
|
-
<hr>
|
146
|
-
<div class="refsect2">
|
147
|
-
<a name="ClutterGstPlayerIface"></a><h3>struct ClutterGstPlayerIface</h3>
|
148
|
-
<pre class="programlisting">struct ClutterGstPlayerIface {
|
149
|
-
GstElement * (* get_pipeline) (ClutterGstPlayer *player);
|
150
|
-
|
151
|
-
gchar * (* get_user_agent) (ClutterGstPlayer *player);
|
152
|
-
void (* set_user_agent) (ClutterGstPlayer *player,
|
153
|
-
const gchar *user_agent);
|
154
|
-
|
155
|
-
ClutterGstSeekFlags (* get_seek_flags) (ClutterGstPlayer *player);
|
156
|
-
void (* set_seek_flags) (ClutterGstPlayer *player,
|
157
|
-
ClutterGstSeekFlags flags);
|
158
|
-
|
159
|
-
ClutterGstBufferingMode (* get_buffering_mode) (ClutterGstPlayer *player);
|
160
|
-
void (* set_buffering_mode) (ClutterGstPlayer *player,
|
161
|
-
ClutterGstBufferingMode mode);
|
162
|
-
|
163
|
-
GList * (* get_audio_streams) (ClutterGstPlayer *player);
|
164
|
-
gint (* get_audio_stream) (ClutterGstPlayer *player);
|
165
|
-
void (* set_audio_stream) (ClutterGstPlayer *player,
|
166
|
-
gint index_);
|
167
|
-
|
168
|
-
GList * (* get_subtitle_tracks) (ClutterGstPlayer *player);
|
169
|
-
gint (* get_subtitle_track) (ClutterGstPlayer *player);
|
170
|
-
void (* set_subtitle_track) (ClutterGstPlayer *player,
|
171
|
-
gint index_);
|
172
|
-
|
173
|
-
gboolean (*get_idle) (ClutterGstPlayer *player);
|
174
|
-
|
175
|
-
gboolean (*get_in_seek) (ClutterGstPlayer *player);
|
176
|
-
|
177
|
-
void (* _iface_reserved16) (void);
|
178
|
-
void (* _iface_reserved17) (void);
|
179
|
-
void (* _iface_reserved18) (void);
|
180
|
-
void (* _iface_reserved19) (void);
|
181
|
-
void (* _iface_reserved20) (void);
|
182
|
-
void (* _iface_reserved21) (void);
|
183
|
-
void (* _iface_reserved22) (void);
|
184
|
-
void (* _iface_reserved23) (void);
|
185
|
-
void (* _iface_reserved24) (void);
|
186
|
-
void (* _iface_reserved25) (void);
|
187
|
-
void (* _iface_reserved26) (void);
|
188
|
-
void (* _iface_reserved27) (void);
|
189
|
-
void (* _iface_reserved28) (void);
|
190
|
-
void (* _iface_reserved29) (void);
|
191
|
-
void (* _iface_reserved30) (void);
|
192
|
-
void (* _iface_reserved31) (void);
|
193
|
-
void (* _iface_reserved32) (void);
|
194
|
-
void (* _iface_reserved33) (void);
|
195
|
-
void (* _iface_reserved34) (void);
|
196
|
-
void (* _iface_reserved35) (void);
|
197
|
-
|
198
|
-
/* signals */
|
199
|
-
void (* download_buffering) (ClutterGstPlayer *player,
|
200
|
-
gdouble start,
|
201
|
-
gdouble stop);
|
202
|
-
void (* _clutter_reserved2) (void);
|
203
|
-
void (* _clutter_reserved3) (void);
|
204
|
-
void (* _clutter_reserved4) (void);
|
205
|
-
void (* _clutter_reserved5) (void);
|
206
|
-
void (* _clutter_reserved6) (void);
|
207
|
-
void (* _clutter_reserved7) (void);
|
208
|
-
void (* _clutter_reserved8) (void);
|
209
|
-
void (* _clutter_reserved9) (void);
|
210
|
-
void (* _clutter_reserved10) (void);
|
211
|
-
};
|
212
|
-
</pre>
|
213
|
-
<p>
|
214
|
-
Interface vtable for <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> implementations
|
215
|
-
</p>
|
216
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
217
|
-
<colgroup>
|
218
|
-
<col align="left" valign="top">
|
219
|
-
<col>
|
220
|
-
</colgroup>
|
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><span class="type">GObjectClass</span> *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 <span class="type">GObjectClass</span>. 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" class="variablelist">
|
418
|
-
<colgroup>
|
419
|
-
<col align="left" valign="top">
|
420
|
-
<col>
|
421
|
-
</colgroup>
|
422
|
-
<tbody><tr>
|
423
|
-
<td><p><span class="term"><em class="parameter"><code>object_class</code></em> :</span></p></td>
|
424
|
-
<td>a <span class="type">GObjectClass</span>
|
425
|
-
</td>
|
426
|
-
</tr></tbody>
|
427
|
-
</table></div>
|
428
|
-
<p class="since">Since 1.4</p>
|
429
|
-
</div>
|
430
|
-
<hr>
|
431
|
-
<div class="refsect2">
|
432
|
-
<a name="clutter-gst-player-init"></a><h3>clutter_gst_player_init ()</h3>
|
433
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
434
|
-
<p>
|
435
|
-
Initialize a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> instance. You should call this
|
436
|
-
function at the beginning of the init method of the class
|
437
|
-
implementing <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>.
|
438
|
-
</p>
|
439
|
-
<p>
|
440
|
-
When you're finished with the ClutterGstPlayer mixin features (usually in
|
441
|
-
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
|
442
|
-
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>.
|
443
|
-
</p>
|
444
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
445
|
-
<colgroup>
|
446
|
-
<col align="left" valign="top">
|
447
|
-
<col>
|
448
|
-
</colgroup>
|
449
|
-
<tbody>
|
450
|
-
<tr>
|
451
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
452
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
453
|
-
</td>
|
454
|
-
</tr>
|
455
|
-
<tr>
|
456
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
457
|
-
<td>TRUE if the initialization was successfull, FALSE otherwise.</td>
|
458
|
-
</tr>
|
459
|
-
</tbody>
|
460
|
-
</table></div>
|
461
|
-
<p class="since">Since 1.4</p>
|
462
|
-
</div>
|
463
|
-
<hr>
|
464
|
-
<div class="refsect2">
|
465
|
-
<a name="clutter-gst-player-deinit"></a><h3>clutter_gst_player_deinit ()</h3>
|
466
|
-
<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>
|
467
|
-
<p>
|
468
|
-
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
|
469
|
-
<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
|
470
|
-
called on the instance.
|
471
|
-
</p>
|
472
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
473
|
-
<colgroup>
|
474
|
-
<col align="left" valign="top">
|
475
|
-
<col>
|
476
|
-
</colgroup>
|
477
|
-
<tbody><tr>
|
478
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
479
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
480
|
-
</td>
|
481
|
-
</tr></tbody>
|
482
|
-
</table></div>
|
483
|
-
<p class="since">Since 1.4</p>
|
484
|
-
</div>
|
485
|
-
<hr>
|
486
|
-
<div class="refsect2">
|
487
|
-
<a name="clutter-gst-player-get-pipeline"></a><h3>clutter_gst_player_get_pipeline ()</h3>
|
488
|
-
<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>
|
489
|
-
<p>
|
490
|
-
Retrieves the <span class="type">GstPipeline</span> used by the <em class="parameter"><code>player</code></em>, for direct use with
|
491
|
-
GStreamer API.
|
492
|
-
</p>
|
493
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
494
|
-
<colgroup>
|
495
|
-
<col align="left" valign="top">
|
496
|
-
<col>
|
497
|
-
</colgroup>
|
498
|
-
<tbody>
|
499
|
-
<tr>
|
500
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
501
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
502
|
-
</td>
|
503
|
-
</tr>
|
504
|
-
<tr>
|
505
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
506
|
-
<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>
|
507
|
-
</td>
|
508
|
-
</tr>
|
509
|
-
</tbody>
|
510
|
-
</table></div>
|
511
|
-
<p class="since">Since 1.4</p>
|
512
|
-
</div>
|
513
|
-
<hr>
|
514
|
-
<div class="refsect2">
|
515
|
-
<a name="clutter-gst-player-get-idle"></a><h3>clutter_gst_player_get_idle ()</h3>
|
516
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
517
|
-
<p>
|
518
|
-
Get the idle state of the pipeline.
|
519
|
-
</p>
|
520
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
521
|
-
<colgroup>
|
522
|
-
<col align="left" valign="top">
|
523
|
-
<col>
|
524
|
-
</colgroup>
|
525
|
-
<tbody>
|
526
|
-
<tr>
|
527
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
528
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
529
|
-
</td>
|
530
|
-
</tr>
|
531
|
-
<tr>
|
532
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
533
|
-
<td>TRUE if the pipline is in idle mode, FALSE otherwise.</td>
|
534
|
-
</tr>
|
535
|
-
</tbody>
|
536
|
-
</table></div>
|
537
|
-
<p class="since">Since 1.4</p>
|
538
|
-
</div>
|
539
|
-
<hr>
|
540
|
-
<div class="refsect2">
|
541
|
-
<a name="clutter-gst-player-get-user-agent"></a><h3>clutter_gst_player_get_user_agent ()</h3>
|
542
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * 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>
|
543
|
-
<p>
|
544
|
-
Retrieves the user agent used when streaming.
|
545
|
-
</p>
|
546
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
547
|
-
<colgroup>
|
548
|
-
<col align="left" valign="top">
|
549
|
-
<col>
|
550
|
-
</colgroup>
|
551
|
-
<tbody>
|
552
|
-
<tr>
|
553
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
554
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
555
|
-
</td>
|
556
|
-
</tr>
|
557
|
-
<tr>
|
558
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
559
|
-
<td>the user agent used. The returned string has to be freed with
|
560
|
-
<code class="function">g_free()</code>
|
561
|
-
</td>
|
562
|
-
</tr>
|
563
|
-
</tbody>
|
564
|
-
</table></div>
|
565
|
-
<p class="since">Since 1.4</p>
|
566
|
-
</div>
|
567
|
-
<hr>
|
568
|
-
<div class="refsect2">
|
569
|
-
<a name="clutter-gst-player-set-user-agent"></a><h3>clutter_gst_player_set_user_agent ()</h3>
|
570
|
-
<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>,
|
571
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *user_agent</code></em>);</pre>
|
572
|
-
<p>
|
573
|
-
Sets the user agent to use when streaming.
|
574
|
-
</p>
|
575
|
-
<p>
|
576
|
-
When streaming content, you might want to set a custom user agent, eg. to
|
577
|
-
promote your software, make it appear in statistics or because the server
|
578
|
-
requires a special user agent you want to impersonate.
|
579
|
-
</p>
|
580
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
581
|
-
<colgroup>
|
582
|
-
<col align="left" valign="top">
|
583
|
-
<col>
|
584
|
-
</colgroup>
|
585
|
-
<tbody>
|
586
|
-
<tr>
|
587
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
588
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
589
|
-
</td>
|
590
|
-
</tr>
|
591
|
-
<tr>
|
592
|
-
<td><p><span class="term"><em class="parameter"><code>user_agent</code></em> :</span></p></td>
|
593
|
-
<td>the user agent</td>
|
594
|
-
</tr>
|
595
|
-
</tbody>
|
596
|
-
</table></div>
|
597
|
-
<p class="since">Since 1.4</p>
|
598
|
-
</div>
|
599
|
-
<hr>
|
600
|
-
<div class="refsect2">
|
601
|
-
<a name="clutter-gst-player-set-seek-flags"></a><h3>clutter_gst_player_set_seek_flags ()</h3>
|
602
|
-
<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>,
|
603
|
-
<em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);</pre>
|
604
|
-
<p>
|
605
|
-
Seeking can be done with several trade-offs. Clutter-gst defaults
|
606
|
-
to <code class="literal">CLUTTER_GST_SEEK_FLAG_NONE</code>.
|
607
|
-
</p>
|
608
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
609
|
-
<colgroup>
|
610
|
-
<col align="left" valign="top">
|
611
|
-
<col>
|
612
|
-
</colgroup>
|
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"><em class="parameter"><code>flags</code></em> :</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-seek-flags"></a><h3>clutter_gst_player_get_seek_flags ()</h3>
|
631
|
-
<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>
|
632
|
-
<p>
|
633
|
-
Get the current value of the seek-flags property.
|
634
|
-
</p>
|
635
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
636
|
-
<colgroup>
|
637
|
-
<col align="left" valign="top">
|
638
|
-
<col>
|
639
|
-
</colgroup>
|
640
|
-
<tbody>
|
641
|
-
<tr>
|
642
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
643
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
644
|
-
</td>
|
645
|
-
</tr>
|
646
|
-
<tr>
|
647
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
648
|
-
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
|
649
|
-
</td>
|
650
|
-
</tr>
|
651
|
-
</tbody>
|
652
|
-
</table></div>
|
653
|
-
<p class="since">Since 1.4</p>
|
654
|
-
</div>
|
655
|
-
<hr>
|
656
|
-
<div class="refsect2">
|
657
|
-
<a name="clutter-gst-player-get-buffering-mode"></a><h3>clutter_gst_player_get_buffering_mode ()</h3>
|
658
|
-
<pre class="programlisting"><span class="returnvalue">ClutterGstBufferingMode</span> clutter_gst_player_get_buffering_mode
|
659
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
660
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
661
|
-
<colgroup>
|
662
|
-
<col align="left" valign="top">
|
663
|
-
<col>
|
664
|
-
</colgroup>
|
665
|
-
<tbody>
|
666
|
-
<tr>
|
667
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
668
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
669
|
-
</td>
|
670
|
-
</tr>
|
671
|
-
<tr>
|
672
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
673
|
-
<td>a <span class="type">ClutterGstBufferingMode</span>
|
674
|
-
</td>
|
675
|
-
</tr>
|
676
|
-
</tbody>
|
677
|
-
</table></div>
|
678
|
-
<p class="since">Since 1.4</p>
|
679
|
-
</div>
|
680
|
-
<hr>
|
681
|
-
<div class="refsect2">
|
682
|
-
<a name="clutter-gst-player-set-buffering-mode"></a><h3>clutter_gst_player_set_buffering_mode ()</h3>
|
683
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_buffering_mode
|
684
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
685
|
-
<em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);</pre>
|
686
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
687
|
-
<colgroup>
|
688
|
-
<col align="left" valign="top">
|
689
|
-
<col>
|
690
|
-
</colgroup>
|
691
|
-
<tbody>
|
692
|
-
<tr>
|
693
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
694
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
695
|
-
</td>
|
696
|
-
</tr>
|
697
|
-
<tr>
|
698
|
-
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
699
|
-
<td>a <span class="type">ClutterGstBufferingMode</span>
|
700
|
-
</td>
|
701
|
-
</tr>
|
702
|
-
</tbody>
|
703
|
-
</table></div>
|
704
|
-
<p class="since">Since 1.4</p>
|
705
|
-
</div>
|
706
|
-
<hr>
|
707
|
-
<div class="refsect2">
|
708
|
-
<a name="clutter-gst-player-get-audio-streams"></a><h3>clutter_gst_player_get_audio_streams ()</h3>
|
709
|
-
<pre class="programlisting"><span class="returnvalue">GList</span> * clutter_gst_player_get_audio_streams
|
710
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
711
|
-
<p>
|
712
|
-
Get the list of audio streams of the current media.
|
713
|
-
</p>
|
714
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
715
|
-
<colgroup>
|
716
|
-
<col align="left" valign="top">
|
717
|
-
<col>
|
718
|
-
</colgroup>
|
719
|
-
<tbody>
|
720
|
-
<tr>
|
721
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
722
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
723
|
-
</td>
|
724
|
-
</tr>
|
725
|
-
<tr>
|
726
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
727
|
-
<td>a list of
|
728
|
-
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>
|
729
|
-
</td>
|
730
|
-
</tr>
|
731
|
-
</tbody>
|
732
|
-
</table></div>
|
733
|
-
<p class="since">Since 1.4</p>
|
734
|
-
</div>
|
735
|
-
<hr>
|
736
|
-
<div class="refsect2">
|
737
|
-
<a name="clutter-gst-player-get-audio-stream"></a><h3>clutter_gst_player_get_audio_stream ()</h3>
|
738
|
-
<pre class="programlisting"><span class="returnvalue">gint</span> 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>
|
739
|
-
<p>
|
740
|
-
Get the current audio stream. The number returned in the index of the
|
741
|
-
audio stream playing in the list returned by
|
742
|
-
<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>.
|
743
|
-
</p>
|
744
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
745
|
-
<colgroup>
|
746
|
-
<col align="left" valign="top">
|
747
|
-
<col>
|
748
|
-
</colgroup>
|
749
|
-
<tbody>
|
750
|
-
<tr>
|
751
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
752
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
753
|
-
</td>
|
754
|
-
</tr>
|
755
|
-
<tr>
|
756
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
757
|
-
<td>the index of the current audio stream, -1 if the media has no
|
758
|
-
audio stream</td>
|
759
|
-
</tr>
|
760
|
-
</tbody>
|
761
|
-
</table></div>
|
762
|
-
<p class="since">Since 1.4</p>
|
763
|
-
</div>
|
764
|
-
<hr>
|
765
|
-
<div class="refsect2">
|
766
|
-
<a name="clutter-gst-player-set-audio-stream"></a><h3>clutter_gst_player_set_audio_stream ()</h3>
|
767
|
-
<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>,
|
768
|
-
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
|
769
|
-
<p>
|
770
|
-
Set the audio stream to play. <em class="parameter"><code>index_</code></em> is the index of the stream
|
771
|
-
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>.
|
772
|
-
</p>
|
773
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
774
|
-
<colgroup>
|
775
|
-
<col align="left" valign="top">
|
776
|
-
<col>
|
777
|
-
</colgroup>
|
778
|
-
<tbody>
|
779
|
-
<tr>
|
780
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
781
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
782
|
-
</td>
|
783
|
-
</tr>
|
784
|
-
<tr>
|
785
|
-
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
786
|
-
<td>the index of the audio stream</td>
|
787
|
-
</tr>
|
788
|
-
</tbody>
|
789
|
-
</table></div>
|
790
|
-
<p class="since">Since 1.4</p>
|
791
|
-
</div>
|
792
|
-
<hr>
|
793
|
-
<div class="refsect2">
|
794
|
-
<a name="clutter-gst-player-get-subtitle-tracks"></a><h3>clutter_gst_player_get_subtitle_tracks ()</h3>
|
795
|
-
<pre class="programlisting"><span class="returnvalue">GList</span> * clutter_gst_player_get_subtitle_tracks
|
796
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
797
|
-
<p>
|
798
|
-
Get the list of subtitles tracks of the current media.
|
799
|
-
</p>
|
800
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
801
|
-
<colgroup>
|
802
|
-
<col align="left" valign="top">
|
803
|
-
<col>
|
804
|
-
</colgroup>
|
805
|
-
<tbody>
|
806
|
-
<tr>
|
807
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
808
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
809
|
-
</td>
|
810
|
-
</tr>
|
811
|
-
<tr>
|
812
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
813
|
-
<td>a list of
|
814
|
-
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>
|
815
|
-
</td>
|
816
|
-
</tr>
|
817
|
-
</tbody>
|
818
|
-
</table></div>
|
819
|
-
<p class="since">Since 1.4</p>
|
820
|
-
</div>
|
821
|
-
<hr>
|
822
|
-
<div class="refsect2">
|
823
|
-
<a name="clutter-gst-player-get-subtitle-track"></a><h3>clutter_gst_player_get_subtitle_track ()</h3>
|
824
|
-
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_gst_player_get_subtitle_track
|
825
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
|
826
|
-
<p>
|
827
|
-
Get the current subtitles track. The number returned is the index of the
|
828
|
-
subtiles track in the list returned by
|
829
|
-
<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>.
|
830
|
-
</p>
|
831
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
832
|
-
<colgroup>
|
833
|
-
<col align="left" valign="top">
|
834
|
-
<col>
|
835
|
-
</colgroup>
|
836
|
-
<tbody>
|
837
|
-
<tr>
|
838
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
839
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
840
|
-
</td>
|
841
|
-
</tr>
|
842
|
-
<tr>
|
843
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
844
|
-
<td>the index of the current subtitlest track, -1 if the media has
|
845
|
-
no subtitles track or if the subtitles have been turned off</td>
|
846
|
-
</tr>
|
847
|
-
</tbody>
|
848
|
-
</table></div>
|
849
|
-
<p class="since">Since 1.4</p>
|
850
|
-
</div>
|
851
|
-
<hr>
|
852
|
-
<div class="refsect2">
|
853
|
-
<a name="clutter-gst-player-set-subtitle-track"></a><h3>clutter_gst_player_set_subtitle_track ()</h3>
|
854
|
-
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_subtitle_track
|
855
|
-
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
|
856
|
-
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
|
857
|
-
<p>
|
858
|
-
Set the subtitles track to play. <em class="parameter"><code>index_</code></em> is the index of the stream
|
859
|
-
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>.
|
860
|
-
</p>
|
861
|
-
<p>
|
862
|
-
If <em class="parameter"><code>index_</code></em> is -1, the subtitles are turned off.
|
863
|
-
</p>
|
864
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
865
|
-
<colgroup>
|
866
|
-
<col align="left" valign="top">
|
867
|
-
<col>
|
868
|
-
</colgroup>
|
869
|
-
<tbody>
|
870
|
-
<tr>
|
871
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
872
|
-
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
|
873
|
-
</td>
|
874
|
-
</tr>
|
875
|
-
<tr>
|
876
|
-
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
877
|
-
<td>the index of the subtitles track</td>
|
878
|
-
</tr>
|
879
|
-
</tbody>
|
880
|
-
</table></div>
|
881
|
-
<p class="since">Since 1.4</p>
|
882
|
-
</div>
|
883
|
-
</div>
|
884
|
-
<div class="refsect1">
|
885
|
-
<a name="ClutterGstPlayer.property-details"></a><h2>Property Details</h2>
|
886
|
-
<div class="refsect2">
|
887
|
-
<a name="ClutterGstPlayer--audio-stream"></a><h3>The <code class="literal">"audio-stream"</code> property</h3>
|
888
|
-
<pre class="programlisting"> "audio-stream" <span class="type">gint</span> : Read / Write</pre>
|
889
|
-
<p>
|
890
|
-
Index of the current audio stream.
|
891
|
-
</p>
|
892
|
-
<p>Allowed values: >= -1</p>
|
893
|
-
<p>Default value: -1</p>
|
894
|
-
<p class="since">Since 1.4</p>
|
895
|
-
</div>
|
896
|
-
<hr>
|
897
|
-
<div class="refsect2">
|
898
|
-
<a name="ClutterGstPlayer--audio-streams"></a><h3>The <code class="literal">"audio-streams"</code> property</h3>
|
899
|
-
<pre class="programlisting"> "audio-streams" <span class="type">gpointer</span> : Read</pre>
|
900
|
-
<p>
|
901
|
-
List of audio streams available on the current media.
|
902
|
-
</p>
|
903
|
-
<p class="since">Since 1.4</p>
|
904
|
-
</div>
|
905
|
-
<hr>
|
906
|
-
<div class="refsect2">
|
907
|
-
<a name="ClutterGstPlayer--idle"></a><h3>The <code class="literal">"idle"</code> property</h3>
|
908
|
-
<pre class="programlisting"> "idle" <span class="type">gboolean</span> : Read</pre>
|
909
|
-
<p>
|
910
|
-
Whether the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is in idle mode.
|
911
|
-
</p>
|
912
|
-
<p>Default value: TRUE</p>
|
913
|
-
<p class="since">Since 1.4</p>
|
914
|
-
</div>
|
915
|
-
<hr>
|
916
|
-
<div class="refsect2">
|
917
|
-
<a name="ClutterGstPlayer--in-seek"></a><h3>The <code class="literal">"in-seek"</code> property</h3>
|
918
|
-
<pre class="programlisting"> "in-seek" <span class="type">gboolean</span> : Read</pre>
|
919
|
-
<p>
|
920
|
-
Whether or not the stream is being seeked.
|
921
|
-
</p>
|
922
|
-
<p>Default value: FALSE</p>
|
923
|
-
<p class="since">Since 1.6</p>
|
924
|
-
</div>
|
925
|
-
<hr>
|
926
|
-
<div class="refsect2">
|
927
|
-
<a name="ClutterGstPlayer--seek-flags"></a><h3>The <code class="literal">"seek-flags"</code> property</h3>
|
928
|
-
<pre class="programlisting"> "seek-flags" <span class="type">ClutterGstSeekFlags</span> : Read / Write</pre>
|
929
|
-
<p>
|
930
|
-
Flags to use when seeking.
|
931
|
-
</p>
|
932
|
-
<p class="since">Since 1.4</p>
|
933
|
-
</div>
|
934
|
-
<hr>
|
935
|
-
<div class="refsect2">
|
936
|
-
<a name="ClutterGstPlayer--subtitle-track"></a><h3>The <code class="literal">"subtitle-track"</code> property</h3>
|
937
|
-
<pre class="programlisting"> "subtitle-track" <span class="type">gint</span> : Read / Write</pre>
|
938
|
-
<p>Index of the current subtitles track.</p>
|
939
|
-
<p>Allowed values: >= -1</p>
|
940
|
-
<p>Default value: -1</p>
|
941
|
-
</div>
|
942
|
-
<hr>
|
943
|
-
<div class="refsect2">
|
944
|
-
<a name="ClutterGstPlayer--subtitle-tracks"></a><h3>The <code class="literal">"subtitle-tracks"</code> property</h3>
|
945
|
-
<pre class="programlisting"> "subtitle-tracks" <span class="type">gpointer</span> : Read</pre>
|
946
|
-
<p>List of the subtitles tracks of the media.</p>
|
947
|
-
</div>
|
948
|
-
<hr>
|
949
|
-
<div class="refsect2">
|
950
|
-
<a name="ClutterGstPlayer--user-agent"></a><h3>The <code class="literal">"user-agent"</code> property</h3>
|
951
|
-
<pre class="programlisting"> "user-agent" <span class="type">gchar</span>* : Read / Write</pre>
|
952
|
-
<p>
|
953
|
-
The User Agent used by <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> with network protocols.
|
954
|
-
</p>
|
955
|
-
<p>Default value: NULL</p>
|
956
|
-
<p class="since">Since 1.4</p>
|
957
|
-
</div>
|
958
|
-
</div>
|
959
|
-
<div class="refsect1">
|
960
|
-
<a name="ClutterGstPlayer.signal-details"></a><h2>Signal Details</h2>
|
961
|
-
<div class="refsect2">
|
962
|
-
<a name="ClutterGstPlayer-download-buffering"></a><h3>The <code class="literal">"download-buffering"</code> signal</h3>
|
963
|
-
<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,
|
964
|
-
<span class="type">gdouble</span> start,
|
965
|
-
<span class="type">gdouble</span> stop,
|
966
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
967
|
-
<p>
|
968
|
-
The ::download-buffering signal is emitted each time their an
|
969
|
-
update about the buffering of the current media.
|
970
|
-
</p>
|
971
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
972
|
-
<colgroup>
|
973
|
-
<col align="left" valign="top">
|
974
|
-
<col>
|
975
|
-
</colgroup>
|
976
|
-
<tbody>
|
977
|
-
<tr>
|
978
|
-
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
|
979
|
-
<td>the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> instance that received the signal</td>
|
980
|
-
</tr>
|
981
|
-
<tr>
|
982
|
-
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
983
|
-
<td>start position of the buffering</td>
|
984
|
-
</tr>
|
985
|
-
<tr>
|
986
|
-
<td><p><span class="term"><em class="parameter"><code>stop</code></em> :</span></p></td>
|
987
|
-
<td>start position of the buffering</td>
|
988
|
-
</tr>
|
989
|
-
<tr>
|
990
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
991
|
-
<td>user data set when the signal handler was connected.</td>
|
992
|
-
</tr>
|
993
|
-
</tbody>
|
994
|
-
</table></div>
|
995
|
-
<p class="since">Since 1.4</p>
|
996
|
-
</div>
|
997
|
-
</div>
|
998
|
-
</div>
|
999
|
-
<div class="footer">
|
1000
|
-
<hr>
|
1001
|
-
Generated by GTK-Doc V1.19.1</div>
|
1002
|
-
</body>
|
1003
|
-
</html>
|