4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>BaconVideoWidget</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="Totem Reference Manual">
8
8
<link rel="up" href="core-api.html" title="Core API">
9
9
<link rel="prev" href="totem-TotemPlugin.html" title="TotemPlugin">
10
<link rel="next" href="widget-api.html" title="Widgets">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
10
<link rel="next" href="api-index-full.html" title="Index of all symbols">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
18
<td><a accesskey="u" href="core-api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
20
<th width="100%" align="center">Totem Reference Manual</th>
21
<td><a accesskey="n" href="widget-api.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
23
<tr><td colspan="5" class="shortcuts">
24
24
<a href="#BaconVideoWidget.synopsis" class="shortcut">Top</a>
56
56
<a class="link" href="BaconVideoWidget.html#BaconVideoWidgetClass" title="BaconVideoWidgetClass">BaconVideoWidgetClass</a>;
57
57
enum <a class="link" href="BaconVideoWidget.html#BvwAspectRatio" title="enum BvwAspectRatio">BvwAspectRatio</a>;
58
58
enum <a class="link" href="BaconVideoWidget.html#BvwAudioOutputType" title="enum BvwAudioOutputType">BvwAudioOutputType</a>;
59
enum <a class="link" href="BaconVideoWidget.html#BvwConnectionSpeed" title="enum BvwConnectionSpeed">BvwConnectionSpeed</a>;
60
59
enum <a class="link" href="BaconVideoWidget.html#BvwDVDEvent" title="enum BvwDVDEvent">BvwDVDEvent</a>;
61
60
enum <a class="link" href="BaconVideoWidget.html#BvwMetadataType" title="enum BvwMetadataType">BvwMetadataType</a>;
61
enum <a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation">BvwRotation</a>;
62
62
enum <a class="link" href="BaconVideoWidget.html#BvwVisualizationQuality" title="enum BvwVisualizationQuality">BvwVisualizationQuality</a>;
63
63
enum <a class="link" href="BaconVideoWidget.html#BvwVideoProperty" title="enum BvwVideoProperty">BvwVideoProperty</a>;
64
64
enum <a class="link" href="BaconVideoWidget.html#BvwZoomMode" title="enum BvwZoomMode">BvwZoomMode</a>;
65
65
enum <a class="link" href="BaconVideoWidget.html#BvwError" title="enum BvwError">BvwError</a>;
66
<a href="http://developer.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="BaconVideoWidget.html#bacon-video-widget-new" title="bacon_video_widget_new ()">bacon_video_widget_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
66
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="BaconVideoWidget.html#bacon-video-widget-new" title="bacon_video_widget_new ()">bacon_video_widget_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
67
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-open" title="bacon_video_widget_open ()">bacon_video_widget_open</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
68
68
<em class="parameter"><code>const <span class="type">char</span> *mrl</code></em>,
69
<em class="parameter"><code>const <span class="type">char</span> *subtitle_uri</code></em>,
70
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
71
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-play" title="bacon_video_widget_play ()">bacon_video_widget_play</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
72
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
98
97
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-auto-resize" title="bacon_video_widget_get_auto_resize ()">bacon_video_widget_get_auto_resize</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
99
98
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-auto-resize" title="bacon_video_widget_set_auto_resize ()">bacon_video_widget_set_auto_resize</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
100
99
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_resize</code></em>);
101
<span class="returnvalue">char</span> * <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-backend-name" title="bacon_video_widget_get_backend_name ()">bacon_video_widget_get_backend_name</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
102
<span class="returnvalue">int</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-connection-speed" title="bacon_video_widget_get_connection_speed ()">bacon_video_widget_get_connection_speed</a>
103
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
104
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-connection-speed" title="bacon_video_widget_set_connection_speed ()">bacon_video_widget_set_connection_speed</a>
105
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
106
<em class="parameter"><code><span class="type">int</span> speed</code></em>);
107
100
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-current-frame" title="bacon_video_widget_get_current_frame ()">bacon_video_widget_get_current_frame</a>
108
101
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
109
102
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-current-time" title="bacon_video_widget_get_current_time ()">bacon_video_widget_get_current_time</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
126
119
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-metadata" title="bacon_video_widget_get_metadata ()">bacon_video_widget_get_metadata</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
127
120
<em class="parameter"><code><a class="link" href="BaconVideoWidget.html#BvwMetadataType" title="enum BvwMetadataType"><span class="type">BvwMetadataType</span></a> type</code></em>,
128
121
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);
129
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-mrls" title="bacon_video_widget_get_mrls ()">bacon_video_widget_get_mrls</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
130
<em class="parameter"><code><a href="http://library.gnome.org/devel/totem-pl-parser/totem-pl-parser-TotemDisc.html#TotemDiscMediaType"><span class="type">TotemDiscMediaType</span></a> type</code></em>,
131
<em class="parameter"><code>const <span class="type">char</span> *device</code></em>,
132
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
133
122
<a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="returnvalue">GOptionGroup</span></a> * <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-option-group" title="bacon_video_widget_get_option_group ()">bacon_video_widget_get_option_group</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
134
123
<span class="returnvalue">double</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-position" title="bacon_video_widget_get_position ()">bacon_video_widget_get_position</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
135
124
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-referrer" title="bacon_video_widget_set_referrer ()">bacon_video_widget_set_referrer</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
136
125
<em class="parameter"><code>const <span class="type">char</span> *referrer</code></em>);
126
<a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation"><span class="returnvalue">BvwRotation</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-rotation" title="bacon_video_widget_get_rotation ()">bacon_video_widget_get_rotation</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
127
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-rotation" title="bacon_video_widget_set_rotation ()">bacon_video_widget_set_rotation</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
128
<em class="parameter"><code><a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation"><span class="type">BvwRotation</span></a> rotation</code></em>);
137
129
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-scale-ratio" title="bacon_video_widget_set_scale_ratio ()">bacon_video_widget_set_scale_ratio</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
138
130
<em class="parameter"><code><span class="type">float</span> ratio</code></em>);
139
131
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-show-cursor" title="bacon_video_widget_get_show_cursor ()">bacon_video_widget_get_show_cursor</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
148
140
<span class="returnvalue">int</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-subtitle" title="bacon_video_widget_get_subtitle ()">bacon_video_widget_get_subtitle</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
149
141
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-subtitle" title="bacon_video_widget_set_subtitle ()">bacon_video_widget_set_subtitle</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
150
142
<em class="parameter"><code><span class="type">int</span> subtitle</code></em>);
143
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-text-subtitle" title="bacon_video_widget_set_text_subtitle ()">bacon_video_widget_set_text_subtitle</a>
144
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
145
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *subtitle_uri</code></em>);
151
146
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-subtitle-encoding" title="bacon_video_widget_set_subtitle_encoding ()">bacon_video_widget_set_subtitle_encoding</a>
152
147
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
153
148
<em class="parameter"><code>const <span class="type">char</span> *encoding</code></em>);
184
179
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
185
180
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-is-playing" title="bacon_video_widget_is_playing ()">bacon_video_widget_is_playing</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
186
181
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-is-seekable" title="bacon_video_widget_is_seekable ()">bacon_video_widget_is_seekable</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
182
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-rate" title="bacon_video_widget_get_rate ()">bacon_video_widget_get_rate</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);
183
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-rate" title="bacon_video_widget_set_rate ()">bacon_video_widget_set_rate</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
184
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> new_rate</code></em>);
185
<span class="returnvalue">void</span> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-popup-osd" title="bacon_video_widget_popup_osd ()">bacon_video_widget_popup_osd</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
186
<em class="parameter"><code>const <span class="type">char</span> *icon_name</code></em>);
187
187
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="BaconVideoWidget.html#bacon-video-widget-step" title="bacon_video_widget_step ()">bacon_video_widget_step</a> (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
188
188
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> forward</code></em>,
189
189
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
194
194
<pre class="synopsis">
195
195
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
196
196
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
197
+----<a href="http://developer.gnome.org/devel/gtk/GtkWidget.html">GtkWidget</a>
198
+----<a href="http://developer.gnome.org/devel/gtk/GtkContainer.html">GtkContainer</a>
199
+----<a href="/usr/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterEmbed.html">GtkClutterEmbed</a>
197
+----<a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
198
+----<a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
200
200
+----BaconVideoWidget
204
204
<a name="BaconVideoWidget.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
206
206
BaconVideoWidget implements
207
AtkImplementorIface, <a href="http://developer.gnome.org/devel/gtk/GtkBuildable.html">GtkBuildable</a> and <a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>.</p>
207
AtkImplementorIface, <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a> and <a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>.</p>
209
209
<div class="refsect1">
210
210
<a name="BaconVideoWidget.properties"></a><h2>Properties</h2>
211
211
<pre class="synopsis">
212
212
"<a class="link" href="BaconVideoWidget.html#BaconVideoWidget--audio-output-type" title='The "audio-output-type" property'>audio-output-type</a>" <a class="link" href="BaconVideoWidget.html#BvwAudioOutputType" title="enum BvwAudioOutputType"><span class="type">BvwAudioOutputType</span></a> : Read / Write
213
213
"<a class="link" href="BaconVideoWidget.html#BaconVideoWidget--auto-resize" title='The "auto-resize" property'>auto-resize</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
214
"<a class="link" href="BaconVideoWidget.html#BaconVideoWidget--av-offset" title='The "av-offset" property'>av-offset</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write
214
215
"<a class="link" href="BaconVideoWidget.html#BaconVideoWidget--brightness" title='The "brightness" property'>brightness</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
215
216
"<a class="link" href="BaconVideoWidget.html#BaconVideoWidget--contrast" title='The "contrast" property'>contrast</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
216
217
"<a class="link" href="BaconVideoWidget.html#BaconVideoWidget--deinterlacing" title='The "deinterlacing" property'>deinterlacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
286
287
The pixel aspect ratios available in which to display videos using
287
288
<em class="parameter"><code><a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-aspect-ratio" title="bacon_video_widget_set_aspect_ratio ()"><code class="function">bacon_video_widget_set_aspect_ratio()</code></a></code></em>.
289
<div class="variablelist"><table border="0">
290
<div class="variablelist"><table border="0" class="variablelist">
290
292
<col align="left" valign="top">
293
297
<td><p><a name="BVW-RATIO-AUTO:CAPS"></a><span class="term"><code class="literal">BVW_RATIO_AUTO</code></span></p></td>
333
337
The audio output types available for use with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-audio-output-type" title="bacon_video_widget_set_audio_output_type ()"><code class="function">bacon_video_widget_set_audio_output_type()</code></a>.
335
<div class="variablelist"><table border="0">
339
<div class="variablelist"><table border="0" class="variablelist">
336
341
<col align="left" valign="top">
339
346
<td><p><a name="BVW-AUDIO-SOUND-STEREO:CAPS"></a><span class="term"><code class="literal">BVW_AUDIO_SOUND_STEREO</code></span></p></td>
372
379
<div class="refsect2">
373
<a name="BvwConnectionSpeed"></a><h3>enum BvwConnectionSpeed</h3>
374
<pre class="programlisting">typedef enum {
375
BVW_SPEED_14_4_MODEM = 0,
376
BVW_SPEED_19_2_MODEM,
377
BVW_SPEED_28_8_MODEM,
378
BVW_SPEED_33_6_MODEM,
379
BVW_SPEED_34_4_MODEM,
387
} BvwConnectionSpeed;
390
The different connection speeds understood by <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-connection-speed" title="bacon_video_widget_set_connection_speed ()"><code class="function">bacon_video_widget_set_connection_speed()</code></a>.
392
<div class="variablelist"><table border="0">
393
<col align="left" valign="top">
396
<td><p><a name="BVW-SPEED-14-4-MODEM:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_14_4_MODEM</code></span></p></td>
401
<td><p><a name="BVW-SPEED-19-2-MODEM:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_19_2_MODEM</code></span></p></td>
406
<td><p><a name="BVW-SPEED-28-8-MODEM:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_28_8_MODEM</code></span></p></td>
411
<td><p><a name="BVW-SPEED-33-6-MODEM:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_33_6_MODEM</code></span></p></td>
416
<td><p><a name="BVW-SPEED-34-4-MODEM:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_34_4_MODEM</code></span></p></td>
421
<td><p><a name="BVW-SPEED-56-ISDN:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_56_ISDN</code></span></p></td>
422
<td>56 Kbps Modem/ISDN
426
<td><p><a name="BVW-SPEED-112-ISDN:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_112_ISDN</code></span></p></td>
427
<td>112 Kbps Dual ISDN/DSL
431
<td><p><a name="BVW-SPEED-256-DSL:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_256_DSL</code></span></p></td>
432
<td>256 Kbps DSL/Cable
436
<td><p><a name="BVW-SPEED-384-DSL:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_384_DSL</code></span></p></td>
437
<td>384 Kbps DSL/Cable
441
<td><p><a name="BVW-SPEED-512-DSL:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_512_DSL</code></span></p></td>
442
<td>512 Kbps DSL/Cable
446
<td><p><a name="BVW-SPEED-1500-T1:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_1500_T1</code></span></p></td>
447
<td>1.5 Mbps T1/Intranet/LAN
451
<td><p><a name="BVW-SPEED-LAN:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_LAN</code></span></p></td>
459
<div class="refsect2">
460
380
<a name="BvwDVDEvent"></a><h3>enum BvwDVDEvent</h3>
461
381
<pre class="programlisting">typedef enum {
462
382
BVW_DVD_ROOT_MENU,
480
400
The DVD navigation actions available to fire as DVD events to
481
401
the <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>.
483
<div class="variablelist"><table border="0">
403
<div class="variablelist"><table border="0" class="variablelist">
484
405
<col align="left" valign="top">
487
410
<td><p><a name="BVW-DVD-ROOT-MENU:CAPS"></a><span class="term"><code class="literal">BVW_DVD_ROOT_MENU</code></span></p></td>
593
516
The different metadata available for querying from a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
594
517
stream with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-metadata" title="bacon_video_widget_get_metadata ()"><code class="function">bacon_video_widget_get_metadata()</code></a>.
596
<div class="variablelist"><table border="0">
519
<div class="variablelist"><table border="0" class="variablelist">
597
521
<col align="left" valign="top">
600
526
<td><p><a name="BVW-INFO-TITLE:CAPS"></a><span class="term"><code class="literal">BVW_INFO_TITLE</code></span></p></td>
703
629
<div class="refsect2">
630
<a name="BvwRotation"></a><h3>enum BvwRotation</h3>
631
<pre class="programlisting">typedef enum {
632
BVW_ROTATION_R_ZERO = 0,
633
BVW_ROTATION_R_90R = 1,
634
BVW_ROTATION_R_180 = 2,
635
BVW_ROTATION_R_90L = 3
639
The rotation is used by the video widget, as set by
640
<a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-rotation" title="bacon_video_widget_set_rotation ()"><code class="function">bacon_video_widget_set_rotation()</code></a>.
642
<div class="variablelist"><table border="0" class="variablelist">
644
<col align="left" valign="top">
649
<td><p><a name="BVW-ROTATION-R-ZERO:CAPS"></a><span class="term"><code class="literal">BVW_ROTATION_R_ZERO</code></span></p></td>
654
<td><p><a name="BVW-ROTATION-R-90R:CAPS"></a><span class="term"><code class="literal">BVW_ROTATION_R_90R</code></span></p></td>
655
<td>Rotate 90 degrees to the right
659
<td><p><a name="BVW-ROTATION-R-180:CAPS"></a><span class="term"><code class="literal">BVW_ROTATION_R_180</code></span></p></td>
660
<td>Rotate 180 degrees
664
<td><p><a name="BVW-ROTATION-R-90L:CAPS"></a><span class="term"><code class="literal">BVW_ROTATION_R_90L</code></span></p></td>
665
<td>Rotate 90 degrees to the left
672
<div class="refsect2">
704
673
<a name="BvwVisualizationQuality"></a><h3>enum BvwVisualizationQuality</h3>
705
674
<pre class="programlisting">typedef enum {
706
675
BVW_VISUALIZATION_SMALL = 0,
713
682
The different visualisation sizes or qualities available for use
714
683
with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-visualization-quality" title="bacon_video_widget_set_visualization_quality ()"><code class="function">bacon_video_widget_set_visualization_quality()</code></a>.
716
<div class="variablelist"><table border="0">
685
<div class="variablelist"><table border="0" class="variablelist">
717
687
<col align="left" valign="top">
720
692
<td><p><a name="BVW-VISUALIZATION-SMALL:CAPS"></a><span class="term"><code class="literal">BVW_VISUALIZATION_SMALL</code></span></p></td>
753
725
The video properties queryable with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-video-property" title="bacon_video_widget_get_video_property ()"><code class="function">bacon_video_widget_get_video_property()</code></a>,
754
726
and settable with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-video-property" title="bacon_video_widget_set_video_property ()"><code class="function">bacon_video_widget_set_video_property()</code></a>.
756
<div class="variablelist"><table border="0">
728
<div class="variablelist"><table border="0" class="variablelist">
757
730
<col align="left" valign="top">
760
735
<td><p><a name="BVW-VIDEO-BRIGHTNESS:CAPS"></a><span class="term"><code class="literal">BVW_VIDEO_BRIGHTNESS</code></span></p></td>
791
766
The zoom mode used by the video widget, as set by
792
767
<a class="link" href="BaconVideoWidget.html#bacon-video-widget-set-zoom" title="bacon_video_widget_set_zoom ()"><code class="function">bacon_video_widget_set_zoom()</code></a>.
794
<div class="variablelist"><table border="0">
769
<div class="variablelist"><table border="0" class="variablelist">
795
771
<col align="left" valign="top">
798
776
<td><p><a name="BVW-ZOOM-NONE:CAPS"></a><span class="term"><code class="literal">BVW_ZOOM_NONE</code></span></p></td>
845
818
Error codes for <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> operations.
847
<div class="variablelist"><table border="0">
820
<div class="variablelist"><table border="0" class="variablelist">
848
822
<col align="left" valign="top">
851
<td><p><a name="BVW-ERROR-AUDIO-PLUGIN:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_AUDIO_PLUGIN</code></span></p></td>
852
<td>Error loading audio output plugin or device.
856
827
<td><p><a name="BVW-ERROR-NO-PLUGIN-FOR-FILE:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_NO_PLUGIN_FOR_FILE</code></span></p></td>
857
<td>A required GStreamer plugin or xine feature is missing.
861
<td><p><a name="BVW-ERROR-VIDEO-PLUGIN:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_VIDEO_PLUGIN</code></span></p></td>
862
<td>Error loading video output plugin or device.
866
<td><p><a name="BVW-ERROR-AUDIO-BUSY:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_AUDIO_BUSY</code></span></p></td>
867
<td>Audio output device is busy.
828
<td>A required GStreamer plugin is missing.
969
920
<div class="refsect2">
970
921
<a name="bacon-video-widget-new"></a><h3>bacon_video_widget_new ()</h3>
971
<pre class="programlisting"><a href="http://developer.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * bacon_video_widget_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
922
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * bacon_video_widget_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
973
924
Creates a new <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>.
976
<em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em> give the initial or expected video height. Set them to <code class="code">-1</code> if the
977
video size is unknown. For small videos, <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> will be configured differently.
980
927
A <a class="link" href="BaconVideoWidget.html#BvwError" title="enum BvwError"><span class="type">BvwError</span></a> will be returned on error.
982
<div class="variablelist"><table border="0">
929
<div class="variablelist"><table border="0" class="variablelist">
983
931
<col align="left" valign="top">
986
936
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
991
941
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
992
<td>a new <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; destroy with <a href="http://developer.gnome.org/devel/gtk/GtkWidget.html#gtk-widget-destroy"><code class="function">gtk_widget_destroy()</code></a>
942
<td>a new <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; destroy with <a href="http://developer.gnome.org/gtk2/GtkWidget.html#gtk-widget-destroy"><code class="function">gtk_widget_destroy()</code></a>
1000
950
<a name="bacon-video-widget-open"></a><h3>bacon_video_widget_open ()</h3>
1001
951
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> bacon_video_widget_open (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
1002
952
<em class="parameter"><code>const <span class="type">char</span> *mrl</code></em>,
1003
<em class="parameter"><code>const <span class="type">char</span> *subtitle_uri</code></em>,
1004
953
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1006
Opens the given <em class="parameter"><code>mrl</code></em> in <em class="parameter"><code>bvw</code></em> for playing. If <em class="parameter"><code>subtitle_uri</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the given
1007
subtitle file is also loaded. Alternatively, the subtitle URI can be passed in <em class="parameter"><code>mrl</code></em>
1008
by adding it after <code class="literal"><span class="type">subtitle</span>:</code>. For example:
1009
<code class="literal">http://example.com/video.mpg<span class="type">subtitle</span>:/home/user/subtitle.ass</code>.
955
Opens the given <em class="parameter"><code>mrl</code></em> in <em class="parameter"><code>bvw</code></em> for playing.
1012
958
If there was a filesystem error, a <a class="link" href="BaconVideoWidget.html#BVW-ERROR-GENERIC:CAPS"><code class="literal">BVW_ERROR_GENERIC</code></a> error will be returned. Otherwise,
1016
962
On success, the MRL is loaded and waiting to be played with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-play" title="bacon_video_widget_play ()"><code class="function">bacon_video_widget_play()</code></a>.
1018
<div class="variablelist"><table border="0">
964
<div class="variablelist"><table border="0" class="variablelist">
1019
966
<col align="left" valign="top">
1022
971
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1031
<td><p><span class="term"><em class="parameter"><code>subtitle_uri</code></em> :</span></p></td>
1032
<td>the URI of a subtitle file, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1036
980
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1037
981
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1057
1001
Errors from the GStreamer backend will be returned asynchronously via the
1058
1002
<a class="link" href="BaconVideoWidget.html#BaconVideoWidget-error" title='The "error" signal'><span class="type">"error"</span></a> signal, even if this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1060
<div class="variablelist"><table border="0">
1004
<div class="variablelist"><table border="0" class="variablelist">
1061
1006
<col align="left" valign="top">
1064
1011
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1089
1036
If a live stream is being played, playback is stopped entirely.
1091
<div class="variablelist"><table border="0">
1038
<div class="variablelist"><table border="0" class="variablelist">
1092
1040
<col align="left" valign="top">
1094
1044
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1095
1045
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1179
1135
Stops playing the current stream and resets to the first position in the stream.
1181
<div class="variablelist"><table border="0">
1137
<div class="variablelist"><table border="0" class="variablelist">
1182
1139
<col align="left" valign="top">
1184
1143
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1185
1144
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1195
1154
Closes the current stream and frees the resources associated with it.
1197
<div class="variablelist"><table border="0">
1156
<div class="variablelist"><table border="0" class="variablelist">
1198
1158
<col align="left" valign="top">
1200
1162
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1201
1163
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1271
1239
The volume cannot be set if the audio output type is set to
1272
1240
<a class="link" href="BaconVideoWidget.html#BVW-AUDIO-SOUND-AC3PASSTHRU:CAPS"><code class="literal">BVW_AUDIO_SOUND_AC3PASSTHRU</code></a>.
1274
<div class="variablelist"><table border="0">
1242
<div class="variablelist"><table border="0" class="variablelist">
1275
1244
<col align="left" valign="top">
1278
1249
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1346
1323
Returns the current aspect ratio used by the widget, from
1347
1324
<a class="link" href="BaconVideoWidget.html#BvwAspectRatio" title="enum BvwAspectRatio"><span class="type">BvwAspectRatio</span></a>.
1349
<div class="variablelist"><table border="0">
1326
<div class="variablelist"><table border="0" class="variablelist">
1350
1328
<col align="left" valign="top">
1353
1333
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1396
1379
Returns the current audio output type (e.g. how many speaker channels)
1397
1380
from <a class="link" href="BaconVideoWidget.html#BvwAudioOutputType" title="enum BvwAudioOutputType"><span class="type">BvwAudioOutputType</span></a>.
1399
<div class="variablelist"><table border="0">
1382
<div class="variablelist"><table border="0" class="variablelist">
1400
1384
<col align="left" valign="top">
1403
1389
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1489
1484
<div class="refsect2">
1490
<a name="bacon-video-widget-get-backend-name"></a><h3>bacon_video_widget_get_backend_name ()</h3>
1491
<pre class="programlisting"><span class="returnvalue">char</span> * bacon_video_widget_get_backend_name (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);</pre>
1493
Returns the name string for <em class="parameter"><code>bvw</code></em>. For the GStreamer backend, it is the output
1494
of <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-Gst.html#gst-version-string"><code class="function">gst_version_string()</code></a>. *
1496
<div class="variablelist"><table border="0">
1497
<col align="left" valign="top">
1500
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1501
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1505
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1506
<td>the backend's name; free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
1513
<div class="refsect2">
1514
<a name="bacon-video-widget-get-connection-speed"></a><h3>bacon_video_widget_get_connection_speed ()</h3>
1515
<pre class="programlisting"><span class="returnvalue">int</span> bacon_video_widget_get_connection_speed
1516
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);</pre>
1518
Returns the current connection speed, where <code class="code">0</code> is the lowest speed
1519
and <code class="code">11</code> is the highest.
1521
<div class="variablelist"><table border="0">
1522
<col align="left" valign="top">
1525
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1526
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1530
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1531
<td>the connection speed index</td>
1537
<div class="refsect2">
1538
<a name="bacon-video-widget-set-connection-speed"></a><h3>bacon_video_widget_set_connection_speed ()</h3>
1539
<pre class="programlisting"><span class="returnvalue">void</span> bacon_video_widget_set_connection_speed
1540
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
1541
<em class="parameter"><code><span class="type">int</span> speed</code></em>);</pre>
1543
Sets the connection speed from the given <em class="parameter"><code>speed</code></em> index, where <code class="code">0</code> is the lowest speed
1544
and <code class="code">11</code> is the highest.
1546
<div class="variablelist"><table border="0">
1547
<col align="left" valign="top">
1550
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1551
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1555
<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td>
1556
<td>the connection speed index</td>
1562
<div class="refsect2">
1563
1485
<a name="bacon-video-widget-get-current-frame"></a><h3>bacon_video_widget_get_current_frame ()</h3>
1564
1486
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * bacon_video_widget_get_current_frame
1565
1487
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);</pre>
1592
1517
Returns the current position in the stream, as the time (in milliseconds)
1593
1518
since the beginning of the stream.
1595
<div class="variablelist"><table border="0">
1520
<div class="variablelist"><table border="0" class="variablelist">
1596
1522
<col align="left" valign="top">
1599
1527
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1689
1626
Returns a list of audio language tags, each in the form <code class="literal">AUDIO <em class="replaceable"><code>x</code></em></code>,
1690
1627
where <em class="replaceable"><code>x</code></em> is the language index.
1692
<div class="variablelist"><table border="0">
1629
<div class="variablelist"><table border="0" class="variablelist">
1693
1631
<col align="left" valign="top">
1696
1636
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1716
1656
If the widget is not playing, or the default language is in use, <code class="code">-1</code> will be returned.
1718
<div class="variablelist"><table border="0">
1658
<div class="variablelist"><table border="0" class="variablelist">
1719
1660
<col align="left" valign="top">
1722
1665
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1739
1682
Sets the audio language index for <em class="parameter"><code>bvw</code></em>. If <em class="parameter"><code>language</code></em> is <code class="code">-1</code>, the default language will
1742
<div class="variablelist"><table border="0">
1685
<div class="variablelist"><table border="0" class="variablelist">
1743
1687
<col align="left" valign="top">
1746
1692
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1811
1763
and the video widget will take up no space. Otherwise, the logo will be
1812
1764
displayed and will requisition a corresponding amount of space.
1814
<div class="variablelist"><table border="0">
1766
<div class="variablelist"><table border="0" class="variablelist">
1815
1768
<col align="left" valign="top">
1818
1773
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1840
1795
Free the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#g-value-unset"><code class="function">g_value_unset()</code></a>.
1842
<div class="variablelist"><table border="0">
1797
<div class="variablelist"><table border="0" class="variablelist">
1843
1799
<col align="left" valign="top">
1846
1804
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1863
1821
<div class="refsect2">
1864
<a name="bacon-video-widget-get-mrls"></a><h3>bacon_video_widget_get_mrls ()</h3>
1865
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** bacon_video_widget_get_mrls (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
1866
<em class="parameter"><code><a href="http://library.gnome.org/devel/totem-pl-parser/totem-pl-parser-TotemDisc.html#TotemDiscMediaType"><span class="type">TotemDiscMediaType</span></a> type</code></em>,
1867
<em class="parameter"><code>const <span class="type">char</span> *device</code></em>,
1868
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1870
Returns an array of MRLs available for the given <em class="parameter"><code>device</code></em> and media <em class="parameter"><code>type</code></em>.
1873
<em class="parameter"><code>device</code></em> should typically be the number of the device (e.g. <code class="code">0</code> for the first
1877
<em class="parameter"><code>type</code></em> can be any value from <a href="http://library.gnome.org/devel/totem-pl-parser/totem-pl-parser-TotemDisc.html#TotemDiscMediaType"><span class="type">TotemDiscMediaType</span></a>, but a <a class="link" href="BaconVideoWidget.html#BVW-ERROR-INVALID-LOCATION:CAPS"><code class="literal">BVW_ERROR_INVALID_LOCATION</code></a> error
1878
will be returned if <em class="parameter"><code>type</code></em> is <a href="http://library.gnome.org/devel/totem-pl-parser/totem-pl-parser-TotemDisc.html#MEDIA-TYPE-CDDA:CAPS"><code class="literal">MEDIA_TYPE_CDDA</code></a>, as CDDA support has been removed from
1879
Totem (and hence <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>).
1882
A <a class="link" href="BaconVideoWidget.html#BVW-ERROR-NO-PLUGIN-FOR-FILE:CAPS"><code class="literal">BVW_ERROR_NO_PLUGIN_FOR_FILE</code></a> error will be returned if the required GStreamer elements do
1883
not exist for the given <em class="parameter"><code>type</code></em> (for the GStreamer backend). *
1884
If <em class="parameter"><code>device</code></em> does not exist, a <a class="link" href="BaconVideoWidget.html#BVW-ERROR-INVALID-DEVICE:CAPS"><code class="literal">BVW_ERROR_INVALID_DEVICE</code></a> error will be returned.
1886
<div class="variablelist"><table border="0">
1887
<col align="left" valign="top">
1890
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1891
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1895
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1896
<td>the media type</td>
1899
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
1900
<td>the device name</td>
1903
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1904
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1908
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1909
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of MRLs, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; free with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>
1916
<div class="refsect2">
1917
1822
<a name="bacon-video-widget-get-option-group"></a><h3>bacon_video_widget_get_option_group ()</h3>
1918
1823
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="returnvalue">GOptionGroup</span></a> * bacon_video_widget_get_option_group (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1924
1829
Applications must call either this exactly once.
1926
<div class="variablelist"><table border="0">
1831
<div class="variablelist"><table border="0" class="variablelist">
1927
1833
<col align="left" valign="top">
1929
1837
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1930
1838
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> giving command-line options for <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1940
1848
Returns the current position in the stream, as a value between
1941
1849
<code class="code">0</code> and <code class="code">1</code>.
1943
<div class="variablelist"><table border="0">
1851
<div class="variablelist"><table border="0" class="variablelist">
1944
1853
<col align="left" valign="top">
1947
1858
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1984
1898
<div class="refsect2">
1899
<a name="bacon-video-widget-get-rotation"></a><h3>bacon_video_widget_get_rotation ()</h3>
1900
<pre class="programlisting"><a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation"><span class="returnvalue">BvwRotation</span></a> bacon_video_widget_get_rotation (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);</pre>
1902
Returns the angle of rotation of the video, in degrees.
1904
<div class="variablelist"><table border="0" class="variablelist">
1906
<col align="left" valign="top">
1911
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1912
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1916
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1917
<td>a <a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation"><span class="type">BvwRotation</span></a>.</td>
1923
<div class="refsect2">
1924
<a name="bacon-video-widget-set-rotation"></a><h3>bacon_video_widget_set_rotation ()</h3>
1925
<pre class="programlisting"><span class="returnvalue">void</span> bacon_video_widget_set_rotation (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
1926
<em class="parameter"><code><a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation"><span class="type">BvwRotation</span></a> rotation</code></em>);</pre>
1928
Sets the rotation to be applied to the video when it is displayed.
1930
<div class="variablelist"><table border="0" class="variablelist">
1932
<col align="left" valign="top">
1937
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1938
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
1942
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
1943
<td>the <a class="link" href="BaconVideoWidget.html#BvwRotation" title="enum BvwRotation"><span class="type">BvwRotation</span></a> of the video in degrees</td>
1949
<div class="refsect2">
1985
1950
<a name="bacon-video-widget-set-scale-ratio"></a><h3>bacon_video_widget_set_scale_ratio ()</h3>
1986
1951
<pre class="programlisting"><span class="returnvalue">void</span> bacon_video_widget_set_scale_ratio (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
1987
1952
<em class="parameter"><code><span class="type">float</span> ratio</code></em>);</pre>
2038
2009
widget. If <em class="parameter"><code>show_cursor</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the cursor will be invisible
2039
2010
when it is moved over the video widget.
2041
<div class="variablelist"><table border="0">
2012
<div class="variablelist"><table border="0" class="variablelist">
2042
2014
<col align="left" valign="top">
2045
2019
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2111
2091
Returns a list of subtitle tags, each in the form <code class="literal">TEXT <em class="replaceable"><code>x</code></em></code>,
2112
2092
where <em class="replaceable"><code>x</code></em> is the subtitle index.
2114
<div class="variablelist"><table border="0">
2094
<div class="variablelist"><table border="0" class="variablelist">
2115
2096
<col align="left" valign="top">
2118
2101
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2138
2121
If the widget is not playing, <code class="code">-2</code> will be returned. If no subtitles are
2139
2122
being used, <code class="code">-1</code> is returned.
2141
<div class="variablelist"><table border="0">
2124
<div class="variablelist"><table border="0" class="variablelist">
2142
2126
<col align="left" valign="top">
2145
2131
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2162
2148
Sets the subtitle index for <em class="parameter"><code>bvw</code></em>. If <em class="parameter"><code>subtitle</code></em> is <code class="code">-1</code>, no subtitles will
2165
<div class="variablelist"><table border="0">
2151
<div class="variablelist"><table border="0" class="variablelist">
2166
2153
<col align="left" valign="top">
2169
2158
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2181
2170
<div class="refsect2">
2171
<a name="bacon-video-widget-set-text-subtitle"></a><h3>bacon_video_widget_set_text_subtitle ()</h3>
2172
<pre class="programlisting"><span class="returnvalue">void</span> bacon_video_widget_set_text_subtitle
2173
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
2174
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *subtitle_uri</code></em>);</pre>
2176
Sets the URI for the text subtitle file to be displayed alongside
2177
the current video. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you want to unload the current text subtitle
2180
<div class="variablelist"><table border="0" class="variablelist">
2182
<col align="left" valign="top">
2187
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2188
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
2192
<td><p><span class="term"><em class="parameter"><code>subtitle_uri</code></em> :</span></p></td>
2193
<td>the URI of a subtitle file, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2200
<div class="refsect2">
2182
2201
<a name="bacon-video-widget-set-subtitle-encoding"></a><h3>bacon_video_widget_set_subtitle_encoding ()</h3>
2183
2202
<pre class="programlisting"><span class="returnvalue">void</span> bacon_video_widget_set_subtitle_encoding
2184
2203
(<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
2215
2237
<em class="parameter"><code>font</code></em> is a Pango font description string, as understood by
2216
<a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>.
2238
<code class="function">pango_font_description_from_string()</code>.
2218
<div class="variablelist"><table border="0">
2240
<div class="variablelist"><table border="0" class="variablelist">
2219
2242
<col align="left" valign="top">
2222
2247
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2266
2294
It is returned as a percentage in the full range of integer values; from <code class="code">0</code>
2267
2295
to <code class="code">65535</code> (inclusive), where <code class="code">32768</code> is the default.
2269
<div class="variablelist"><table border="0">
2297
<div class="variablelist"><table border="0" class="variablelist">
2270
2299
<col align="left" valign="top">
2273
2304
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2300
2331
It should be given as a percentage in the full range of integer values; from <code class="code">0</code>
2301
2332
to <code class="code">65535</code> (inclusive), where <code class="code">32768</code> is the default.
2303
<div class="variablelist"><table border="0">
2334
<div class="variablelist"><table border="0" class="variablelist">
2304
2336
<col align="left" valign="top">
2307
2341
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2357
2394
If <em class="parameter"><code>name</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, visualisations will be disabled. Otherwise, <em class="parameter"><code>name</code></em>
2358
2395
should be from the list returned by <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-visualization-list" title="bacon_video_widget_get_visualization_list ()"><code class="function">bacon_video_widget_get_visualization_list()</code></a>.
2360
<div class="variablelist"><table border="0">
2397
<div class="variablelist"><table border="0" class="variablelist">
2361
2399
<col align="left" valign="top">
2364
2404
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2432
2478
If <a class="link" href="BaconVideoWidget.html#bacon-video-widget-can-set-volume" title="bacon_video_widget_can_set_volume ()"><code class="function">bacon_video_widget_can_set_volume()</code></a> returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this is a no-op.
2434
<div class="variablelist"><table border="0">
2480
<div class="variablelist"><table border="0" class="variablelist">
2435
2482
<col align="left" valign="top">
2438
2487
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2527
2585
Select the next angle, or video track in the playing stream.
2529
<div class="variablelist"><table border="0">
2587
<div class="variablelist"><table border="0" class="variablelist">
2530
2589
<col align="left" valign="top">
2532
2593
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2533
2594
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
2618
2688
If no stream is loaded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.
2620
<div class="variablelist"><table border="0">
2690
<div class="variablelist"><table border="0" class="variablelist">
2621
2692
<col align="left" valign="top">
2624
2697
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2637
2710
<div class="refsect2">
2711
<a name="bacon-video-widget-get-rate"></a><h3>bacon_video_widget_get_rate ()</h3>
2712
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a> bacon_video_widget_get_rate (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>);</pre>
2714
Get the current playback rate, with 1.0 being normal rate.
2716
<div class="variablelist"><table border="0" class="variablelist">
2718
<col align="left" valign="top">
2723
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2724
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
2728
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2729
<td>the current playback rate</td>
2735
<div class="refsect2">
2736
<a name="bacon-video-widget-set-rate"></a><h3>bacon_video_widget_set_rate ()</h3>
2737
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> bacon_video_widget_set_rate (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
2738
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> new_rate</code></em>);</pre>
2740
Sets the current playback rate.
2742
<div class="variablelist"><table border="0" class="variablelist">
2744
<col align="left" valign="top">
2749
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2750
<td>a <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>
2754
<td><p><span class="term"><em class="parameter"><code>new_rate</code></em> :</span></p></td>
2755
<td>the new playback rate</td>
2758
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2760
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure.</td>
2766
<div class="refsect2">
2767
<a name="bacon-video-widget-popup-osd"></a><h3>bacon_video_widget_popup_osd ()</h3>
2768
<pre class="programlisting"><span class="returnvalue">void</span> bacon_video_widget_popup_osd (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
2769
<em class="parameter"><code>const <span class="type">char</span> *icon_name</code></em>);</pre>
2772
<div class="refsect2">
2638
2773
<a name="bacon-video-widget-step"></a><h3>bacon_video_widget_step ()</h3>
2639
2774
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> bacon_video_widget_step (<em class="parameter"><code><a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *bvw</code></em>,
2640
2775
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> forward</code></em>,
2643
2778
Step one frame forward, if <em class="parameter"><code>forward</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, or backwards, if <em class="parameter"><code>forward</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
2645
<div class="variablelist"><table border="0">
2780
<div class="variablelist"><table border="0" class="variablelist">
2646
2782
<col align="left" valign="top">
2649
2787
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2691
2829
<div class="refsect2">
2830
<a name="BaconVideoWidget--av-offset"></a><h3>The <code class="literal">"av-offset"</code> property</h3>
2831
<pre class="programlisting"> "av-offset" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write</pre>
2833
Control the synchronisation offset between the audio and video streams.
2834
Positive values make the audio ahead of the video and negative values
2835
make the audio go behind the video.
2837
<p>Default value: 0</p>
2840
<div class="refsect2">
2692
2841
<a name="BaconVideoWidget--brightness"></a><h3>The <code class="literal">"brightness"</code> property</h3>
2693
2842
<pre class="programlisting"> "brightness" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
2856
3005
<div class="refsect2">
2857
3006
<a name="BaconVideoWidget-buffering"></a><h3>The <code class="literal">"buffering"</code> signal</h3>
2858
3007
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *percentage,
2859
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg1,
3008
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> arg1,
2860
3009
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
2862
3011
Emitted regularly when a network stream is being buffered, to provide status updates on the buffering
2865
<div class="variablelist"><table border="0">
3014
<div class="variablelist"><table border="0" class="variablelist">
2866
3016
<col align="left" valign="top">
2869
3021
<td><p><span class="term"><em class="parameter"><code>percentage</code></em> :</span></p></td>
2890
3042
Query the new list of audio languages with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-languages" title="bacon_video_widget_get_languages ()"><code class="function">bacon_video_widget_get_languages()</code></a>.
2892
<div class="variablelist"><table border="0">
3044
<div class="variablelist"><table border="0" class="variablelist">
2893
3046
<col align="left" valign="top">
2895
3050
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2896
3051
<td>user data set when the signal handler was connected.</td>
2907
3062
Emitted regularly when a network stream is being cached on disk, to provide status
2908
3063
updates on the buffering level of the stream.
2910
<div class="variablelist"><table border="0">
3065
<div class="variablelist"><table border="0" class="variablelist">
2911
3067
<col align="left" valign="top">
2914
3072
<td><p><span class="term"><em class="parameter"><code>percentage</code></em> :</span></p></td>
2931
3089
Emitted when the end of the current stream is reached.
2933
<div class="variablelist"><table border="0">
3091
<div class="variablelist"><table border="0" class="variablelist">
2934
3093
<col align="left" valign="top">
2936
3097
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2937
3098
<td>user data set when the signal handler was connected.</td>
2944
3105
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> *message,
2945
3106
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *playback_stopped,
2946
3107
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> fatal,
2947
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> arg3,
2948
3108
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
2950
3110
Emitted when the backend wishes to asynchronously report an error. If <em class="parameter"><code>fatal</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
2951
3111
playback of this stream cannot be restarted.
2953
<div class="variablelist"><table border="0">
3113
<div class="variablelist"><table border="0" class="variablelist">
2954
3115
<col align="left" valign="top">
2957
3120
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
2987
3150
Call <a class="link" href="BaconVideoWidget.html#bacon-video-widget-get-metadata" title="bacon_video_widget_get_metadata ()"><code class="function">bacon_video_widget_get_metadata()</code></a> to query the updated metadata.
2989
<div class="variablelist"><table border="0">
3152
<div class="variablelist"><table border="0" class="variablelist">
2990
3154
<col align="left" valign="top">
2992
3158
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2993
3159
<td>user data set when the signal handler was connected.</td>