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,41 @@
|
|
1
|
+
# libgstclutter.la - a libtool library file
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='libgstclutter.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='libgstclutter.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library=''
|
15
|
+
|
16
|
+
# Linker flags that can not go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -R/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/clutter-gstreamer/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/atk/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libclutter-1.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo-gobject.la /home/kou/work/ruby/ruby-gnome2.win32/atk/vendor/local/lib/libatk-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libcogl-pango.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libjson-glib-1.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la -lmsimg32 /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la -lusp10 /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libcogl.la -lopengl32 -lgdi32 /home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstvideo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstaudio-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgsttag-1.0.la -lz /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstbase-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstreamer-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi -lintl'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for libgstclutter.
|
26
|
+
current=0
|
27
|
+
age=0
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=yes
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/home/kou/work/ruby/ruby-gnome2.win32/clutter-gstreamer/vendor/local/lib/gstreamer-1.0'
|
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# libclutter-gst-2.0.la - a libtool library file
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='../bin/libclutter-gst-2.0-0.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='libclutter-gst-2.0.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library=''
|
15
|
+
|
16
|
+
# Linker flags that can not go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -R/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/clutter-gstreamer/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/atk/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libclutter-1.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo-gobject.la /home/kou/work/ruby/ruby-gnome2.win32/atk/vendor/local/lib/libatk-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libcogl-pango.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libjson-glib-1.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la -lmsimg32 /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la -lusp10 /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libcogl.la -lopengl32 -lgdi32 /home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -L/home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstvideo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstaudio-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgsttag-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstbase-1.0.la -lz /home/kou/work/ruby/ruby-gnome2.win32/gstreamer/vendor/local/lib/libgstreamer-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi -lintl'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for libclutter-gst-2.0.
|
26
|
+
current=2
|
27
|
+
age=2
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=no
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/home/kou/work/ruby/ruby-gnome2.win32/clutter-gstreamer/vendor/local/lib'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
prefix=/home/kou/work/ruby/ruby-gnome2.win32/clutter-gstreamer/vendor/local
|
2
|
+
exec_prefix=${prefix}
|
3
|
+
libdir=${exec_prefix}/lib
|
4
|
+
includedir=${prefix}/include
|
5
|
+
|
6
|
+
Name: clutter-gst
|
7
|
+
Description: Clutter GStreamer integration
|
8
|
+
Version: 2.0.2
|
9
|
+
Libs: -L${libdir} -lclutter-gst-2.0
|
10
|
+
Cflags: -I${includedir}/clutter-gst-2.0
|
11
|
+
Requires: clutter-1.0 >= 1.3.12 gstreamer-1.0 gstreamer-base-1.0 gstreamer-plugins-base-1.0
|
12
|
+
Requires.private: gio-2.0
|
@@ -0,0 +1,1735 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- This file was automatically generated from C sources - DO NOT EDIT!
|
3
|
+
To affect the contents of this file, edit the original C definitions,
|
4
|
+
and/or use gtk-doc annotations. -->
|
5
|
+
<repository version="1.2"
|
6
|
+
xmlns="http://www.gtk.org/introspection/core/1.0"
|
7
|
+
xmlns:c="http://www.gtk.org/introspection/c/1.0"
|
8
|
+
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
9
|
+
<include name="Clutter" version="1.0"/>
|
10
|
+
<include name="GObject" version="2.0"/>
|
11
|
+
<include name="Gst" version="1.0"/>
|
12
|
+
<include name="GstAudio" version="1.0"/>
|
13
|
+
<include name="GstBase" version="1.0"/>
|
14
|
+
<include name="GstVideo" version="1.0"/>
|
15
|
+
<package name="clutter-gst-2.0"/>
|
16
|
+
<c:include name="clutter-gst/clutter-gst.h"/>
|
17
|
+
<namespace name="ClutterGst"
|
18
|
+
version="2.0"
|
19
|
+
shared-library="libclutter-gst-2.0-0.dll"
|
20
|
+
c:identifier-prefixes="ClutterGst"
|
21
|
+
c:symbol-prefixes="clutter_gst">
|
22
|
+
<enumeration name="BufferingMode"
|
23
|
+
version="1.4"
|
24
|
+
glib:type-name="ClutterGstBufferingMode"
|
25
|
+
glib:get-type="clutter_gst_buffering_mode_get_type"
|
26
|
+
c:type="ClutterGstBufferingMode">
|
27
|
+
<doc xml:whitespace="preserve">Different buffering policies clutter-gst supports</doc>
|
28
|
+
<member name="stream"
|
29
|
+
value="0"
|
30
|
+
c:identifier="CLUTTER_GST_BUFFERING_MODE_STREAM"
|
31
|
+
glib:nick="stream">
|
32
|
+
<doc xml:whitespace="preserve">In-memory buffering</doc>
|
33
|
+
</member>
|
34
|
+
<member name="download"
|
35
|
+
value="1"
|
36
|
+
c:identifier="CLUTTER_GST_BUFFERING_MODE_DOWNLOAD"
|
37
|
+
glib:nick="download">
|
38
|
+
<doc xml:whitespace="preserve">On-disk buffering</doc>
|
39
|
+
</member>
|
40
|
+
</enumeration>
|
41
|
+
<constant name="MAJOR_VERSION"
|
42
|
+
value="2"
|
43
|
+
c:type="CLUTTER_GST_MAJOR_VERSION">
|
44
|
+
<doc xml:whitespace="preserve">ClutterGst major version (e.g. "1", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
|
45
|
+
<type name="gint" c:type="gint"/>
|
46
|
+
</constant>
|
47
|
+
<constant name="MICRO_VERSION"
|
48
|
+
value="2"
|
49
|
+
c:type="CLUTTER_GST_MICRO_VERSION">
|
50
|
+
<doc xml:whitespace="preserve">ClutterGst micro version (e.g. "3", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
|
51
|
+
<type name="gint" c:type="gint"/>
|
52
|
+
</constant>
|
53
|
+
<constant name="MINOR_VERSION"
|
54
|
+
value="0"
|
55
|
+
c:type="CLUTTER_GST_MINOR_VERSION">
|
56
|
+
<doc xml:whitespace="preserve">ClutterGst minor version (e.g. "2", if %CLUTTER_GST_VERSION is "1.2.3")</doc>
|
57
|
+
<type name="gint" c:type="gint"/>
|
58
|
+
</constant>
|
59
|
+
<interface name="Player"
|
60
|
+
c:symbol-prefix="player"
|
61
|
+
c:type="ClutterGstPlayer"
|
62
|
+
version="1.4"
|
63
|
+
glib:type-name="ClutterGstPlayer"
|
64
|
+
glib:get-type="clutter_gst_player_get_type"
|
65
|
+
glib:type-struct="PlayerIface">
|
66
|
+
<doc xml:whitespace="preserve">#ClutterGstPlayer is an opaque structure whose members cannot be
|
67
|
+
directly accessed</doc>
|
68
|
+
<prerequisite name="Clutter.Media"/>
|
69
|
+
<function name="class_init"
|
70
|
+
c:identifier="clutter_gst_player_class_init"
|
71
|
+
version="1.4">
|
72
|
+
<doc xml:whitespace="preserve">Adds the #ClutterGstPlayer properties to a class and surchages the
|
73
|
+
set/get_property of #GObjectClass. You should call this
|
74
|
+
function at the end of the class_init method of the class
|
75
|
+
implementing #ClutterGstPlayer.</doc>
|
76
|
+
<return-value transfer-ownership="none">
|
77
|
+
<type name="none" c:type="void"/>
|
78
|
+
</return-value>
|
79
|
+
<parameters>
|
80
|
+
<parameter name="object_class" transfer-ownership="none">
|
81
|
+
<doc xml:whitespace="preserve">a #GObjectClass</doc>
|
82
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
|
83
|
+
</parameter>
|
84
|
+
</parameters>
|
85
|
+
</function>
|
86
|
+
<virtual-method name="download_buffering">
|
87
|
+
<return-value transfer-ownership="none">
|
88
|
+
<type name="none" c:type="void"/>
|
89
|
+
</return-value>
|
90
|
+
<parameters>
|
91
|
+
<instance-parameter name="player" transfer-ownership="none">
|
92
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
93
|
+
</instance-parameter>
|
94
|
+
<parameter name="start" transfer-ownership="none">
|
95
|
+
<type name="gdouble" c:type="gdouble"/>
|
96
|
+
</parameter>
|
97
|
+
<parameter name="stop" transfer-ownership="none">
|
98
|
+
<type name="gdouble" c:type="gdouble"/>
|
99
|
+
</parameter>
|
100
|
+
</parameters>
|
101
|
+
</virtual-method>
|
102
|
+
<virtual-method name="get_audio_stream"
|
103
|
+
invoker="get_audio_stream"
|
104
|
+
version="1.4">
|
105
|
+
<doc xml:whitespace="preserve">Get the current audio stream. The number returned in the index of the
|
106
|
+
audio stream playing in the list returned by
|
107
|
+
clutter_gst_player_get_audio_streams().</doc>
|
108
|
+
<return-value transfer-ownership="none">
|
109
|
+
<doc xml:whitespace="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
110
|
+
<type name="gint" c:type="gint"/>
|
111
|
+
</return-value>
|
112
|
+
<parameters>
|
113
|
+
<instance-parameter name="player" transfer-ownership="none">
|
114
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
115
|
+
</instance-parameter>
|
116
|
+
</parameters>
|
117
|
+
</virtual-method>
|
118
|
+
<virtual-method name="get_audio_streams"
|
119
|
+
invoker="get_audio_streams"
|
120
|
+
version="1.4">
|
121
|
+
<doc xml:whitespace="preserve">Get the list of audio streams of the current media.</doc>
|
122
|
+
<return-value transfer-ownership="none">
|
123
|
+
<doc xml:whitespace="preserve">a list of strings describing the available audio streams</doc>
|
124
|
+
<type name="GLib.List" c:type="GList*">
|
125
|
+
<type name="utf8"/>
|
126
|
+
</type>
|
127
|
+
</return-value>
|
128
|
+
<parameters>
|
129
|
+
<instance-parameter name="player" transfer-ownership="none">
|
130
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
131
|
+
</instance-parameter>
|
132
|
+
</parameters>
|
133
|
+
</virtual-method>
|
134
|
+
<virtual-method name="get_buffering_mode"
|
135
|
+
invoker="get_buffering_mode"
|
136
|
+
version="1.4">
|
137
|
+
<return-value transfer-ownership="none">
|
138
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
139
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
140
|
+
</return-value>
|
141
|
+
<parameters>
|
142
|
+
<instance-parameter name="player" transfer-ownership="none">
|
143
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
144
|
+
</instance-parameter>
|
145
|
+
</parameters>
|
146
|
+
</virtual-method>
|
147
|
+
<virtual-method name="get_idle" invoker="get_idle" version="1.4">
|
148
|
+
<doc xml:whitespace="preserve">Get the idle state of the pipeline.</doc>
|
149
|
+
<return-value transfer-ownership="none">
|
150
|
+
<doc xml:whitespace="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
|
151
|
+
<type name="gboolean" c:type="gboolean"/>
|
152
|
+
</return-value>
|
153
|
+
<parameters>
|
154
|
+
<instance-parameter name="player" transfer-ownership="none">
|
155
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
156
|
+
</instance-parameter>
|
157
|
+
</parameters>
|
158
|
+
</virtual-method>
|
159
|
+
<virtual-method name="get_in_seek" invoker="get_in_seek" version="1.6">
|
160
|
+
<doc xml:whitespace="preserve">Whether the player is seeking.</doc>
|
161
|
+
<return-value transfer-ownership="none">
|
162
|
+
<doc xml:whitespace="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
|
163
|
+
<type name="gboolean" c:type="gboolean"/>
|
164
|
+
</return-value>
|
165
|
+
<parameters>
|
166
|
+
<instance-parameter name="player" transfer-ownership="none">
|
167
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
168
|
+
</instance-parameter>
|
169
|
+
</parameters>
|
170
|
+
</virtual-method>
|
171
|
+
<virtual-method name="get_pipeline" invoker="get_pipeline" version="1.4">
|
172
|
+
<doc xml:whitespace="preserve">Retrieves the #GstPipeline used by the @player, for direct use with
|
173
|
+
GStreamer API.</doc>
|
174
|
+
<return-value transfer-ownership="none">
|
175
|
+
<doc xml:whitespace="preserve">the #GstPipeline element used by the player</doc>
|
176
|
+
<type name="Gst.Element" c:type="GstElement*"/>
|
177
|
+
</return-value>
|
178
|
+
<parameters>
|
179
|
+
<instance-parameter name="player" transfer-ownership="none">
|
180
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
181
|
+
</instance-parameter>
|
182
|
+
</parameters>
|
183
|
+
</virtual-method>
|
184
|
+
<virtual-method name="get_seek_flags"
|
185
|
+
invoker="get_seek_flags"
|
186
|
+
version="1.4">
|
187
|
+
<doc xml:whitespace="preserve">Get the current value of the seek-flags property.</doc>
|
188
|
+
<return-value transfer-ownership="none">
|
189
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
190
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
191
|
+
</return-value>
|
192
|
+
<parameters>
|
193
|
+
<instance-parameter name="player" transfer-ownership="none">
|
194
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
195
|
+
</instance-parameter>
|
196
|
+
</parameters>
|
197
|
+
</virtual-method>
|
198
|
+
<virtual-method name="get_subtitle_track"
|
199
|
+
invoker="get_subtitle_track"
|
200
|
+
version="1.4">
|
201
|
+
<doc xml:whitespace="preserve">Get the current subtitles track. The number returned is the index of the
|
202
|
+
subtiles track in the list returned by
|
203
|
+
clutter_gst_player_get_subtitle_tracks().</doc>
|
204
|
+
<return-value transfer-ownership="none">
|
205
|
+
<doc xml:whitespace="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
206
|
+
<type name="gint" c:type="gint"/>
|
207
|
+
</return-value>
|
208
|
+
<parameters>
|
209
|
+
<instance-parameter name="player" transfer-ownership="none">
|
210
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
211
|
+
</instance-parameter>
|
212
|
+
</parameters>
|
213
|
+
</virtual-method>
|
214
|
+
<virtual-method name="get_subtitle_tracks"
|
215
|
+
invoker="get_subtitle_tracks"
|
216
|
+
version="1.4">
|
217
|
+
<doc xml:whitespace="preserve">Get the list of subtitles tracks of the current media.</doc>
|
218
|
+
<return-value transfer-ownership="none">
|
219
|
+
<doc xml:whitespace="preserve">a list of strings describing the available subtitles tracks</doc>
|
220
|
+
<type name="GLib.List" c:type="GList*">
|
221
|
+
<type name="utf8"/>
|
222
|
+
</type>
|
223
|
+
</return-value>
|
224
|
+
<parameters>
|
225
|
+
<instance-parameter name="player" transfer-ownership="none">
|
226
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
227
|
+
</instance-parameter>
|
228
|
+
</parameters>
|
229
|
+
</virtual-method>
|
230
|
+
<virtual-method name="get_user_agent"
|
231
|
+
invoker="get_user_agent"
|
232
|
+
version="1.4">
|
233
|
+
<doc xml:whitespace="preserve">Retrieves the user agent used when streaming.</doc>
|
234
|
+
<return-value transfer-ownership="full">
|
235
|
+
<doc xml:whitespace="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
236
|
+
<type name="utf8" c:type="gchar*"/>
|
237
|
+
</return-value>
|
238
|
+
<parameters>
|
239
|
+
<instance-parameter name="player" transfer-ownership="none">
|
240
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
241
|
+
</instance-parameter>
|
242
|
+
</parameters>
|
243
|
+
</virtual-method>
|
244
|
+
<virtual-method name="set_audio_stream"
|
245
|
+
invoker="set_audio_stream"
|
246
|
+
version="1.4">
|
247
|
+
<doc xml:whitespace="preserve">Set the audio stream to play. @index_ is the index of the stream
|
248
|
+
in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
249
|
+
<return-value transfer-ownership="none">
|
250
|
+
<type name="none" c:type="void"/>
|
251
|
+
</return-value>
|
252
|
+
<parameters>
|
253
|
+
<instance-parameter name="player" transfer-ownership="none">
|
254
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
255
|
+
</instance-parameter>
|
256
|
+
<parameter name="index_" transfer-ownership="none">
|
257
|
+
<doc xml:whitespace="preserve">the index of the audio stream</doc>
|
258
|
+
<type name="gint" c:type="gint"/>
|
259
|
+
</parameter>
|
260
|
+
</parameters>
|
261
|
+
</virtual-method>
|
262
|
+
<virtual-method name="set_buffering_mode"
|
263
|
+
invoker="set_buffering_mode"
|
264
|
+
version="1.4">
|
265
|
+
<return-value transfer-ownership="none">
|
266
|
+
<type name="none" c:type="void"/>
|
267
|
+
</return-value>
|
268
|
+
<parameters>
|
269
|
+
<instance-parameter name="player" transfer-ownership="none">
|
270
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
271
|
+
</instance-parameter>
|
272
|
+
<parameter name="mode" transfer-ownership="none">
|
273
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
274
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
275
|
+
</parameter>
|
276
|
+
</parameters>
|
277
|
+
</virtual-method>
|
278
|
+
<virtual-method name="set_seek_flags"
|
279
|
+
invoker="set_seek_flags"
|
280
|
+
version="1.4">
|
281
|
+
<doc xml:whitespace="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
|
282
|
+
to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
283
|
+
<return-value transfer-ownership="none">
|
284
|
+
<type name="none" c:type="void"/>
|
285
|
+
</return-value>
|
286
|
+
<parameters>
|
287
|
+
<instance-parameter name="player" transfer-ownership="none">
|
288
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
289
|
+
</instance-parameter>
|
290
|
+
<parameter name="flags" transfer-ownership="none">
|
291
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
292
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
293
|
+
</parameter>
|
294
|
+
</parameters>
|
295
|
+
</virtual-method>
|
296
|
+
<virtual-method name="set_subtitle_track"
|
297
|
+
invoker="set_subtitle_track"
|
298
|
+
version="1.4">
|
299
|
+
<doc xml:whitespace="preserve">Set the subtitles track to play. @index_ is the index of the stream
|
300
|
+
in the list returned by clutter_gst_player_get_subtitle_tracks().
|
301
|
+
|
302
|
+
If @index_ is -1, the subtitles are turned off.</doc>
|
303
|
+
<return-value transfer-ownership="none">
|
304
|
+
<type name="none" c:type="void"/>
|
305
|
+
</return-value>
|
306
|
+
<parameters>
|
307
|
+
<instance-parameter name="player" transfer-ownership="none">
|
308
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
309
|
+
</instance-parameter>
|
310
|
+
<parameter name="index_" transfer-ownership="none">
|
311
|
+
<doc xml:whitespace="preserve">the index of the subtitles track</doc>
|
312
|
+
<type name="gint" c:type="gint"/>
|
313
|
+
</parameter>
|
314
|
+
</parameters>
|
315
|
+
</virtual-method>
|
316
|
+
<virtual-method name="set_user_agent"
|
317
|
+
invoker="set_user_agent"
|
318
|
+
version="1.4">
|
319
|
+
<doc xml:whitespace="preserve">Sets the user agent to use when streaming.
|
320
|
+
|
321
|
+
When streaming content, you might want to set a custom user agent, eg. to
|
322
|
+
promote your software, make it appear in statistics or because the server
|
323
|
+
requires a special user agent you want to impersonate.</doc>
|
324
|
+
<return-value transfer-ownership="none">
|
325
|
+
<type name="none" c:type="void"/>
|
326
|
+
</return-value>
|
327
|
+
<parameters>
|
328
|
+
<instance-parameter name="player" transfer-ownership="none">
|
329
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
330
|
+
</instance-parameter>
|
331
|
+
<parameter name="user_agent" transfer-ownership="none">
|
332
|
+
<doc xml:whitespace="preserve">the user agent</doc>
|
333
|
+
<type name="utf8" c:type="const gchar*"/>
|
334
|
+
</parameter>
|
335
|
+
</parameters>
|
336
|
+
</virtual-method>
|
337
|
+
<method name="deinit"
|
338
|
+
c:identifier="clutter_gst_player_deinit"
|
339
|
+
version="1.4">
|
340
|
+
<doc xml:whitespace="preserve">Frees the resources created by clutter_gst_player_init(). After
|
341
|
+
clutter_gst_player_deinit() has been called, no other player method can be
|
342
|
+
called on the instance.</doc>
|
343
|
+
<return-value transfer-ownership="none">
|
344
|
+
<type name="none" c:type="void"/>
|
345
|
+
</return-value>
|
346
|
+
<parameters>
|
347
|
+
<instance-parameter name="player" transfer-ownership="none">
|
348
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
349
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
350
|
+
</instance-parameter>
|
351
|
+
</parameters>
|
352
|
+
</method>
|
353
|
+
<method name="get_audio_stream"
|
354
|
+
c:identifier="clutter_gst_player_get_audio_stream"
|
355
|
+
version="1.4">
|
356
|
+
<doc xml:whitespace="preserve">Get the current audio stream. The number returned in the index of the
|
357
|
+
audio stream playing in the list returned by
|
358
|
+
clutter_gst_player_get_audio_streams().</doc>
|
359
|
+
<return-value transfer-ownership="none">
|
360
|
+
<doc xml:whitespace="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
361
|
+
<type name="gint" c:type="gint"/>
|
362
|
+
</return-value>
|
363
|
+
<parameters>
|
364
|
+
<instance-parameter name="player" transfer-ownership="none">
|
365
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
366
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
367
|
+
</instance-parameter>
|
368
|
+
</parameters>
|
369
|
+
</method>
|
370
|
+
<method name="get_audio_streams"
|
371
|
+
c:identifier="clutter_gst_player_get_audio_streams"
|
372
|
+
version="1.4">
|
373
|
+
<doc xml:whitespace="preserve">Get the list of audio streams of the current media.</doc>
|
374
|
+
<return-value transfer-ownership="none">
|
375
|
+
<doc xml:whitespace="preserve">a list of strings describing the available audio streams</doc>
|
376
|
+
<type name="GLib.List" c:type="GList*">
|
377
|
+
<type name="utf8"/>
|
378
|
+
</type>
|
379
|
+
</return-value>
|
380
|
+
<parameters>
|
381
|
+
<instance-parameter name="player" transfer-ownership="none">
|
382
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
383
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
384
|
+
</instance-parameter>
|
385
|
+
</parameters>
|
386
|
+
</method>
|
387
|
+
<method name="get_buffering_mode"
|
388
|
+
c:identifier="clutter_gst_player_get_buffering_mode"
|
389
|
+
version="1.4">
|
390
|
+
<return-value transfer-ownership="none">
|
391
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
392
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
393
|
+
</return-value>
|
394
|
+
<parameters>
|
395
|
+
<instance-parameter name="player" transfer-ownership="none">
|
396
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
397
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
398
|
+
</instance-parameter>
|
399
|
+
</parameters>
|
400
|
+
</method>
|
401
|
+
<method name="get_idle"
|
402
|
+
c:identifier="clutter_gst_player_get_idle"
|
403
|
+
version="1.4">
|
404
|
+
<doc xml:whitespace="preserve">Get the idle state of the pipeline.</doc>
|
405
|
+
<return-value transfer-ownership="none">
|
406
|
+
<doc xml:whitespace="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
|
407
|
+
<type name="gboolean" c:type="gboolean"/>
|
408
|
+
</return-value>
|
409
|
+
<parameters>
|
410
|
+
<instance-parameter name="player" transfer-ownership="none">
|
411
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
412
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
413
|
+
</instance-parameter>
|
414
|
+
</parameters>
|
415
|
+
</method>
|
416
|
+
<method name="get_in_seek"
|
417
|
+
c:identifier="clutter_gst_player_get_in_seek"
|
418
|
+
version="1.6">
|
419
|
+
<doc xml:whitespace="preserve">Whether the player is seeking.</doc>
|
420
|
+
<return-value transfer-ownership="none">
|
421
|
+
<doc xml:whitespace="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
|
422
|
+
<type name="gboolean" c:type="gboolean"/>
|
423
|
+
</return-value>
|
424
|
+
<parameters>
|
425
|
+
<instance-parameter name="player" transfer-ownership="none">
|
426
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
427
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
428
|
+
</instance-parameter>
|
429
|
+
</parameters>
|
430
|
+
</method>
|
431
|
+
<method name="get_pipeline"
|
432
|
+
c:identifier="clutter_gst_player_get_pipeline"
|
433
|
+
version="1.4">
|
434
|
+
<doc xml:whitespace="preserve">Retrieves the #GstPipeline used by the @player, for direct use with
|
435
|
+
GStreamer API.</doc>
|
436
|
+
<return-value transfer-ownership="none">
|
437
|
+
<doc xml:whitespace="preserve">the #GstPipeline element used by the player</doc>
|
438
|
+
<type name="Gst.Element" c:type="GstElement*"/>
|
439
|
+
</return-value>
|
440
|
+
<parameters>
|
441
|
+
<instance-parameter name="player" transfer-ownership="none">
|
442
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
443
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
444
|
+
</instance-parameter>
|
445
|
+
</parameters>
|
446
|
+
</method>
|
447
|
+
<method name="get_seek_flags"
|
448
|
+
c:identifier="clutter_gst_player_get_seek_flags"
|
449
|
+
version="1.4">
|
450
|
+
<doc xml:whitespace="preserve">Get the current value of the seek-flags property.</doc>
|
451
|
+
<return-value transfer-ownership="none">
|
452
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
453
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
454
|
+
</return-value>
|
455
|
+
<parameters>
|
456
|
+
<instance-parameter name="player" transfer-ownership="none">
|
457
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
458
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
459
|
+
</instance-parameter>
|
460
|
+
</parameters>
|
461
|
+
</method>
|
462
|
+
<method name="get_subtitle_track"
|
463
|
+
c:identifier="clutter_gst_player_get_subtitle_track"
|
464
|
+
version="1.4">
|
465
|
+
<doc xml:whitespace="preserve">Get the current subtitles track. The number returned is the index of the
|
466
|
+
subtiles track in the list returned by
|
467
|
+
clutter_gst_player_get_subtitle_tracks().</doc>
|
468
|
+
<return-value transfer-ownership="none">
|
469
|
+
<doc xml:whitespace="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
470
|
+
<type name="gint" c:type="gint"/>
|
471
|
+
</return-value>
|
472
|
+
<parameters>
|
473
|
+
<instance-parameter name="player" transfer-ownership="none">
|
474
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
475
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
476
|
+
</instance-parameter>
|
477
|
+
</parameters>
|
478
|
+
</method>
|
479
|
+
<method name="get_subtitle_tracks"
|
480
|
+
c:identifier="clutter_gst_player_get_subtitle_tracks"
|
481
|
+
version="1.4">
|
482
|
+
<doc xml:whitespace="preserve">Get the list of subtitles tracks of the current media.</doc>
|
483
|
+
<return-value transfer-ownership="none">
|
484
|
+
<doc xml:whitespace="preserve">a list of strings describing the available subtitles tracks</doc>
|
485
|
+
<type name="GLib.List" c:type="GList*">
|
486
|
+
<type name="utf8"/>
|
487
|
+
</type>
|
488
|
+
</return-value>
|
489
|
+
<parameters>
|
490
|
+
<instance-parameter name="player" transfer-ownership="none">
|
491
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
492
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
493
|
+
</instance-parameter>
|
494
|
+
</parameters>
|
495
|
+
</method>
|
496
|
+
<method name="get_user_agent"
|
497
|
+
c:identifier="clutter_gst_player_get_user_agent"
|
498
|
+
version="1.4">
|
499
|
+
<doc xml:whitespace="preserve">Retrieves the user agent used when streaming.</doc>
|
500
|
+
<return-value transfer-ownership="full">
|
501
|
+
<doc xml:whitespace="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
502
|
+
<type name="utf8" c:type="gchar*"/>
|
503
|
+
</return-value>
|
504
|
+
<parameters>
|
505
|
+
<instance-parameter name="player" transfer-ownership="none">
|
506
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
507
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
508
|
+
</instance-parameter>
|
509
|
+
</parameters>
|
510
|
+
</method>
|
511
|
+
<method name="init" c:identifier="clutter_gst_player_init" version="1.4">
|
512
|
+
<doc xml:whitespace="preserve">Initialize a #ClutterGstPlayer instance. You should call this
|
513
|
+
function at the beginning of the init method of the class
|
514
|
+
implementing #ClutterGstPlayer.
|
515
|
+
|
516
|
+
When you're finished with the ClutterGstPlayer mixin features (usually in
|
517
|
+
the dispose or finalize vfuncs), call clutter_gst_player_deinit() to
|
518
|
+
desallocate the resources created by clutter_gst_player_init().</doc>
|
519
|
+
<return-value transfer-ownership="none">
|
520
|
+
<doc xml:whitespace="preserve">TRUE if the initialization was successfull, FALSE otherwise.</doc>
|
521
|
+
<type name="gboolean" c:type="gboolean"/>
|
522
|
+
</return-value>
|
523
|
+
<parameters>
|
524
|
+
<instance-parameter name="player" transfer-ownership="none">
|
525
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
526
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
527
|
+
</instance-parameter>
|
528
|
+
</parameters>
|
529
|
+
</method>
|
530
|
+
<method name="set_audio_stream"
|
531
|
+
c:identifier="clutter_gst_player_set_audio_stream"
|
532
|
+
version="1.4">
|
533
|
+
<doc xml:whitespace="preserve">Set the audio stream to play. @index_ is the index of the stream
|
534
|
+
in the list returned by clutter_gst_player_get_audio_streams().</doc>
|
535
|
+
<return-value transfer-ownership="none">
|
536
|
+
<type name="none" c:type="void"/>
|
537
|
+
</return-value>
|
538
|
+
<parameters>
|
539
|
+
<instance-parameter name="player" transfer-ownership="none">
|
540
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
541
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
542
|
+
</instance-parameter>
|
543
|
+
<parameter name="index_" transfer-ownership="none">
|
544
|
+
<doc xml:whitespace="preserve">the index of the audio stream</doc>
|
545
|
+
<type name="gint" c:type="gint"/>
|
546
|
+
</parameter>
|
547
|
+
</parameters>
|
548
|
+
</method>
|
549
|
+
<method name="set_buffering_mode"
|
550
|
+
c:identifier="clutter_gst_player_set_buffering_mode"
|
551
|
+
version="1.4">
|
552
|
+
<return-value transfer-ownership="none">
|
553
|
+
<type name="none" c:type="void"/>
|
554
|
+
</return-value>
|
555
|
+
<parameters>
|
556
|
+
<instance-parameter name="player" transfer-ownership="none">
|
557
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
558
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
559
|
+
</instance-parameter>
|
560
|
+
<parameter name="mode" transfer-ownership="none">
|
561
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
562
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
563
|
+
</parameter>
|
564
|
+
</parameters>
|
565
|
+
</method>
|
566
|
+
<method name="set_seek_flags"
|
567
|
+
c:identifier="clutter_gst_player_set_seek_flags"
|
568
|
+
version="1.4">
|
569
|
+
<doc xml:whitespace="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
|
570
|
+
to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
571
|
+
<return-value transfer-ownership="none">
|
572
|
+
<type name="none" c:type="void"/>
|
573
|
+
</return-value>
|
574
|
+
<parameters>
|
575
|
+
<instance-parameter name="player" transfer-ownership="none">
|
576
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
577
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
578
|
+
</instance-parameter>
|
579
|
+
<parameter name="flags" transfer-ownership="none">
|
580
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
581
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
582
|
+
</parameter>
|
583
|
+
</parameters>
|
584
|
+
</method>
|
585
|
+
<method name="set_subtitle_track"
|
586
|
+
c:identifier="clutter_gst_player_set_subtitle_track"
|
587
|
+
version="1.4">
|
588
|
+
<doc xml:whitespace="preserve">Set the subtitles track to play. @index_ is the index of the stream
|
589
|
+
in the list returned by clutter_gst_player_get_subtitle_tracks().
|
590
|
+
|
591
|
+
If @index_ is -1, the subtitles are turned off.</doc>
|
592
|
+
<return-value transfer-ownership="none">
|
593
|
+
<type name="none" c:type="void"/>
|
594
|
+
</return-value>
|
595
|
+
<parameters>
|
596
|
+
<instance-parameter name="player" transfer-ownership="none">
|
597
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
598
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
599
|
+
</instance-parameter>
|
600
|
+
<parameter name="index_" transfer-ownership="none">
|
601
|
+
<doc xml:whitespace="preserve">the index of the subtitles track</doc>
|
602
|
+
<type name="gint" c:type="gint"/>
|
603
|
+
</parameter>
|
604
|
+
</parameters>
|
605
|
+
</method>
|
606
|
+
<method name="set_user_agent"
|
607
|
+
c:identifier="clutter_gst_player_set_user_agent"
|
608
|
+
version="1.4">
|
609
|
+
<doc xml:whitespace="preserve">Sets the user agent to use when streaming.
|
610
|
+
|
611
|
+
When streaming content, you might want to set a custom user agent, eg. to
|
612
|
+
promote your software, make it appear in statistics or because the server
|
613
|
+
requires a special user agent you want to impersonate.</doc>
|
614
|
+
<return-value transfer-ownership="none">
|
615
|
+
<type name="none" c:type="void"/>
|
616
|
+
</return-value>
|
617
|
+
<parameters>
|
618
|
+
<instance-parameter name="player" transfer-ownership="none">
|
619
|
+
<doc xml:whitespace="preserve">a #ClutterGstPlayer</doc>
|
620
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
621
|
+
</instance-parameter>
|
622
|
+
<parameter name="user_agent" transfer-ownership="none">
|
623
|
+
<doc xml:whitespace="preserve">the user agent</doc>
|
624
|
+
<type name="utf8" c:type="const gchar*"/>
|
625
|
+
</parameter>
|
626
|
+
</parameters>
|
627
|
+
</method>
|
628
|
+
<property name="audio-stream"
|
629
|
+
version="1.4"
|
630
|
+
writable="1"
|
631
|
+
transfer-ownership="none">
|
632
|
+
<doc xml:whitespace="preserve">Index of the current audio stream.</doc>
|
633
|
+
<type name="gint" c:type="gint"/>
|
634
|
+
</property>
|
635
|
+
<property name="audio-streams" version="1.4" transfer-ownership="none">
|
636
|
+
<doc xml:whitespace="preserve">List of audio streams available on the current media.</doc>
|
637
|
+
<type name="gpointer" c:type="gpointer"/>
|
638
|
+
</property>
|
639
|
+
<property name="idle" version="1.4" transfer-ownership="none">
|
640
|
+
<doc xml:whitespace="preserve">Whether the #ClutterGstPlayer is in idle mode.</doc>
|
641
|
+
<type name="gboolean" c:type="gboolean"/>
|
642
|
+
</property>
|
643
|
+
<property name="in-seek" version="1.6" transfer-ownership="none">
|
644
|
+
<doc xml:whitespace="preserve">Whether or not the stream is being seeked.</doc>
|
645
|
+
<type name="gboolean" c:type="gboolean"/>
|
646
|
+
</property>
|
647
|
+
<property name="seek-flags"
|
648
|
+
version="1.4"
|
649
|
+
writable="1"
|
650
|
+
transfer-ownership="none">
|
651
|
+
<doc xml:whitespace="preserve">Flags to use when seeking.</doc>
|
652
|
+
<type name="SeekFlags"/>
|
653
|
+
</property>
|
654
|
+
<property name="subtitle-track" writable="1" transfer-ownership="none">
|
655
|
+
<type name="gint" c:type="gint"/>
|
656
|
+
</property>
|
657
|
+
<property name="subtitle-tracks" transfer-ownership="none">
|
658
|
+
<type name="gpointer" c:type="gpointer"/>
|
659
|
+
</property>
|
660
|
+
<property name="user-agent"
|
661
|
+
version="1.4"
|
662
|
+
writable="1"
|
663
|
+
transfer-ownership="none">
|
664
|
+
<doc xml:whitespace="preserve">The User Agent used by #ClutterGstPlayer with network protocols.</doc>
|
665
|
+
<type name="utf8" c:type="gchar*"/>
|
666
|
+
</property>
|
667
|
+
<glib:signal name="download-buffering" when="last" version="1.4">
|
668
|
+
<doc xml:whitespace="preserve">The ::download-buffering signal is emitted each time their an
|
669
|
+
update about the buffering of the current media.</doc>
|
670
|
+
<return-value transfer-ownership="none">
|
671
|
+
<type name="none" c:type="void"/>
|
672
|
+
</return-value>
|
673
|
+
<parameters>
|
674
|
+
<parameter name="start" transfer-ownership="none">
|
675
|
+
<doc xml:whitespace="preserve">start position of the buffering</doc>
|
676
|
+
<type name="gdouble" c:type="gdouble"/>
|
677
|
+
</parameter>
|
678
|
+
<parameter name="stop" transfer-ownership="none">
|
679
|
+
<doc xml:whitespace="preserve">start position of the buffering</doc>
|
680
|
+
<type name="gdouble" c:type="gdouble"/>
|
681
|
+
</parameter>
|
682
|
+
</parameters>
|
683
|
+
</glib:signal>
|
684
|
+
</interface>
|
685
|
+
<record name="PlayerIface"
|
686
|
+
c:type="ClutterGstPlayerIface"
|
687
|
+
glib:is-gtype-struct-for="Player"
|
688
|
+
version="1.4">
|
689
|
+
<doc xml:whitespace="preserve">Interface vtable for #ClutterGstPlayer implementations</doc>
|
690
|
+
<field name="base_iface" readable="0" private="1">
|
691
|
+
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
692
|
+
</field>
|
693
|
+
<field name="priv" readable="0" private="1">
|
694
|
+
<type name="PlayerIfacePrivate"
|
695
|
+
c:type="ClutterGstPlayerIfacePrivate*"/>
|
696
|
+
</field>
|
697
|
+
<field name="get_pipeline">
|
698
|
+
<callback name="get_pipeline">
|
699
|
+
<return-value transfer-ownership="none">
|
700
|
+
<doc xml:whitespace="preserve">the #GstPipeline element used by the player</doc>
|
701
|
+
<type name="Gst.Element" c:type="GstElement*"/>
|
702
|
+
</return-value>
|
703
|
+
<parameters>
|
704
|
+
<parameter name="player" transfer-ownership="none">
|
705
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
706
|
+
</parameter>
|
707
|
+
</parameters>
|
708
|
+
</callback>
|
709
|
+
</field>
|
710
|
+
<field name="get_user_agent">
|
711
|
+
<callback name="get_user_agent">
|
712
|
+
<return-value transfer-ownership="full">
|
713
|
+
<doc xml:whitespace="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
714
|
+
<type name="utf8" c:type="gchar*"/>
|
715
|
+
</return-value>
|
716
|
+
<parameters>
|
717
|
+
<parameter name="player" transfer-ownership="none">
|
718
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
719
|
+
</parameter>
|
720
|
+
</parameters>
|
721
|
+
</callback>
|
722
|
+
</field>
|
723
|
+
<field name="set_user_agent">
|
724
|
+
<callback name="set_user_agent">
|
725
|
+
<return-value transfer-ownership="none">
|
726
|
+
<type name="none" c:type="void"/>
|
727
|
+
</return-value>
|
728
|
+
<parameters>
|
729
|
+
<parameter name="player" transfer-ownership="none">
|
730
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
731
|
+
</parameter>
|
732
|
+
<parameter name="user_agent" transfer-ownership="none">
|
733
|
+
<doc xml:whitespace="preserve">the user agent</doc>
|
734
|
+
<type name="utf8" c:type="const gchar*"/>
|
735
|
+
</parameter>
|
736
|
+
</parameters>
|
737
|
+
</callback>
|
738
|
+
</field>
|
739
|
+
<field name="get_seek_flags">
|
740
|
+
<callback name="get_seek_flags">
|
741
|
+
<return-value transfer-ownership="none">
|
742
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
743
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
744
|
+
</return-value>
|
745
|
+
<parameters>
|
746
|
+
<parameter name="player" transfer-ownership="none">
|
747
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
748
|
+
</parameter>
|
749
|
+
</parameters>
|
750
|
+
</callback>
|
751
|
+
</field>
|
752
|
+
<field name="set_seek_flags">
|
753
|
+
<callback name="set_seek_flags">
|
754
|
+
<return-value transfer-ownership="none">
|
755
|
+
<type name="none" c:type="void"/>
|
756
|
+
</return-value>
|
757
|
+
<parameters>
|
758
|
+
<parameter name="player" transfer-ownership="none">
|
759
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
760
|
+
</parameter>
|
761
|
+
<parameter name="flags" transfer-ownership="none">
|
762
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
763
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
764
|
+
</parameter>
|
765
|
+
</parameters>
|
766
|
+
</callback>
|
767
|
+
</field>
|
768
|
+
<field name="get_buffering_mode">
|
769
|
+
<callback name="get_buffering_mode">
|
770
|
+
<return-value transfer-ownership="none">
|
771
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
772
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
773
|
+
</return-value>
|
774
|
+
<parameters>
|
775
|
+
<parameter name="player" transfer-ownership="none">
|
776
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
777
|
+
</parameter>
|
778
|
+
</parameters>
|
779
|
+
</callback>
|
780
|
+
</field>
|
781
|
+
<field name="set_buffering_mode">
|
782
|
+
<callback name="set_buffering_mode">
|
783
|
+
<return-value transfer-ownership="none">
|
784
|
+
<type name="none" c:type="void"/>
|
785
|
+
</return-value>
|
786
|
+
<parameters>
|
787
|
+
<parameter name="player" transfer-ownership="none">
|
788
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
789
|
+
</parameter>
|
790
|
+
<parameter name="mode" transfer-ownership="none">
|
791
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
792
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
793
|
+
</parameter>
|
794
|
+
</parameters>
|
795
|
+
</callback>
|
796
|
+
</field>
|
797
|
+
<field name="get_audio_streams">
|
798
|
+
<callback name="get_audio_streams">
|
799
|
+
<return-value transfer-ownership="none">
|
800
|
+
<doc xml:whitespace="preserve">a list of strings describing the available audio streams</doc>
|
801
|
+
<type name="GLib.List" c:type="GList*">
|
802
|
+
<type name="utf8"/>
|
803
|
+
</type>
|
804
|
+
</return-value>
|
805
|
+
<parameters>
|
806
|
+
<parameter name="player" transfer-ownership="none">
|
807
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
808
|
+
</parameter>
|
809
|
+
</parameters>
|
810
|
+
</callback>
|
811
|
+
</field>
|
812
|
+
<field name="get_audio_stream">
|
813
|
+
<callback name="get_audio_stream">
|
814
|
+
<return-value transfer-ownership="none">
|
815
|
+
<doc xml:whitespace="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
816
|
+
<type name="gint" c:type="gint"/>
|
817
|
+
</return-value>
|
818
|
+
<parameters>
|
819
|
+
<parameter name="player" transfer-ownership="none">
|
820
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
821
|
+
</parameter>
|
822
|
+
</parameters>
|
823
|
+
</callback>
|
824
|
+
</field>
|
825
|
+
<field name="set_audio_stream">
|
826
|
+
<callback name="set_audio_stream">
|
827
|
+
<return-value transfer-ownership="none">
|
828
|
+
<type name="none" c:type="void"/>
|
829
|
+
</return-value>
|
830
|
+
<parameters>
|
831
|
+
<parameter name="player" transfer-ownership="none">
|
832
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
833
|
+
</parameter>
|
834
|
+
<parameter name="index_" transfer-ownership="none">
|
835
|
+
<doc xml:whitespace="preserve">the index of the audio stream</doc>
|
836
|
+
<type name="gint" c:type="gint"/>
|
837
|
+
</parameter>
|
838
|
+
</parameters>
|
839
|
+
</callback>
|
840
|
+
</field>
|
841
|
+
<field name="get_subtitle_tracks">
|
842
|
+
<callback name="get_subtitle_tracks">
|
843
|
+
<return-value transfer-ownership="none">
|
844
|
+
<doc xml:whitespace="preserve">a list of strings describing the available subtitles tracks</doc>
|
845
|
+
<type name="GLib.List" c:type="GList*">
|
846
|
+
<type name="utf8"/>
|
847
|
+
</type>
|
848
|
+
</return-value>
|
849
|
+
<parameters>
|
850
|
+
<parameter name="player" transfer-ownership="none">
|
851
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
852
|
+
</parameter>
|
853
|
+
</parameters>
|
854
|
+
</callback>
|
855
|
+
</field>
|
856
|
+
<field name="get_subtitle_track">
|
857
|
+
<callback name="get_subtitle_track">
|
858
|
+
<return-value transfer-ownership="none">
|
859
|
+
<doc xml:whitespace="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
860
|
+
<type name="gint" c:type="gint"/>
|
861
|
+
</return-value>
|
862
|
+
<parameters>
|
863
|
+
<parameter name="player" transfer-ownership="none">
|
864
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
865
|
+
</parameter>
|
866
|
+
</parameters>
|
867
|
+
</callback>
|
868
|
+
</field>
|
869
|
+
<field name="set_subtitle_track">
|
870
|
+
<callback name="set_subtitle_track">
|
871
|
+
<return-value transfer-ownership="none">
|
872
|
+
<type name="none" c:type="void"/>
|
873
|
+
</return-value>
|
874
|
+
<parameters>
|
875
|
+
<parameter name="player" transfer-ownership="none">
|
876
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
877
|
+
</parameter>
|
878
|
+
<parameter name="index_" transfer-ownership="none">
|
879
|
+
<doc xml:whitespace="preserve">the index of the subtitles track</doc>
|
880
|
+
<type name="gint" c:type="gint"/>
|
881
|
+
</parameter>
|
882
|
+
</parameters>
|
883
|
+
</callback>
|
884
|
+
</field>
|
885
|
+
<field name="get_idle">
|
886
|
+
<callback name="get_idle">
|
887
|
+
<return-value transfer-ownership="none">
|
888
|
+
<doc xml:whitespace="preserve">TRUE if the pipline is in idle mode, FALSE otherwise.</doc>
|
889
|
+
<type name="gboolean" c:type="gboolean"/>
|
890
|
+
</return-value>
|
891
|
+
<parameters>
|
892
|
+
<parameter name="player" transfer-ownership="none">
|
893
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
894
|
+
</parameter>
|
895
|
+
</parameters>
|
896
|
+
</callback>
|
897
|
+
</field>
|
898
|
+
<field name="get_in_seek">
|
899
|
+
<callback name="get_in_seek">
|
900
|
+
<return-value transfer-ownership="none">
|
901
|
+
<doc xml:whitespace="preserve">TRUE if the player is seeking, FALSE otherwise.</doc>
|
902
|
+
<type name="gboolean" c:type="gboolean"/>
|
903
|
+
</return-value>
|
904
|
+
<parameters>
|
905
|
+
<parameter name="player" transfer-ownership="none">
|
906
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
907
|
+
</parameter>
|
908
|
+
</parameters>
|
909
|
+
</callback>
|
910
|
+
</field>
|
911
|
+
<field name="_iface_reserved16" introspectable="0">
|
912
|
+
<callback name="_iface_reserved16">
|
913
|
+
<return-value transfer-ownership="none">
|
914
|
+
<type name="none" c:type="void"/>
|
915
|
+
</return-value>
|
916
|
+
</callback>
|
917
|
+
</field>
|
918
|
+
<field name="_iface_reserved17" introspectable="0">
|
919
|
+
<callback name="_iface_reserved17">
|
920
|
+
<return-value transfer-ownership="none">
|
921
|
+
<type name="none" c:type="void"/>
|
922
|
+
</return-value>
|
923
|
+
</callback>
|
924
|
+
</field>
|
925
|
+
<field name="_iface_reserved18" introspectable="0">
|
926
|
+
<callback name="_iface_reserved18">
|
927
|
+
<return-value transfer-ownership="none">
|
928
|
+
<type name="none" c:type="void"/>
|
929
|
+
</return-value>
|
930
|
+
</callback>
|
931
|
+
</field>
|
932
|
+
<field name="_iface_reserved19" introspectable="0">
|
933
|
+
<callback name="_iface_reserved19">
|
934
|
+
<return-value transfer-ownership="none">
|
935
|
+
<type name="none" c:type="void"/>
|
936
|
+
</return-value>
|
937
|
+
</callback>
|
938
|
+
</field>
|
939
|
+
<field name="_iface_reserved20" introspectable="0">
|
940
|
+
<callback name="_iface_reserved20">
|
941
|
+
<return-value transfer-ownership="none">
|
942
|
+
<type name="none" c:type="void"/>
|
943
|
+
</return-value>
|
944
|
+
</callback>
|
945
|
+
</field>
|
946
|
+
<field name="_iface_reserved21" introspectable="0">
|
947
|
+
<callback name="_iface_reserved21">
|
948
|
+
<return-value transfer-ownership="none">
|
949
|
+
<type name="none" c:type="void"/>
|
950
|
+
</return-value>
|
951
|
+
</callback>
|
952
|
+
</field>
|
953
|
+
<field name="_iface_reserved22" introspectable="0">
|
954
|
+
<callback name="_iface_reserved22">
|
955
|
+
<return-value transfer-ownership="none">
|
956
|
+
<type name="none" c:type="void"/>
|
957
|
+
</return-value>
|
958
|
+
</callback>
|
959
|
+
</field>
|
960
|
+
<field name="_iface_reserved23" introspectable="0">
|
961
|
+
<callback name="_iface_reserved23">
|
962
|
+
<return-value transfer-ownership="none">
|
963
|
+
<type name="none" c:type="void"/>
|
964
|
+
</return-value>
|
965
|
+
</callback>
|
966
|
+
</field>
|
967
|
+
<field name="_iface_reserved24" introspectable="0">
|
968
|
+
<callback name="_iface_reserved24">
|
969
|
+
<return-value transfer-ownership="none">
|
970
|
+
<type name="none" c:type="void"/>
|
971
|
+
</return-value>
|
972
|
+
</callback>
|
973
|
+
</field>
|
974
|
+
<field name="_iface_reserved25" introspectable="0">
|
975
|
+
<callback name="_iface_reserved25">
|
976
|
+
<return-value transfer-ownership="none">
|
977
|
+
<type name="none" c:type="void"/>
|
978
|
+
</return-value>
|
979
|
+
</callback>
|
980
|
+
</field>
|
981
|
+
<field name="_iface_reserved26" introspectable="0">
|
982
|
+
<callback name="_iface_reserved26">
|
983
|
+
<return-value transfer-ownership="none">
|
984
|
+
<type name="none" c:type="void"/>
|
985
|
+
</return-value>
|
986
|
+
</callback>
|
987
|
+
</field>
|
988
|
+
<field name="_iface_reserved27" introspectable="0">
|
989
|
+
<callback name="_iface_reserved27">
|
990
|
+
<return-value transfer-ownership="none">
|
991
|
+
<type name="none" c:type="void"/>
|
992
|
+
</return-value>
|
993
|
+
</callback>
|
994
|
+
</field>
|
995
|
+
<field name="_iface_reserved28" introspectable="0">
|
996
|
+
<callback name="_iface_reserved28">
|
997
|
+
<return-value transfer-ownership="none">
|
998
|
+
<type name="none" c:type="void"/>
|
999
|
+
</return-value>
|
1000
|
+
</callback>
|
1001
|
+
</field>
|
1002
|
+
<field name="_iface_reserved29" introspectable="0">
|
1003
|
+
<callback name="_iface_reserved29">
|
1004
|
+
<return-value transfer-ownership="none">
|
1005
|
+
<type name="none" c:type="void"/>
|
1006
|
+
</return-value>
|
1007
|
+
</callback>
|
1008
|
+
</field>
|
1009
|
+
<field name="_iface_reserved30" introspectable="0">
|
1010
|
+
<callback name="_iface_reserved30">
|
1011
|
+
<return-value transfer-ownership="none">
|
1012
|
+
<type name="none" c:type="void"/>
|
1013
|
+
</return-value>
|
1014
|
+
</callback>
|
1015
|
+
</field>
|
1016
|
+
<field name="_iface_reserved31" introspectable="0">
|
1017
|
+
<callback name="_iface_reserved31">
|
1018
|
+
<return-value transfer-ownership="none">
|
1019
|
+
<type name="none" c:type="void"/>
|
1020
|
+
</return-value>
|
1021
|
+
</callback>
|
1022
|
+
</field>
|
1023
|
+
<field name="_iface_reserved32" introspectable="0">
|
1024
|
+
<callback name="_iface_reserved32">
|
1025
|
+
<return-value transfer-ownership="none">
|
1026
|
+
<type name="none" c:type="void"/>
|
1027
|
+
</return-value>
|
1028
|
+
</callback>
|
1029
|
+
</field>
|
1030
|
+
<field name="_iface_reserved33" introspectable="0">
|
1031
|
+
<callback name="_iface_reserved33">
|
1032
|
+
<return-value transfer-ownership="none">
|
1033
|
+
<type name="none" c:type="void"/>
|
1034
|
+
</return-value>
|
1035
|
+
</callback>
|
1036
|
+
</field>
|
1037
|
+
<field name="_iface_reserved34" introspectable="0">
|
1038
|
+
<callback name="_iface_reserved34">
|
1039
|
+
<return-value transfer-ownership="none">
|
1040
|
+
<type name="none" c:type="void"/>
|
1041
|
+
</return-value>
|
1042
|
+
</callback>
|
1043
|
+
</field>
|
1044
|
+
<field name="_iface_reserved35" introspectable="0">
|
1045
|
+
<callback name="_iface_reserved35">
|
1046
|
+
<return-value transfer-ownership="none">
|
1047
|
+
<type name="none" c:type="void"/>
|
1048
|
+
</return-value>
|
1049
|
+
</callback>
|
1050
|
+
</field>
|
1051
|
+
<field name="download_buffering">
|
1052
|
+
<callback name="download_buffering">
|
1053
|
+
<return-value transfer-ownership="none">
|
1054
|
+
<type name="none" c:type="void"/>
|
1055
|
+
</return-value>
|
1056
|
+
<parameters>
|
1057
|
+
<parameter name="player" transfer-ownership="none">
|
1058
|
+
<type name="Player" c:type="ClutterGstPlayer*"/>
|
1059
|
+
</parameter>
|
1060
|
+
<parameter name="start" transfer-ownership="none">
|
1061
|
+
<type name="gdouble" c:type="gdouble"/>
|
1062
|
+
</parameter>
|
1063
|
+
<parameter name="stop" transfer-ownership="none">
|
1064
|
+
<type name="gdouble" c:type="gdouble"/>
|
1065
|
+
</parameter>
|
1066
|
+
</parameters>
|
1067
|
+
</callback>
|
1068
|
+
</field>
|
1069
|
+
<field name="_clutter_reserved2" introspectable="0">
|
1070
|
+
<callback name="_clutter_reserved2">
|
1071
|
+
<return-value transfer-ownership="none">
|
1072
|
+
<type name="none" c:type="void"/>
|
1073
|
+
</return-value>
|
1074
|
+
</callback>
|
1075
|
+
</field>
|
1076
|
+
<field name="_clutter_reserved3" introspectable="0">
|
1077
|
+
<callback name="_clutter_reserved3">
|
1078
|
+
<return-value transfer-ownership="none">
|
1079
|
+
<type name="none" c:type="void"/>
|
1080
|
+
</return-value>
|
1081
|
+
</callback>
|
1082
|
+
</field>
|
1083
|
+
<field name="_clutter_reserved4" introspectable="0">
|
1084
|
+
<callback name="_clutter_reserved4">
|
1085
|
+
<return-value transfer-ownership="none">
|
1086
|
+
<type name="none" c:type="void"/>
|
1087
|
+
</return-value>
|
1088
|
+
</callback>
|
1089
|
+
</field>
|
1090
|
+
<field name="_clutter_reserved5" introspectable="0">
|
1091
|
+
<callback name="_clutter_reserved5">
|
1092
|
+
<return-value transfer-ownership="none">
|
1093
|
+
<type name="none" c:type="void"/>
|
1094
|
+
</return-value>
|
1095
|
+
</callback>
|
1096
|
+
</field>
|
1097
|
+
<field name="_clutter_reserved6" introspectable="0">
|
1098
|
+
<callback name="_clutter_reserved6">
|
1099
|
+
<return-value transfer-ownership="none">
|
1100
|
+
<type name="none" c:type="void"/>
|
1101
|
+
</return-value>
|
1102
|
+
</callback>
|
1103
|
+
</field>
|
1104
|
+
<field name="_clutter_reserved7" introspectable="0">
|
1105
|
+
<callback name="_clutter_reserved7">
|
1106
|
+
<return-value transfer-ownership="none">
|
1107
|
+
<type name="none" c:type="void"/>
|
1108
|
+
</return-value>
|
1109
|
+
</callback>
|
1110
|
+
</field>
|
1111
|
+
<field name="_clutter_reserved8" introspectable="0">
|
1112
|
+
<callback name="_clutter_reserved8">
|
1113
|
+
<return-value transfer-ownership="none">
|
1114
|
+
<type name="none" c:type="void"/>
|
1115
|
+
</return-value>
|
1116
|
+
</callback>
|
1117
|
+
</field>
|
1118
|
+
<field name="_clutter_reserved9" introspectable="0">
|
1119
|
+
<callback name="_clutter_reserved9">
|
1120
|
+
<return-value transfer-ownership="none">
|
1121
|
+
<type name="none" c:type="void"/>
|
1122
|
+
</return-value>
|
1123
|
+
</callback>
|
1124
|
+
</field>
|
1125
|
+
<field name="_clutter_reserved10" introspectable="0">
|
1126
|
+
<callback name="_clutter_reserved10">
|
1127
|
+
<return-value transfer-ownership="none">
|
1128
|
+
<type name="none" c:type="void"/>
|
1129
|
+
</return-value>
|
1130
|
+
</callback>
|
1131
|
+
</field>
|
1132
|
+
</record>
|
1133
|
+
<record name="PlayerIfacePrivate"
|
1134
|
+
c:type="ClutterGstPlayerIfacePrivate"
|
1135
|
+
disguised="1">
|
1136
|
+
</record>
|
1137
|
+
<bitfield name="SeekFlags"
|
1138
|
+
version="1.4"
|
1139
|
+
glib:type-name="ClutterGstSeekFlags"
|
1140
|
+
glib:get-type="clutter_gst_seek_flags_get_type"
|
1141
|
+
c:type="ClutterGstSeekFlags">
|
1142
|
+
<doc xml:whitespace="preserve">Flags that can be given to clutter_gst_video_texture_set_seek_flags().</doc>
|
1143
|
+
<member name="none"
|
1144
|
+
value="0"
|
1145
|
+
c:identifier="CLUTTER_GST_SEEK_FLAG_NONE"
|
1146
|
+
glib:nick="none">
|
1147
|
+
<doc xml:whitespace="preserve">Fast seeks (key frame boundaries, default)</doc>
|
1148
|
+
</member>
|
1149
|
+
<member name="accurate"
|
1150
|
+
value="1"
|
1151
|
+
c:identifier="CLUTTER_GST_SEEK_FLAG_ACCURATE"
|
1152
|
+
glib:nick="accurate">
|
1153
|
+
<doc xml:whitespace="preserve">Accurate seeks (potentially slower)</doc>
|
1154
|
+
</member>
|
1155
|
+
</bitfield>
|
1156
|
+
<constant name="VERSION_HEX" value="0" c:type="CLUTTER_GST_VERSION_HEX">
|
1157
|
+
<doc xml:whitespace="preserve">ClutterGst full version, encoded as an hexadecimal value.</doc>
|
1158
|
+
<type name="gint" c:type="gint"/>
|
1159
|
+
</constant>
|
1160
|
+
<constant name="VERSION_S" value="2.0.2" c:type="CLUTTER_GST_VERSION_S">
|
1161
|
+
<doc xml:whitespace="preserve">ClutterGst full version, encoded as a string.</doc>
|
1162
|
+
<type name="utf8" c:type="gchar*"/>
|
1163
|
+
</constant>
|
1164
|
+
<class name="VideoSink"
|
1165
|
+
c:symbol-prefix="video_sink"
|
1166
|
+
c:type="ClutterGstVideoSink"
|
1167
|
+
parent="GstBase.BaseSink"
|
1168
|
+
glib:type-name="ClutterGstVideoSink"
|
1169
|
+
glib:get-type="clutter_gst_video_sink_get_type"
|
1170
|
+
glib:type-struct="VideoSinkClass">
|
1171
|
+
<doc xml:whitespace="preserve">Class implementing a GStreamer sink element for #ClutterTexture<!-- -->s.
|
1172
|
+
|
1173
|
+
The #ClutterGstVideoSink structure contains only private data and should
|
1174
|
+
not be accessed directly.</doc>
|
1175
|
+
<implements name="GstVideo.Navigation"/>
|
1176
|
+
<constructor name="new"
|
1177
|
+
c:identifier="clutter_gst_video_sink_new"
|
1178
|
+
deprecated="Use gst_element_factory_make ("cluttersink", ...) and the "texture" GObject property instead."
|
1179
|
+
deprecated-version="1.6">
|
1180
|
+
<doc xml:whitespace="preserve">Creates a new GStreamer video sink which uses @texture as the target
|
1181
|
+
for sinking a video stream from GStreamer.
|
1182
|
+
|
1183
|
+
<note>This function has to be called from Clutter's main thread. While
|
1184
|
+
GStreamer will spawn threads to do its work, we want all the GL calls to
|
1185
|
+
happen in the same thread. Clutter-gst knows which thread it is by
|
1186
|
+
assuming this constructor is called from the Clutter thread.</note></doc>
|
1187
|
+
<return-value transfer-ownership="none">
|
1188
|
+
<doc xml:whitespace="preserve">a #GstElement for the newly created video sink</doc>
|
1189
|
+
<type name="Gst.Element" c:type="GstElement*"/>
|
1190
|
+
</return-value>
|
1191
|
+
<parameters>
|
1192
|
+
<parameter name="texture" transfer-ownership="none">
|
1193
|
+
<doc xml:whitespace="preserve">a #ClutterTexture</doc>
|
1194
|
+
<type name="Clutter.Texture" c:type="ClutterTexture*"/>
|
1195
|
+
</parameter>
|
1196
|
+
</parameters>
|
1197
|
+
</constructor>
|
1198
|
+
<property name="texture" writable="1" transfer-ownership="none">
|
1199
|
+
<doc xml:whitespace="preserve">This is the texture the video is decoded into. It can be any
|
1200
|
+
#ClutterTexture, however Cluter-Gst has a handy subclass,
|
1201
|
+
#ClutterGstVideoTexture, that implements the #ClutterMedia
|
1202
|
+
interface.</doc>
|
1203
|
+
<type name="Clutter.Texture"/>
|
1204
|
+
</property>
|
1205
|
+
<property name="update-priority" writable="1" transfer-ownership="none">
|
1206
|
+
<doc xml:whitespace="preserve">Clutter-Gst installs a #GSource to signal that a new frame is ready to
|
1207
|
+
the Clutter thread. This property allows to tweak the priority of the
|
1208
|
+
source (Lower value is higher priority).
|
1209
|
+
|
1210
|
+
Since 1.0</doc>
|
1211
|
+
<type name="gint" c:type="gint"/>
|
1212
|
+
</property>
|
1213
|
+
<field name="parent" readable="0" private="1">
|
1214
|
+
<type name="GstBase.BaseSink" c:type="GstBaseSink"/>
|
1215
|
+
</field>
|
1216
|
+
<field name="priv" readable="0" private="1">
|
1217
|
+
<type name="VideoSinkPrivate" c:type="ClutterGstVideoSinkPrivate*"/>
|
1218
|
+
</field>
|
1219
|
+
</class>
|
1220
|
+
<record name="VideoSinkClass"
|
1221
|
+
c:type="ClutterGstVideoSinkClass"
|
1222
|
+
glib:is-gtype-struct-for="VideoSink">
|
1223
|
+
<doc xml:whitespace="preserve">Base class for #ClutterGstVideoSink.</doc>
|
1224
|
+
<field name="parent_class" readable="0" private="1">
|
1225
|
+
<type name="GstBase.BaseSinkClass" c:type="GstBaseSinkClass"/>
|
1226
|
+
</field>
|
1227
|
+
<field name="_clutter_reserved1" introspectable="0">
|
1228
|
+
<callback name="_clutter_reserved1">
|
1229
|
+
<return-value transfer-ownership="none">
|
1230
|
+
<type name="none" c:type="void"/>
|
1231
|
+
</return-value>
|
1232
|
+
</callback>
|
1233
|
+
</field>
|
1234
|
+
<field name="_clutter_reserved2" introspectable="0">
|
1235
|
+
<callback name="_clutter_reserved2">
|
1236
|
+
<return-value transfer-ownership="none">
|
1237
|
+
<type name="none" c:type="void"/>
|
1238
|
+
</return-value>
|
1239
|
+
</callback>
|
1240
|
+
</field>
|
1241
|
+
<field name="_clutter_reserved3" introspectable="0">
|
1242
|
+
<callback name="_clutter_reserved3">
|
1243
|
+
<return-value transfer-ownership="none">
|
1244
|
+
<type name="none" c:type="void"/>
|
1245
|
+
</return-value>
|
1246
|
+
</callback>
|
1247
|
+
</field>
|
1248
|
+
<field name="_clutter_reserved4" introspectable="0">
|
1249
|
+
<callback name="_clutter_reserved4">
|
1250
|
+
<return-value transfer-ownership="none">
|
1251
|
+
<type name="none" c:type="void"/>
|
1252
|
+
</return-value>
|
1253
|
+
</callback>
|
1254
|
+
</field>
|
1255
|
+
<field name="_clutter_reserved5" introspectable="0">
|
1256
|
+
<callback name="_clutter_reserved5">
|
1257
|
+
<return-value transfer-ownership="none">
|
1258
|
+
<type name="none" c:type="void"/>
|
1259
|
+
</return-value>
|
1260
|
+
</callback>
|
1261
|
+
</field>
|
1262
|
+
<field name="_clutter_reserved6" introspectable="0">
|
1263
|
+
<callback name="_clutter_reserved6">
|
1264
|
+
<return-value transfer-ownership="none">
|
1265
|
+
<type name="none" c:type="void"/>
|
1266
|
+
</return-value>
|
1267
|
+
</callback>
|
1268
|
+
</field>
|
1269
|
+
</record>
|
1270
|
+
<record name="VideoSinkPrivate"
|
1271
|
+
c:type="ClutterGstVideoSinkPrivate"
|
1272
|
+
disguised="1">
|
1273
|
+
</record>
|
1274
|
+
<class name="VideoTexture"
|
1275
|
+
c:symbol-prefix="video_texture"
|
1276
|
+
c:type="ClutterGstVideoTexture"
|
1277
|
+
parent="Clutter.Texture"
|
1278
|
+
glib:type-name="ClutterGstVideoTexture"
|
1279
|
+
glib:get-type="clutter_gst_video_texture_get_type"
|
1280
|
+
glib:type-struct="VideoTextureClass">
|
1281
|
+
<doc xml:whitespace="preserve">Subclass of #ClutterTexture that displays videos using GStreamer.
|
1282
|
+
|
1283
|
+
The #ClutterGstVideoTexture structure contains only private data and
|
1284
|
+
should not be accessed directly.</doc>
|
1285
|
+
<implements name="Atk.ImplementorIface"/>
|
1286
|
+
<implements name="Clutter.Animatable"/>
|
1287
|
+
<implements name="Clutter.Container"/>
|
1288
|
+
<implements name="Clutter.Media"/>
|
1289
|
+
<implements name="Clutter.Scriptable"/>
|
1290
|
+
<implements name="Player"/>
|
1291
|
+
<constructor name="new" c:identifier="clutter_gst_video_texture_new">
|
1292
|
+
<doc xml:whitespace="preserve">Creates a video texture.
|
1293
|
+
|
1294
|
+
<note>This function has to be called from Clutter's main thread. While
|
1295
|
+
GStreamer will spawn threads to do its work, we want all the GL calls to
|
1296
|
+
happen in the same thread. Clutter-gst knows which thread it is by
|
1297
|
+
assuming this constructor is called from the Clutter thread.</note></doc>
|
1298
|
+
<return-value transfer-ownership="none">
|
1299
|
+
<doc xml:whitespace="preserve">the newly created video texture actor</doc>
|
1300
|
+
<type name="Clutter.Actor" c:type="ClutterActor*"/>
|
1301
|
+
</return-value>
|
1302
|
+
</constructor>
|
1303
|
+
<method name="get_audio_stream"
|
1304
|
+
c:identifier="clutter_gst_video_texture_get_audio_stream"
|
1305
|
+
version="1.4">
|
1306
|
+
<doc xml:whitespace="preserve">Get the current audio stream. The number returned in the index of the
|
1307
|
+
audio stream playing in the list returned by
|
1308
|
+
clutter_gst_video_texture_get_audio_streams().</doc>
|
1309
|
+
<return-value transfer-ownership="none">
|
1310
|
+
<doc xml:whitespace="preserve">the index of the current audio stream, -1 if the media has no audio stream</doc>
|
1311
|
+
<type name="gint" c:type="gint"/>
|
1312
|
+
</return-value>
|
1313
|
+
<parameters>
|
1314
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1315
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1316
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1317
|
+
</instance-parameter>
|
1318
|
+
</parameters>
|
1319
|
+
</method>
|
1320
|
+
<method name="get_audio_streams"
|
1321
|
+
c:identifier="clutter_gst_video_texture_get_audio_streams"
|
1322
|
+
version="1.4">
|
1323
|
+
<doc xml:whitespace="preserve">Get the list of audio streams of the current media.</doc>
|
1324
|
+
<return-value transfer-ownership="none">
|
1325
|
+
<doc xml:whitespace="preserve">a list of #GstTagList describing the available audio streams</doc>
|
1326
|
+
<type name="GLib.List" c:type="GList*">
|
1327
|
+
<type name="Gst.TagList"/>
|
1328
|
+
</type>
|
1329
|
+
</return-value>
|
1330
|
+
<parameters>
|
1331
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1332
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1333
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1334
|
+
</instance-parameter>
|
1335
|
+
</parameters>
|
1336
|
+
</method>
|
1337
|
+
<method name="get_buffering_mode"
|
1338
|
+
c:identifier="clutter_gst_video_texture_get_buffering_mode"
|
1339
|
+
version="1.4">
|
1340
|
+
<return-value transfer-ownership="none">
|
1341
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
1342
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
1343
|
+
</return-value>
|
1344
|
+
<parameters>
|
1345
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1346
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1347
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1348
|
+
</instance-parameter>
|
1349
|
+
</parameters>
|
1350
|
+
</method>
|
1351
|
+
<method name="get_idle_material"
|
1352
|
+
c:identifier="clutter_gst_video_texture_get_idle_material"
|
1353
|
+
version="1.2">
|
1354
|
+
<doc xml:whitespace="preserve">Retrieves the material used to draw when no media is being played.</doc>
|
1355
|
+
<return-value transfer-ownership="none">
|
1356
|
+
<doc xml:whitespace="preserve">the #CoglHandle of the idle material</doc>
|
1357
|
+
<type name="Cogl.Handle" c:type="CoglHandle"/>
|
1358
|
+
</return-value>
|
1359
|
+
<parameters>
|
1360
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1361
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1362
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1363
|
+
</instance-parameter>
|
1364
|
+
</parameters>
|
1365
|
+
</method>
|
1366
|
+
<method name="get_pipeline"
|
1367
|
+
c:identifier="clutter_gst_video_texture_get_pipeline">
|
1368
|
+
<doc xml:whitespace="preserve">Retrieves the #GstPipeline used by the @texture, for direct use with
|
1369
|
+
GStreamer API.</doc>
|
1370
|
+
<return-value transfer-ownership="none">
|
1371
|
+
<doc xml:whitespace="preserve">the pipeline element used by the video texture</doc>
|
1372
|
+
<type name="Gst.Element" c:type="GstElement*"/>
|
1373
|
+
</return-value>
|
1374
|
+
<parameters>
|
1375
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1376
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1377
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1378
|
+
</instance-parameter>
|
1379
|
+
</parameters>
|
1380
|
+
</method>
|
1381
|
+
<method name="get_seek_flags"
|
1382
|
+
c:identifier="clutter_gst_video_texture_get_seek_flags"
|
1383
|
+
version="1.4">
|
1384
|
+
<doc xml:whitespace="preserve">Get the current value of the seek-flags property.</doc>
|
1385
|
+
<return-value transfer-ownership="none">
|
1386
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
1387
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
1388
|
+
</return-value>
|
1389
|
+
<parameters>
|
1390
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1391
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1392
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1393
|
+
</instance-parameter>
|
1394
|
+
</parameters>
|
1395
|
+
</method>
|
1396
|
+
<method name="get_subtitle_track"
|
1397
|
+
c:identifier="clutter_gst_video_texture_get_subtitle_track"
|
1398
|
+
version="1.4">
|
1399
|
+
<doc xml:whitespace="preserve">Get the current subtitles track. The number returned is the index of the
|
1400
|
+
subitles track in the list returned by
|
1401
|
+
clutter_gst_video_texture_get_subtitle_tracks().</doc>
|
1402
|
+
<return-value transfer-ownership="none">
|
1403
|
+
<doc xml:whitespace="preserve">the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off</doc>
|
1404
|
+
<type name="gint" c:type="gint"/>
|
1405
|
+
</return-value>
|
1406
|
+
<parameters>
|
1407
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1408
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1409
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1410
|
+
</instance-parameter>
|
1411
|
+
</parameters>
|
1412
|
+
</method>
|
1413
|
+
<method name="get_subtitle_tracks"
|
1414
|
+
c:identifier="clutter_gst_video_texture_get_subtitle_tracks"
|
1415
|
+
version="1.4">
|
1416
|
+
<doc xml:whitespace="preserve">Get the list of subtitles tracks of the current media.</doc>
|
1417
|
+
<return-value transfer-ownership="none">
|
1418
|
+
<doc xml:whitespace="preserve">a list of #GstTagList describing the available subtitles tracks</doc>
|
1419
|
+
<type name="GLib.List" c:type="GList*">
|
1420
|
+
<type name="Gst.TagList"/>
|
1421
|
+
</type>
|
1422
|
+
</return-value>
|
1423
|
+
<parameters>
|
1424
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1425
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1426
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1427
|
+
</instance-parameter>
|
1428
|
+
</parameters>
|
1429
|
+
</method>
|
1430
|
+
<method name="get_user_agent"
|
1431
|
+
c:identifier="clutter_gst_video_texture_get_user_agent"
|
1432
|
+
version="1.2">
|
1433
|
+
<doc xml:whitespace="preserve">Retrieves the user agent used when streaming.</doc>
|
1434
|
+
<return-value transfer-ownership="full">
|
1435
|
+
<doc xml:whitespace="preserve">the user agent used. The returned string has to be freed with g_free()</doc>
|
1436
|
+
<type name="utf8" c:type="gchar*"/>
|
1437
|
+
</return-value>
|
1438
|
+
<parameters>
|
1439
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1440
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1441
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1442
|
+
</instance-parameter>
|
1443
|
+
</parameters>
|
1444
|
+
</method>
|
1445
|
+
<method name="set_audio_stream"
|
1446
|
+
c:identifier="clutter_gst_video_texture_set_audio_stream"
|
1447
|
+
version="1.4">
|
1448
|
+
<doc xml:whitespace="preserve">Set the audio stream to play. @index_ is the index of the stream
|
1449
|
+
in the list returned by clutter_gst_video_texture_get_audio_streams().</doc>
|
1450
|
+
<return-value transfer-ownership="none">
|
1451
|
+
<type name="none" c:type="void"/>
|
1452
|
+
</return-value>
|
1453
|
+
<parameters>
|
1454
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1455
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1456
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1457
|
+
</instance-parameter>
|
1458
|
+
<parameter name="index_" transfer-ownership="none">
|
1459
|
+
<doc xml:whitespace="preserve">the index of the audio stream</doc>
|
1460
|
+
<type name="gint" c:type="gint"/>
|
1461
|
+
</parameter>
|
1462
|
+
</parameters>
|
1463
|
+
</method>
|
1464
|
+
<method name="set_buffering_mode"
|
1465
|
+
c:identifier="clutter_gst_video_texture_set_buffering_mode"
|
1466
|
+
version="1.4">
|
1467
|
+
<return-value transfer-ownership="none">
|
1468
|
+
<type name="none" c:type="void"/>
|
1469
|
+
</return-value>
|
1470
|
+
<parameters>
|
1471
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1472
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1473
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1474
|
+
</instance-parameter>
|
1475
|
+
<parameter name="mode" transfer-ownership="none">
|
1476
|
+
<doc xml:whitespace="preserve">a #ClutterGstBufferingMode</doc>
|
1477
|
+
<type name="BufferingMode" c:type="ClutterGstBufferingMode"/>
|
1478
|
+
</parameter>
|
1479
|
+
</parameters>
|
1480
|
+
</method>
|
1481
|
+
<method name="set_idle_material"
|
1482
|
+
c:identifier="clutter_gst_video_texture_set_idle_material"
|
1483
|
+
version="1.2">
|
1484
|
+
<doc xml:whitespace="preserve">Sets a material to use to draw when no media is being played. The
|
1485
|
+
#ClutterGstVideoTexture holds a reference of the @material.
|
1486
|
+
|
1487
|
+
The default idle material will paint the #ClutterGstVideoTexture in black.
|
1488
|
+
If %COGL_INVALID_HANDLE is given as @material to this function, this
|
1489
|
+
default idle material will be used.</doc>
|
1490
|
+
<return-value transfer-ownership="none">
|
1491
|
+
<type name="none" c:type="void"/>
|
1492
|
+
</return-value>
|
1493
|
+
<parameters>
|
1494
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1495
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1496
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1497
|
+
</instance-parameter>
|
1498
|
+
<parameter name="material" transfer-ownership="none">
|
1499
|
+
<doc xml:whitespace="preserve">the handle of a Cogl material</doc>
|
1500
|
+
<type name="Cogl.Handle" c:type="CoglHandle"/>
|
1501
|
+
</parameter>
|
1502
|
+
</parameters>
|
1503
|
+
</method>
|
1504
|
+
<method name="set_seek_flags"
|
1505
|
+
c:identifier="clutter_gst_video_texture_set_seek_flags"
|
1506
|
+
version="1.4">
|
1507
|
+
<doc xml:whitespace="preserve">Seeking can be done with several trade-offs. Clutter-gst defaults
|
1508
|
+
to %CLUTTER_GST_SEEK_FLAG_NONE.</doc>
|
1509
|
+
<return-value transfer-ownership="none">
|
1510
|
+
<type name="none" c:type="void"/>
|
1511
|
+
</return-value>
|
1512
|
+
<parameters>
|
1513
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1514
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1515
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1516
|
+
</instance-parameter>
|
1517
|
+
<parameter name="flags" transfer-ownership="none">
|
1518
|
+
<doc xml:whitespace="preserve">a combination of #ClutterGstSeekFlags</doc>
|
1519
|
+
<type name="SeekFlags" c:type="ClutterGstSeekFlags"/>
|
1520
|
+
</parameter>
|
1521
|
+
</parameters>
|
1522
|
+
</method>
|
1523
|
+
<method name="set_subtitle_track"
|
1524
|
+
c:identifier="clutter_gst_video_texture_set_subtitle_track"
|
1525
|
+
version="1.4">
|
1526
|
+
<doc xml:whitespace="preserve">Set the subtitles track to play. @index_ is the index of the stream
|
1527
|
+
in the list returned by clutter_gst_video_texture_get_subtitle_tracks().
|
1528
|
+
|
1529
|
+
If @index_ is -1, the subtitles are turned off.</doc>
|
1530
|
+
<return-value transfer-ownership="none">
|
1531
|
+
<type name="none" c:type="void"/>
|
1532
|
+
</return-value>
|
1533
|
+
<parameters>
|
1534
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1535
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1536
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1537
|
+
</instance-parameter>
|
1538
|
+
<parameter name="index_" transfer-ownership="none">
|
1539
|
+
<doc xml:whitespace="preserve">the index of the subtitles track</doc>
|
1540
|
+
<type name="gint" c:type="gint"/>
|
1541
|
+
</parameter>
|
1542
|
+
</parameters>
|
1543
|
+
</method>
|
1544
|
+
<method name="set_user_agent"
|
1545
|
+
c:identifier="clutter_gst_video_texture_set_user_agent"
|
1546
|
+
version="1.2">
|
1547
|
+
<doc xml:whitespace="preserve">Sets the user agent to use when streaming.
|
1548
|
+
|
1549
|
+
When streaming content, you might want to set a custom user agent, eg. to
|
1550
|
+
promote your software, make it appear in statistics or because the server
|
1551
|
+
requires a special user agent you want to impersonate.</doc>
|
1552
|
+
<return-value transfer-ownership="none">
|
1553
|
+
<type name="none" c:type="void"/>
|
1554
|
+
</return-value>
|
1555
|
+
<parameters>
|
1556
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
1557
|
+
<doc xml:whitespace="preserve">a #ClutterGstVideoTexture</doc>
|
1558
|
+
<type name="VideoTexture" c:type="ClutterGstVideoTexture*"/>
|
1559
|
+
</instance-parameter>
|
1560
|
+
<parameter name="user_agent" transfer-ownership="none">
|
1561
|
+
<doc xml:whitespace="preserve">the user agent</doc>
|
1562
|
+
<type name="utf8" c:type="const gchar*"/>
|
1563
|
+
</parameter>
|
1564
|
+
</parameters>
|
1565
|
+
</method>
|
1566
|
+
<property name="idle-material"
|
1567
|
+
introspectable="0"
|
1568
|
+
writable="1"
|
1569
|
+
transfer-ownership="none">
|
1570
|
+
<type/>
|
1571
|
+
</property>
|
1572
|
+
<property name="pixel-aspect-ratio"
|
1573
|
+
writable="1"
|
1574
|
+
transfer-ownership="none">
|
1575
|
+
<type name="Gst.Fraction"/>
|
1576
|
+
</property>
|
1577
|
+
<field name="parent" readable="0" private="1">
|
1578
|
+
<type name="Clutter.Texture" c:type="ClutterTexture"/>
|
1579
|
+
</field>
|
1580
|
+
<field name="priv" readable="0" private="1">
|
1581
|
+
<type name="VideoTexturePrivate"
|
1582
|
+
c:type="ClutterGstVideoTexturePrivate*"/>
|
1583
|
+
</field>
|
1584
|
+
</class>
|
1585
|
+
<record name="VideoTextureClass"
|
1586
|
+
c:type="ClutterGstVideoTextureClass"
|
1587
|
+
glib:is-gtype-struct-for="VideoTexture">
|
1588
|
+
<doc xml:whitespace="preserve">Base class for #ClutterGstVideoTexture.</doc>
|
1589
|
+
<field name="parent_class" readable="0" private="1">
|
1590
|
+
<type name="Clutter.TextureClass" c:type="ClutterTextureClass"/>
|
1591
|
+
</field>
|
1592
|
+
<field name="_clutter_reserved1" introspectable="0">
|
1593
|
+
<callback name="_clutter_reserved1">
|
1594
|
+
<return-value transfer-ownership="none">
|
1595
|
+
<type name="none" c:type="void"/>
|
1596
|
+
</return-value>
|
1597
|
+
</callback>
|
1598
|
+
</field>
|
1599
|
+
<field name="_clutter_reserved2" introspectable="0">
|
1600
|
+
<callback name="_clutter_reserved2">
|
1601
|
+
<return-value transfer-ownership="none">
|
1602
|
+
<type name="none" c:type="void"/>
|
1603
|
+
</return-value>
|
1604
|
+
</callback>
|
1605
|
+
</field>
|
1606
|
+
<field name="_clutter_reserved3" introspectable="0">
|
1607
|
+
<callback name="_clutter_reserved3">
|
1608
|
+
<return-value transfer-ownership="none">
|
1609
|
+
<type name="none" c:type="void"/>
|
1610
|
+
</return-value>
|
1611
|
+
</callback>
|
1612
|
+
</field>
|
1613
|
+
<field name="_clutter_reserved4" introspectable="0">
|
1614
|
+
<callback name="_clutter_reserved4">
|
1615
|
+
<return-value transfer-ownership="none">
|
1616
|
+
<type name="none" c:type="void"/>
|
1617
|
+
</return-value>
|
1618
|
+
</callback>
|
1619
|
+
</field>
|
1620
|
+
<field name="_clutter_reserved5" introspectable="0">
|
1621
|
+
<callback name="_clutter_reserved5">
|
1622
|
+
<return-value transfer-ownership="none">
|
1623
|
+
<type name="none" c:type="void"/>
|
1624
|
+
</return-value>
|
1625
|
+
</callback>
|
1626
|
+
</field>
|
1627
|
+
<field name="_clutter_reserved6" introspectable="0">
|
1628
|
+
<callback name="_clutter_reserved6">
|
1629
|
+
<return-value transfer-ownership="none">
|
1630
|
+
<type name="none" c:type="void"/>
|
1631
|
+
</return-value>
|
1632
|
+
</callback>
|
1633
|
+
</field>
|
1634
|
+
</record>
|
1635
|
+
<record name="VideoTexturePrivate"
|
1636
|
+
c:type="ClutterGstVideoTexturePrivate"
|
1637
|
+
disguised="1">
|
1638
|
+
</record>
|
1639
|
+
<function name="init" c:identifier="clutter_gst_init">
|
1640
|
+
<doc xml:whitespace="preserve">Utility function to initialize both Clutter and GStreamer.
|
1641
|
+
|
1642
|
+
This function should be called before calling any other GLib functions. If
|
1643
|
+
this is not an option, your program must initialise the GLib thread system
|
1644
|
+
using g_thread_init() before any other GLib functions are called.</doc>
|
1645
|
+
<return-value transfer-ownership="none">
|
1646
|
+
<doc xml:whitespace="preserve">A #ClutterInitError.</doc>
|
1647
|
+
<type name="Clutter.InitError" c:type="ClutterInitError"/>
|
1648
|
+
</return-value>
|
1649
|
+
<parameters>
|
1650
|
+
<parameter name="argc"
|
1651
|
+
direction="inout"
|
1652
|
+
caller-allocates="0"
|
1653
|
+
transfer-ownership="full">
|
1654
|
+
<doc xml:whitespace="preserve">The number of arguments in @argv</doc>
|
1655
|
+
<type name="gint" c:type="int*"/>
|
1656
|
+
</parameter>
|
1657
|
+
<parameter name="argv"
|
1658
|
+
direction="inout"
|
1659
|
+
caller-allocates="0"
|
1660
|
+
transfer-ownership="full"
|
1661
|
+
allow-none="1">
|
1662
|
+
<doc xml:whitespace="preserve">A pointer to an array</doc>
|
1663
|
+
<array length="0" zero-terminated="0" c:type="char***">
|
1664
|
+
<type name="utf8" c:type="char**"/>
|
1665
|
+
</array>
|
1666
|
+
</parameter>
|
1667
|
+
</parameters>
|
1668
|
+
</function>
|
1669
|
+
<function name="init_with_args"
|
1670
|
+
c:identifier="clutter_gst_init_with_args"
|
1671
|
+
version="1.0"
|
1672
|
+
throws="1">
|
1673
|
+
<doc xml:whitespace="preserve">This function does the same work as clutter_gst_init(). Additionally, it
|
1674
|
+
allows you to add your own command line options, and it automatically
|
1675
|
+
generates nicely formatted --help output. Clutter's and GStreamer's
|
1676
|
+
#GOptionGroup<!-- -->s are added to the set of available options.
|
1677
|
+
|
1678
|
+
Your program must initialise the GLib thread system using g_thread_init()
|
1679
|
+
before any other GLib functions are called.</doc>
|
1680
|
+
<return-value transfer-ownership="none">
|
1681
|
+
<doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer on failure.</doc>
|
1682
|
+
<type name="Clutter.InitError" c:type="ClutterInitError"/>
|
1683
|
+
</return-value>
|
1684
|
+
<parameters>
|
1685
|
+
<parameter name="argc"
|
1686
|
+
direction="inout"
|
1687
|
+
caller-allocates="0"
|
1688
|
+
transfer-ownership="full">
|
1689
|
+
<doc xml:whitespace="preserve">The number of arguments in @argv</doc>
|
1690
|
+
<type name="gint" c:type="int*"/>
|
1691
|
+
</parameter>
|
1692
|
+
<parameter name="argv"
|
1693
|
+
direction="inout"
|
1694
|
+
caller-allocates="0"
|
1695
|
+
transfer-ownership="full"
|
1696
|
+
allow-none="1">
|
1697
|
+
<doc xml:whitespace="preserve">A pointer to an array</doc>
|
1698
|
+
<array length="0" zero-terminated="0" c:type="char***">
|
1699
|
+
<type name="utf8" c:type="char**"/>
|
1700
|
+
</array>
|
1701
|
+
</parameter>
|
1702
|
+
<parameter name="parameter_string" transfer-ownership="none">
|
1703
|
+
<doc xml:whitespace="preserve">a string which is displayed in the first line of <option>--help</option> output, after <literal><replaceable>programname</replaceable> [OPTION...]</literal></doc>
|
1704
|
+
<type name="utf8" c:type="const char*"/>
|
1705
|
+
</parameter>
|
1706
|
+
<parameter name="entries" transfer-ownership="none">
|
1707
|
+
<doc xml:whitespace="preserve">a %NULL-terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
|
1708
|
+
<type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
|
1709
|
+
</parameter>
|
1710
|
+
<parameter name="translation_domain" transfer-ownership="none">
|
1711
|
+
<doc xml:whitespace="preserve">a translation domain to use for translating the <option>--help</option> output for the options in @entries with gettext(), or %NULL</doc>
|
1712
|
+
<type name="utf8" c:type="const char*"/>
|
1713
|
+
</parameter>
|
1714
|
+
</parameters>
|
1715
|
+
</function>
|
1716
|
+
<function name="player_class_init"
|
1717
|
+
c:identifier="clutter_gst_player_class_init"
|
1718
|
+
moved-to="Player.class_init"
|
1719
|
+
version="1.4">
|
1720
|
+
<doc xml:whitespace="preserve">Adds the #ClutterGstPlayer properties to a class and surchages the
|
1721
|
+
set/get_property of #GObjectClass. You should call this
|
1722
|
+
function at the end of the class_init method of the class
|
1723
|
+
implementing #ClutterGstPlayer.</doc>
|
1724
|
+
<return-value transfer-ownership="none">
|
1725
|
+
<type name="none" c:type="void"/>
|
1726
|
+
</return-value>
|
1727
|
+
<parameters>
|
1728
|
+
<parameter name="object_class" transfer-ownership="none">
|
1729
|
+
<doc xml:whitespace="preserve">a #GObjectClass</doc>
|
1730
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
|
1731
|
+
</parameter>
|
1732
|
+
</parameters>
|
1733
|
+
</function>
|
1734
|
+
</namespace>
|
1735
|
+
</repository>
|