~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to docs/reference/html/BaconVideoWidget.html

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-05-26 00:07:51 UTC
  • mfrom: (1.6.1) (24.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130526000751-kv8ap3x1di4qq8j2
Tags: 3.8.2-0ubuntu1
* Sync with Debian. Remaining changes: 
* debian/control.in:
  - Drop build-depends on libepc-ui-dev and libgrilo-0.2-dev (in universe)
  - Drop libxtst-dev build-depends so that the (redundant) fake key presses
    for inhibiting the screensaver are disabled (LP: #1007438)
  - Build-depend on libzeitgeist-dev
  - Suggest rather than recommend gstreamer components in universe
  - Add totem-plugins-extra
  - Add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - Refer to Firefox in totem-mozilla description instead of Iceweasel
  - Don't have totem-mozilla recommend any particular browser
  - Drop obsolete python library dependencies since iplayer is no longer
    included
* debian/totem-common.install, debian/source_totem.py:
  - Install Ubuntu apport debugging hook
* debian/totem-plugins-extra.install:
  - Universe plugins split out of totem-plugins (currently only gromit)
* debian/totem-plugins.install:    
  - Skip the plugins split to -extra and add the zeitgeist plugin
* debian/rules:
  - Build with --fail-missing, to ensure we install everything. 
    + Ignore libtotem.{,l}a since we delibrately don't install these.
  - Re-enable hardening, make sure both PIE and BINDNOW are used
    by setting hardening=+all. (LP: #1039604)
* debian/patches/91_quicklist_entries.patch:
  - Add static quicklist
* debian/patches/92_gst-plugins-good.patch:
  - Build without unnecessary gstreamer1.0-bad dependency
* debian/patches/93_grilo_optional.patch:
  - Allow building without grilo while grilo MIR is still pending
* debian/patches/correct_desktop_mimetypes.patch:
  - Don't list the mimetypes after the unity lists
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu until indicator-appmenu can handle
    the mixed shell/traditional menus itself
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
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">
13
13
</head>
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>
22
22
</tr>
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>
 
199
                     +----GtkClutterEmbed
200
200
                           +----BaconVideoWidget
201
201
</pre>
202
202
</div>
204
204
<a name="BaconVideoWidget.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
205
205
<p>
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>
208
208
</div>
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>.
288
289
</p>
289
 
<div class="variablelist"><table border="0">
 
290
<div class="variablelist"><table border="0" class="variablelist">
 
291
<colgroup>
290
292
<col align="left" valign="top">
 
293
<col>
 
294
</colgroup>
291
295
<tbody>
292
296
<tr>
293
297
<td><p><a name="BVW-RATIO-AUTO:CAPS"></a><span class="term"><code class="literal">BVW_RATIO_AUTO</code></span></p></td>
332
336
<p>
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>.
334
338
</p>
335
 
<div class="variablelist"><table border="0">
 
339
<div class="variablelist"><table border="0" class="variablelist">
 
340
<colgroup>
336
341
<col align="left" valign="top">
 
342
<col>
 
343
</colgroup>
337
344
<tbody>
338
345
<tr>
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>
370
377
</div>
371
378
<hr>
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,
380
 
        BVW_SPEED_56_ISDN,
381
 
        BVW_SPEED_112_ISDN,
382
 
        BVW_SPEED_256_DSL,
383
 
        BVW_SPEED_384_DSL,
384
 
        BVW_SPEED_512_DSL,
385
 
        BVW_SPEED_1500_T1,
386
 
        BVW_SPEED_LAN
387
 
} BvwConnectionSpeed;
388
 
</pre>
389
 
<p>
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>.
391
 
</p>
392
 
<div class="variablelist"><table border="0">
393
 
<col align="left" valign="top">
394
 
<tbody>
395
 
<tr>
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>
397
 
<td>14.4 Kbps Modem
398
 
</td>
399
 
</tr>
400
 
<tr>
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>
402
 
<td>19.2 Kbps Modem
403
 
</td>
404
 
</tr>
405
 
<tr>
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>
407
 
<td>28.8 Kbps Modem
408
 
</td>
409
 
</tr>
410
 
<tr>
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>
412
 
<td>33.6 Kbps Modem
413
 
</td>
414
 
</tr>
415
 
<tr>
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>
417
 
<td>34.4 Kbps Modem
418
 
</td>
419
 
</tr>
420
 
<tr>
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
423
 
</td>
424
 
</tr>
425
 
<tr>
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
428
 
</td>
429
 
</tr>
430
 
<tr>
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
433
 
</td>
434
 
</tr>
435
 
<tr>
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
438
 
</td>
439
 
</tr>
440
 
<tr>
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
443
 
</td>
444
 
</tr>
445
 
<tr>
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
448
 
</td>
449
 
</tr>
450
 
<tr>
451
 
<td><p><a name="BVW-SPEED-LAN:CAPS"></a><span class="term"><code class="literal">BVW_SPEED_LAN</code></span></p></td>
452
 
<td>Intranet/LAN
453
 
</td>
454
 
</tr>
455
 
</tbody>
456
 
</table></div>
457
 
</div>
458
 
<hr>
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>.
482
402
</p>
483
 
<div class="variablelist"><table border="0">
 
403
<div class="variablelist"><table border="0" class="variablelist">
 
404
<colgroup>
484
405
<col align="left" valign="top">
 
406
<col>
 
407
</colgroup>
485
408
<tbody>
486
409
<tr>
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>.
595
518
</p>
596
 
<div class="variablelist"><table border="0">
 
519
<div class="variablelist"><table border="0" class="variablelist">
 
520
<colgroup>
597
521
<col align="left" valign="top">
 
522
<col>
 
523
</colgroup>
598
524
<tbody>
599
525
<tr>
600
526
<td><p><a name="BVW-INFO-TITLE:CAPS"></a><span class="term"><code class="literal">BVW_INFO_TITLE</code></span></p></td>
701
627
</div>
702
628
<hr>
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
 
636
} BvwRotation;
 
637
</pre>
 
638
<p>
 
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>.
 
641
</p>
 
642
<div class="variablelist"><table border="0" class="variablelist">
 
643
<colgroup>
 
644
<col align="left" valign="top">
 
645
<col>
 
646
</colgroup>
 
647
<tbody>
 
648
<tr>
 
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>
 
650
<td>No rotation
 
651
</td>
 
652
</tr>
 
653
<tr>
 
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
 
656
</td>
 
657
</tr>
 
658
<tr>
 
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
 
661
</td>
 
662
</tr>
 
663
<tr>
 
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
 
666
</td>
 
667
</tr>
 
668
</tbody>
 
669
</table></div>
 
670
</div>
 
671
<hr>
 
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>.
715
684
</p>
716
 
<div class="variablelist"><table border="0">
 
685
<div class="variablelist"><table border="0" class="variablelist">
 
686
<colgroup>
717
687
<col align="left" valign="top">
 
688
<col>
 
689
</colgroup>
718
690
<tbody>
719
691
<tr>
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>.
755
727
</p>
756
 
<div class="variablelist"><table border="0">
 
728
<div class="variablelist"><table border="0" class="variablelist">
 
729
<colgroup>
757
730
<col align="left" valign="top">
 
731
<col>
 
732
</colgroup>
758
733
<tbody>
759
734
<tr>
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>.
793
768
</p>
794
 
<div class="variablelist"><table border="0">
 
769
<div class="variablelist"><table border="0" class="variablelist">
 
770
<colgroup>
795
771
<col align="left" valign="top">
 
772
<col>
 
773
</colgroup>
796
774
<tbody>
797
775
<tr>
798
776
<td><p><a name="BVW-ZOOM-NONE:CAPS"></a><span class="term"><code class="literal">BVW_ZOOM_NONE</code></span></p></td>
812
790
<a name="BvwError"></a><h3>enum BvwError</h3>
813
791
<pre class="programlisting">typedef enum {
814
792
        /* Plugins */
815
 
        BVW_ERROR_AUDIO_PLUGIN,
816
793
        BVW_ERROR_NO_PLUGIN_FOR_FILE,
817
 
        BVW_ERROR_VIDEO_PLUGIN,
818
 
        BVW_ERROR_AUDIO_BUSY,
819
794
        /* File */
820
795
        BVW_ERROR_BROKEN_FILE,
821
796
        BVW_ERROR_FILE_GENERIC,
825
800
        /* Devices */
826
801
        BVW_ERROR_DVD_ENCRYPTED,
827
802
        BVW_ERROR_INVALID_DEVICE,
828
 
        BVW_ERROR_DEVICE_BUSY,
829
803
        /* Network */
830
804
        BVW_ERROR_UNKNOWN_HOST,
831
805
        BVW_ERROR_NETWORK_UNREACHABLE,
834
808
        BVW_ERROR_INVALID_LOCATION,
835
809
        BVW_ERROR_GENERIC,
836
810
        BVW_ERROR_CODEC_NOT_HANDLED,
837
 
        BVW_ERROR_AUDIO_ONLY,
838
811
        BVW_ERROR_CANNOT_CAPTURE,
839
812
        BVW_ERROR_READ_ERROR,
840
813
        BVW_ERROR_PLUGIN_LOAD,
844
817
<p>
845
818
Error codes for <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a> operations.
846
819
</p>
847
 
<div class="variablelist"><table border="0">
 
820
<div class="variablelist"><table border="0" class="variablelist">
 
821
<colgroup>
848
822
<col align="left" valign="top">
 
823
<col>
 
824
</colgroup>
849
825
<tbody>
850
826
<tr>
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.
853
 
</td>
854
 
</tr>
855
 
<tr>
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.
858
 
</td>
859
 
</tr>
860
 
<tr>
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.
863
 
</td>
864
 
</tr>
865
 
<tr>
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.
868
829
</td>
869
830
</tr>
870
831
<tr>
903
864
</td>
904
865
</tr>
905
866
<tr>
906
 
<td><p><a name="BVW-ERROR-DEVICE-BUSY:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_DEVICE_BUSY</code></span></p></td>
907
 
<td>The device was busy.
908
 
</td>
909
 
</tr>
910
 
<tr>
911
867
<td><p><a name="BVW-ERROR-UNKNOWN-HOST:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_UNKNOWN_HOST</code></span></p></td>
912
868
<td>The host for a given stream could not be resolved.
913
869
</td>
938
894
</td>
939
895
</tr>
940
896
<tr>
941
 
<td><p><a name="BVW-ERROR-AUDIO-ONLY:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_AUDIO_ONLY</code></span></p></td>
942
 
<td>An audio-only stream could not be played due to missing audio output support.
943
 
</td>
944
 
</tr>
945
 
<tr>
946
897
<td><p><a name="BVW-ERROR-CANNOT-CAPTURE:CAPS"></a><span class="term"><code class="literal">BVW_ERROR_CANNOT_CAPTURE</code></span></p></td>
947
898
<td>Error determining frame capture support for a video with <a class="link" href="BaconVideoWidget.html#bacon-video-widget-can-get-frames" title="bacon_video_widget_can_get_frames ()"><code class="function">bacon_video_widget_can_get_frames()</code></a>.
948
899
</td>
968
919
<hr>
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>
972
923
<p>
973
924
Creates a new <a class="link" href="BaconVideoWidget.html" title="BaconVideoWidget"><span class="type">BaconVideoWidget</span></a>.
974
925
</p>
975
926
<p>
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.
978
 
</p>
979
 
<p>
980
927
A <a class="link" href="BaconVideoWidget.html#BvwError" title="enum BvwError"><span class="type">BvwError</span></a> will be returned on error.
981
928
</p>
982
 
<div class="variablelist"><table border="0">
 
929
<div class="variablelist"><table border="0" class="variablelist">
 
930
<colgroup>
983
931
<col align="left" valign="top">
 
932
<col>
 
933
</colgroup>
984
934
<tbody>
985
935
<tr>
986
936
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
989
939
</tr>
990
940
<tr>
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>
993
943
</td>
994
944
</tr>
995
945
</tbody>
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>
1005
954
<p>
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.
1010
956
</p>
1011
957
<p>
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,
1015
961
<p>
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>.
1017
963
</p>
1018
 
<div class="variablelist"><table border="0">
 
964
<div class="variablelist"><table border="0" class="variablelist">
 
965
<colgroup>
1019
966
<col align="left" valign="top">
 
967
<col>
 
968
</colgroup>
1020
969
<tbody>
1021
970
<tr>
1022
971
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1028
977
<td>an MRL</td>
1029
978
</tr>
1030
979
<tr>
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>
1033
 
</td>
1034
 
</tr>
1035
 
<tr>
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>
1038
982
</td>
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>.
1059
1003
</p>
1060
 
<div class="variablelist"><table border="0">
 
1004
<div class="variablelist"><table border="0" class="variablelist">
 
1005
<colgroup>
1061
1006
<col align="left" valign="top">
 
1007
<col>
 
1008
</colgroup>
1062
1009
<tbody>
1063
1010
<tr>
1064
1011
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1088
1035
<p>
1089
1036
If a live stream is being played, playback is stopped entirely.
1090
1037
</p>
1091
 
<div class="variablelist"><table border="0">
 
1038
<div class="variablelist"><table border="0" class="variablelist">
 
1039
<colgroup>
1092
1040
<col align="left" valign="top">
 
1041
<col>
 
1042
</colgroup>
1093
1043
<tbody><tr>
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>
1107
1057
Seeks the currently-playing stream to <em class="parameter"><code>position</code></em> as a percentage of the total
1108
1058
stream length.
1109
1059
</p>
1110
 
<div class="variablelist"><table border="0">
 
1060
<div class="variablelist"><table border="0" class="variablelist">
 
1061
<colgroup>
1111
1062
<col align="left" valign="top">
 
1063
<col>
 
1064
</colgroup>
1112
1065
<tbody>
1113
1066
<tr>
1114
1067
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1142
1095
<p>
1143
1096
Seeks the currently-playing stream to the absolute position <em class="parameter"><code>time</code></em>, in milliseconds.
1144
1097
</p>
1145
 
<div class="variablelist"><table border="0">
 
1098
<div class="variablelist"><table border="0" class="variablelist">
 
1099
<colgroup>
1146
1100
<col align="left" valign="top">
 
1101
<col>
 
1102
</colgroup>
1147
1103
<tbody>
1148
1104
<tr>
1149
1105
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1178
1134
<p>
1179
1135
Stops playing the current stream and resets to the first position in the stream.
1180
1136
</p>
1181
 
<div class="variablelist"><table border="0">
 
1137
<div class="variablelist"><table border="0" class="variablelist">
 
1138
<colgroup>
1182
1139
<col align="left" valign="top">
 
1140
<col>
 
1141
</colgroup>
1183
1142
<tbody><tr>
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>
1194
1153
<p>
1195
1154
Closes the current stream and frees the resources associated with it.
1196
1155
</p>
1197
 
<div class="variablelist"><table border="0">
 
1156
<div class="variablelist"><table border="0" class="variablelist">
 
1157
<colgroup>
1198
1158
<col align="left" valign="top">
 
1159
<col>
 
1160
</colgroup>
1199
1161
<tbody><tr>
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>
1210
1172
<p>
1211
1173
Determines whether direct seeking is possible for the current stream.
1212
1174
</p>
1213
 
<div class="variablelist"><table border="0">
 
1175
<div class="variablelist"><table border="0" class="variablelist">
 
1176
<colgroup>
1214
1177
<col align="left" valign="top">
 
1178
<col>
 
1179
</colgroup>
1215
1180
<tbody>
1216
1181
<tr>
1217
1182
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1239
1204
Frames cannot be returned for audio-only streams, unless visualisations
1240
1205
are enabled.
1241
1206
</p>
1242
 
<div class="variablelist"><table border="0">
 
1207
<div class="variablelist"><table border="0" class="variablelist">
 
1208
<colgroup>
1243
1209
<col align="left" valign="top">
 
1210
<col>
 
1211
</colgroup>
1244
1212
<tbody>
1245
1213
<tr>
1246
1214
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
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>.
1273
1241
</p>
1274
 
<div class="variablelist"><table border="0">
 
1242
<div class="variablelist"><table border="0" class="variablelist">
 
1243
<colgroup>
1275
1244
<col align="left" valign="top">
 
1245
<col>
 
1246
</colgroup>
1276
1247
<tbody>
1277
1248
<tr>
1278
1249
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1299
1270
<p>
1300
1271
This is a no-op if the current stream is not navigable.
1301
1272
</p>
1302
 
<div class="variablelist"><table border="0">
 
1273
<div class="variablelist"><table border="0" class="variablelist">
 
1274
<colgroup>
1303
1275
<col align="left" valign="top">
 
1276
<col>
 
1277
</colgroup>
1304
1278
<tbody>
1305
1279
<tr>
1306
1280
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1322
1296
Returns whether the widget is currently displaying a menu,
1323
1297
such as a DVD menu.
1324
1298
</p>
1325
 
<div class="variablelist"><table border="0">
 
1299
<div class="variablelist"><table border="0" class="variablelist">
 
1300
<colgroup>
1326
1301
<col align="left" valign="top">
 
1302
<col>
 
1303
</colgroup>
1327
1304
<tbody>
1328
1305
<tr>
1329
1306
<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>.
1348
1325
</p>
1349
 
<div class="variablelist"><table border="0">
 
1326
<div class="variablelist"><table border="0" class="variablelist">
 
1327
<colgroup>
1350
1328
<col align="left" valign="top">
 
1329
<col>
 
1330
</colgroup>
1351
1331
<tbody>
1352
1332
<tr>
1353
1333
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1372
1352
<p>
1373
1353
Changes to this take effect immediately.
1374
1354
</p>
1375
 
<div class="variablelist"><table border="0">
 
1355
<div class="variablelist"><table border="0" class="variablelist">
 
1356
<colgroup>
1376
1357
<col align="left" valign="top">
 
1358
<col>
 
1359
</colgroup>
1377
1360
<tbody>
1378
1361
<tr>
1379
1362
<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>.
1398
1381
</p>
1399
 
<div class="variablelist"><table border="0">
 
1382
<div class="variablelist"><table border="0" class="variablelist">
 
1383
<colgroup>
1400
1384
<col align="left" valign="top">
 
1385
<col>
 
1386
</colgroup>
1401
1387
<tbody>
1402
1388
<tr>
1403
1389
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1421
1407
<p>
1422
1408
Sets the audio output type (number of speaker channels) in the video widget.
1423
1409
</p>
1424
 
<div class="variablelist"><table border="0">
 
1410
<div class="variablelist"><table border="0" class="variablelist">
 
1411
<colgroup>
1425
1412
<col align="left" valign="top">
 
1413
<col>
 
1414
</colgroup>
1426
1415
<tbody>
1427
1416
<tr>
1428
1417
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1443
1432
<p>
1444
1433
Returns whether the widget will automatically resize to fit videos.
1445
1434
</p>
1446
 
<div class="variablelist"><table border="0">
 
1435
<div class="variablelist"><table border="0" class="variablelist">
 
1436
<colgroup>
1447
1437
<col align="left" valign="top">
 
1438
<col>
 
1439
</colgroup>
1448
1440
<tbody>
1449
1441
<tr>
1450
1442
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1469
1461
they are loaded. Changes to this will take effect when the next media file is
1470
1462
loaded.
1471
1463
</p>
1472
 
<div class="variablelist"><table border="0">
 
1464
<div class="variablelist"><table border="0" class="variablelist">
 
1465
<colgroup>
1473
1466
<col align="left" valign="top">
 
1467
<col>
 
1468
</colgroup>
1474
1469
<tbody>
1475
1470
<tr>
1476
1471
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1487
1482
</div>
1488
1483
<hr>
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>
1492
 
<p>
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>. *
1495
 
</p>
1496
 
<div class="variablelist"><table border="0">
1497
 
<col align="left" valign="top">
1498
 
<tbody>
1499
 
<tr>
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>
1502
 
</td>
1503
 
</tr>
1504
 
<tr>
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>
1507
 
</td>
1508
 
</tr>
1509
 
</tbody>
1510
 
</table></div>
1511
 
</div>
1512
 
<hr>
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>
1517
 
<p>
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.
1520
 
</p>
1521
 
<div class="variablelist"><table border="0">
1522
 
<col align="left" valign="top">
1523
 
<tbody>
1524
 
<tr>
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>
1527
 
</td>
1528
 
</tr>
1529
 
<tr>
1530
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1531
 
<td>the connection speed index</td>
1532
 
</tr>
1533
 
</tbody>
1534
 
</table></div>
1535
 
</div>
1536
 
<hr>
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>
1542
 
<p>
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.
1545
 
</p>
1546
 
<div class="variablelist"><table border="0">
1547
 
<col align="left" valign="top">
1548
 
<tbody>
1549
 
<tr>
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>
1552
 
</td>
1553
 
</tr>
1554
 
<tr>
1555
 
<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td>
1556
 
<td>the connection speed index</td>
1557
 
</tr>
1558
 
</tbody>
1559
 
</table></div>
1560
 
</div>
1561
 
<hr>
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>
1568
1490
stream. This will wait for any pending seeks to complete before
1569
1491
capturing the frame.
1570
1492
</p>
1571
 
<div class="variablelist"><table border="0">
 
1493
<div class="variablelist"><table border="0" class="variablelist">
 
1494
<colgroup>
1572
1495
<col align="left" valign="top">
 
1496
<col>
 
1497
</colgroup>
1573
1498
<tbody>
1574
1499
<tr>
1575
1500
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1592
1517
Returns the current position in the stream, as the time (in milliseconds)
1593
1518
since the beginning of the stream.
1594
1519
</p>
1595
 
<div class="variablelist"><table border="0">
 
1520
<div class="variablelist"><table border="0" class="variablelist">
 
1521
<colgroup>
1596
1522
<col align="left" valign="top">
 
1523
<col>
 
1524
</colgroup>
1597
1525
<tbody>
1598
1526
<tr>
1599
1527
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1616
1544
<p>
1617
1545
Returns whether deinterlacing of videos is enabled for this widget.
1618
1546
</p>
1619
 
<div class="variablelist"><table border="0">
 
1547
<div class="variablelist"><table border="0" class="variablelist">
 
1548
<colgroup>
1620
1549
<col align="left" valign="top">
 
1550
<col>
 
1551
</colgroup>
1621
1552
<tbody>
1622
1553
<tr>
1623
1554
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1641
1572
<p>
1642
1573
Sets whether the widget should deinterlace videos.
1643
1574
</p>
1644
 
<div class="variablelist"><table border="0">
 
1575
<div class="variablelist"><table border="0" class="variablelist">
 
1576
<colgroup>
1645
1577
<col align="left" valign="top">
 
1578
<col>
 
1579
</colgroup>
1646
1580
<tbody>
1647
1581
<tr>
1648
1582
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1665
1599
<p>
1666
1600
Sets whether the widget renders the stream in fullscreen mode.
1667
1601
</p>
1668
 
<div class="variablelist"><table border="0">
 
1602
<div class="variablelist"><table border="0" class="variablelist">
 
1603
<colgroup>
1669
1604
<col align="left" valign="top">
 
1605
<col>
 
1606
</colgroup>
1670
1607
<tbody>
1671
1608
<tr>
1672
1609
<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.
1691
1628
</p>
1692
 
<div class="variablelist"><table border="0">
 
1629
<div class="variablelist"><table border="0" class="variablelist">
 
1630
<colgroup>
1693
1631
<col align="left" valign="top">
 
1632
<col>
 
1633
</colgroup>
1694
1634
<tbody>
1695
1635
<tr>
1696
1636
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1715
1655
<p>
1716
1656
If the widget is not playing, or the default language is in use, <code class="code">-1</code> will be returned.
1717
1657
</p>
1718
 
<div class="variablelist"><table border="0">
 
1658
<div class="variablelist"><table border="0" class="variablelist">
 
1659
<colgroup>
1719
1660
<col align="left" valign="top">
 
1661
<col>
 
1662
</colgroup>
1720
1663
<tbody>
1721
1664
<tr>
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
1740
1683
be used.
1741
1684
</p>
1742
 
<div class="variablelist"><table border="0">
 
1685
<div class="variablelist"><table border="0" class="variablelist">
 
1686
<colgroup>
1743
1687
<col align="left" valign="top">
 
1688
<col>
 
1689
</colgroup>
1744
1690
<tbody>
1745
1691
<tr>
1746
1692
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1762
1708
<p>
1763
1709
Sets the logo displayed on the video widget when no stream is loaded.
1764
1710
</p>
1765
 
<div class="variablelist"><table border="0">
 
1711
<div class="variablelist"><table border="0" class="variablelist">
 
1712
<colgroup>
1766
1713
<col align="left" valign="top">
 
1714
<col>
 
1715
</colgroup>
1767
1716
<tbody>
1768
1717
<tr>
1769
1718
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1784
1733
<p>
1785
1734
Gets whether the logo is displayed when no stream is loaded.
1786
1735
</p>
1787
 
<div class="variablelist"><table border="0">
 
1736
<div class="variablelist"><table border="0" class="variablelist">
 
1737
<colgroup>
1788
1738
<col align="left" valign="top">
 
1739
<col>
 
1740
</colgroup>
1789
1741
<tbody>
1790
1742
<tr>
1791
1743
<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.
1813
1765
</p>
1814
 
<div class="variablelist"><table border="0">
 
1766
<div class="variablelist"><table border="0" class="variablelist">
 
1767
<colgroup>
1815
1768
<col align="left" valign="top">
 
1769
<col>
 
1770
</colgroup>
1816
1771
<tbody>
1817
1772
<tr>
1818
1773
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1839
1794
<p>
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>.
1841
1796
</p>
1842
 
<div class="variablelist"><table border="0">
 
1797
<div class="variablelist"><table border="0" class="variablelist">
 
1798
<colgroup>
1843
1799
<col align="left" valign="top">
 
1800
<col>
 
1801
</colgroup>
1844
1802
<tbody>
1845
1803
<tr>
1846
1804
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1861
1819
</div>
1862
1820
<hr>
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>
1869
 
<p>
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>.
1871
 
</p>
1872
 
<p>
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
1874
 
DVD drive.
1875
 
</p>
1876
 
<p>
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>).
1880
 
</p>
1881
 
<p>
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.
1885
 
</p>
1886
 
<div class="variablelist"><table border="0">
1887
 
<col align="left" valign="top">
1888
 
<tbody>
1889
 
<tr>
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>
1892
 
</td>
1893
 
</tr>
1894
 
<tr>
1895
 
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1896
 
<td>the media type</td>
1897
 
</tr>
1898
 
<tr>
1899
 
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
1900
 
<td>the device name</td>
1901
 
</tr>
1902
 
<tr>
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>
1905
 
</td>
1906
 
</tr>
1907
 
<tr>
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>
1910
 
</td>
1911
 
</tr>
1912
 
</tbody>
1913
 
</table></div>
1914
 
</div>
1915
 
<hr>
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>
1919
1824
<p>
1923
1828
<p>
1924
1829
Applications must call either this exactly once.
1925
1830
</p>
1926
 
<div class="variablelist"><table border="0">
 
1831
<div class="variablelist"><table border="0" class="variablelist">
 
1832
<colgroup>
1927
1833
<col align="left" valign="top">
 
1834
<col>
 
1835
</colgroup>
1928
1836
<tbody><tr>
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>.
1942
1850
</p>
1943
 
<div class="variablelist"><table border="0">
 
1851
<div class="variablelist"><table border="0" class="variablelist">
 
1852
<colgroup>
1944
1853
<col align="left" valign="top">
 
1854
<col>
 
1855
</colgroup>
1945
1856
<tbody>
1946
1857
<tr>
1947
1858
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1964
1875
<p>
1965
1876
Sets the HTTP referrer URI to use when fetching HTTP ressources.
1966
1877
</p>
1967
 
<div class="variablelist"><table border="0">
 
1878
<div class="variablelist"><table border="0" class="variablelist">
 
1879
<colgroup>
1968
1880
<col align="left" valign="top">
 
1881
<col>
 
1882
</colgroup>
1969
1883
<tbody>
1970
1884
<tr>
1971
1885
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
1982
1896
</div>
1983
1897
<hr>
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>
 
1901
<p>
 
1902
Returns the angle of rotation of the video, in degrees.
 
1903
</p>
 
1904
<div class="variablelist"><table border="0" class="variablelist">
 
1905
<colgroup>
 
1906
<col align="left" valign="top">
 
1907
<col>
 
1908
</colgroup>
 
1909
<tbody>
 
1910
<tr>
 
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>
 
1913
</td>
 
1914
</tr>
 
1915
<tr>
 
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>
 
1918
</tr>
 
1919
</tbody>
 
1920
</table></div>
 
1921
</div>
 
1922
<hr>
 
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>
 
1927
<p>
 
1928
Sets the rotation to be applied to the video when it is displayed.
 
1929
</p>
 
1930
<div class="variablelist"><table border="0" class="variablelist">
 
1931
<colgroup>
 
1932
<col align="left" valign="top">
 
1933
<col>
 
1934
</colgroup>
 
1935
<tbody>
 
1936
<tr>
 
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>
 
1939
</td>
 
1940
</tr>
 
1941
<tr>
 
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>
 
1944
</tr>
 
1945
</tbody>
 
1946
</table></div>
 
1947
</div>
 
1948
<hr>
 
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>
1990
1955
displayed. If <em class="parameter"><code>ratio</code></em> is set to <code class="code">0</code>, the highest ratio possible will
1991
1956
be chosen.
1992
1957
</p>
1993
 
<div class="variablelist"><table border="0">
 
1958
<div class="variablelist"><table border="0" class="variablelist">
 
1959
<colgroup>
1994
1960
<col align="left" valign="top">
 
1961
<col>
 
1962
</colgroup>
1995
1963
<tbody>
1996
1964
<tr>
1997
1965
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2012
1980
<p>
2013
1981
Returns whether the cursor is shown when it is over the video widget.
2014
1982
</p>
2015
 
<div class="variablelist"><table border="0">
 
1983
<div class="variablelist"><table border="0" class="variablelist">
 
1984
<colgroup>
2016
1985
<col align="left" valign="top">
 
1986
<col>
 
1987
</colgroup>
2017
1988
<tbody>
2018
1989
<tr>
2019
1990
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
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.
2040
2011
</p>
2041
 
<div class="variablelist"><table border="0">
 
2012
<div class="variablelist"><table border="0" class="variablelist">
 
2013
<colgroup>
2042
2014
<col align="left" valign="top">
 
2015
<col>
 
2016
</colgroup>
2043
2017
<tbody>
2044
2018
<tr>
2045
2019
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2063
2037
<p>
2064
2038
Sets whether to show visualisations when playing audio-only streams.
2065
2039
</p>
2066
 
<div class="variablelist"><table border="0">
 
2040
<div class="variablelist"><table border="0" class="variablelist">
 
2041
<colgroup>
2067
2042
<col align="left" valign="top">
 
2043
<col>
 
2044
</colgroup>
2068
2045
<tbody>
2069
2046
<tr>
2070
2047
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2087
2064
<p>
2088
2065
Returns the total length of the stream, in milliseconds.
2089
2066
</p>
2090
 
<div class="variablelist"><table border="0">
 
2067
<div class="variablelist"><table border="0" class="variablelist">
 
2068
<colgroup>
2091
2069
<col align="left" valign="top">
 
2070
<col>
 
2071
</colgroup>
2092
2072
<tbody>
2093
2073
<tr>
2094
2074
<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.
2113
2093
</p>
2114
 
<div class="variablelist"><table border="0">
 
2094
<div class="variablelist"><table border="0" class="variablelist">
 
2095
<colgroup>
2115
2096
<col align="left" valign="top">
 
2097
<col>
 
2098
</colgroup>
2116
2099
<tbody>
2117
2100
<tr>
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.
2140
2123
</p>
2141
 
<div class="variablelist"><table border="0">
 
2124
<div class="variablelist"><table border="0" class="variablelist">
 
2125
<colgroup>
2142
2126
<col align="left" valign="top">
 
2127
<col>
 
2128
</colgroup>
2143
2129
<tbody>
2144
2130
<tr>
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
2163
2149
be used.
2164
2150
</p>
2165
 
<div class="variablelist"><table border="0">
 
2151
<div class="variablelist"><table border="0" class="variablelist">
 
2152
<colgroup>
2166
2153
<col align="left" valign="top">
 
2154
<col>
 
2155
</colgroup>
2167
2156
<tbody>
2168
2157
<tr>
2169
2158
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2179
2168
</div>
2180
2169
<hr>
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>
 
2175
<p>
 
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
 
2178
file being used.
 
2179
</p>
 
2180
<div class="variablelist"><table border="0" class="variablelist">
 
2181
<colgroup>
 
2182
<col align="left" valign="top">
 
2183
<col>
 
2184
</colgroup>
 
2185
<tbody>
 
2186
<tr>
 
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>
 
2189
</td>
 
2190
</tr>
 
2191
<tr>
 
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>
 
2194
</td>
 
2195
</tr>
 
2196
</tbody>
 
2197
</table></div>
 
2198
</div>
 
2199
<hr>
 
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>,
2187
2206
Sets the encoding system for the subtitles, so that they can be decoded
2188
2207
properly.
2189
2208
</p>
2190
 
<div class="variablelist"><table border="0">
 
2209
<div class="variablelist"><table border="0" class="variablelist">
 
2210
<colgroup>
2191
2211
<col align="left" valign="top">
 
2212
<col>
 
2213
</colgroup>
2192
2214
<tbody>
2193
2215
<tr>
2194
2216
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2213
2235
</p>
2214
2236
<p>
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>.
2217
2239
</p>
2218
 
<div class="variablelist"><table border="0">
 
2240
<div class="variablelist"><table border="0" class="variablelist">
 
2241
<colgroup>
2219
2242
<col align="left" valign="top">
 
2243
<col>
 
2244
</colgroup>
2220
2245
<tbody>
2221
2246
<tr>
2222
2247
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2238
2263
<p>
2239
2264
Sets the HTTP user agent string to use when fetching HTTP ressources.
2240
2265
</p>
2241
 
<div class="variablelist"><table border="0">
 
2266
<div class="variablelist"><table border="0" class="variablelist">
 
2267
<colgroup>
2242
2268
<col align="left" valign="top">
 
2269
<col>
 
2270
</colgroup>
2243
2271
<tbody>
2244
2272
<tr>
2245
2273
<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.
2268
2296
</p>
2269
 
<div class="variablelist"><table border="0">
 
2297
<div class="variablelist"><table border="0" class="variablelist">
 
2298
<colgroup>
2270
2299
<col align="left" valign="top">
 
2300
<col>
 
2301
</colgroup>
2271
2302
<tbody>
2272
2303
<tr>
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.
2302
2333
</p>
2303
 
<div class="variablelist"><table border="0">
 
2334
<div class="variablelist"><table border="0" class="variablelist">
 
2335
<colgroup>
2304
2336
<col align="left" valign="top">
 
2337
<col>
 
2338
</colgroup>
2305
2339
<tbody>
2306
2340
<tr>
2307
2341
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2328
2362
<p>
2329
2363
Returns a list of the visualisations available when playing audio-only streams.
2330
2364
</p>
2331
 
<div class="variablelist"><table border="0">
 
2365
<div class="variablelist"><table border="0" class="variablelist">
 
2366
<colgroup>
2332
2367
<col align="left" valign="top">
 
2368
<col>
 
2369
</colgroup>
2333
2370
<tbody>
2334
2371
<tr>
2335
2372
<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>.
2359
2396
</p>
2360
 
<div class="variablelist"><table border="0">
 
2397
<div class="variablelist"><table border="0" class="variablelist">
 
2398
<colgroup>
2361
2399
<col align="left" valign="top">
 
2400
<col>
 
2401
</colgroup>
2362
2402
<tbody>
2363
2403
<tr>
2364
2404
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2382
2422
<p>
2383
2423
Sets the quality/size of displayed visualisations.
2384
2424
</p>
2385
 
<div class="variablelist"><table border="0">
 
2425
<div class="variablelist"><table border="0" class="variablelist">
 
2426
<colgroup>
2386
2427
<col align="left" valign="top">
 
2428
<col>
 
2429
</colgroup>
2387
2430
<tbody>
2388
2431
<tr>
2389
2432
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2404
2447
<p>
2405
2448
Returns the current volume level, as a percentage between <code class="code">0</code> and <code class="code">1</code>.
2406
2449
</p>
2407
 
<div class="variablelist"><table border="0">
 
2450
<div class="variablelist"><table border="0" class="variablelist">
 
2451
<colgroup>
2408
2452
<col align="left" valign="top">
 
2453
<col>
 
2454
</colgroup>
2409
2455
<tbody>
2410
2456
<tr>
2411
2457
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2431
2477
<p>
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.
2433
2479
</p>
2434
 
<div class="variablelist"><table border="0">
 
2480
<div class="variablelist"><table border="0" class="variablelist">
 
2481
<colgroup>
2435
2482
<col align="left" valign="top">
 
2483
<col>
 
2484
</colgroup>
2436
2485
<tbody>
2437
2486
<tr>
2438
2487
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2454
2503
<p>
2455
2504
Returns the zoom mode applied to videos displayed by the widget.
2456
2505
</p>
2457
 
<div class="variablelist"><table border="0">
 
2506
<div class="variablelist"><table border="0" class="variablelist">
 
2507
<colgroup>
2458
2508
<col align="left" valign="top">
 
2509
<col>
 
2510
</colgroup>
2459
2511
<tbody>
2460
2512
<tr>
2461
2513
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2478
2530
<p>
2479
2531
Sets the zoom type applied to the video when it is displayed.
2480
2532
</p>
2481
 
<div class="variablelist"><table border="0">
 
2533
<div class="variablelist"><table border="0" class="variablelist">
 
2534
<colgroup>
2482
2535
<col align="left" valign="top">
 
2536
<col>
 
2537
</colgroup>
2483
2538
<tbody>
2484
2539
<tr>
2485
2540
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2502
2557
Returns whether the widget is currently playing a stream with
2503
2558
multiple angles.
2504
2559
</p>
2505
 
<div class="variablelist"><table border="0">
 
2560
<div class="variablelist"><table border="0" class="variablelist">
 
2561
<colgroup>
2506
2562
<col align="left" valign="top">
 
2563
<col>
 
2564
</colgroup>
2507
2565
<tbody>
2508
2566
<tr>
2509
2567
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2526
2584
<p>
2527
2585
Select the next angle, or video track in the playing stream.
2528
2586
</p>
2529
 
<div class="variablelist"><table border="0">
 
2587
<div class="variablelist"><table border="0" class="variablelist">
 
2588
<colgroup>
2530
2589
<col align="left" valign="top">
 
2590
<col>
 
2591
</colgroup>
2531
2592
<tbody><tr>
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>
2543
2604
Determines whether there is another track after the current one, typically
2544
2605
as a chapter on a DVD.
2545
2606
</p>
2546
 
<div class="variablelist"><table border="0">
 
2607
<div class="variablelist"><table border="0" class="variablelist">
 
2608
<colgroup>
2547
2609
<col align="left" valign="top">
 
2610
<col>
 
2611
</colgroup>
2548
2612
<tbody>
2549
2613
<tr>
2550
2614
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2568
2632
Determines whether there is another track before the current one, typically
2569
2633
as a chapter on a DVD.
2570
2634
</p>
2571
 
<div class="variablelist"><table border="0">
 
2635
<div class="variablelist"><table border="0" class="variablelist">
 
2636
<colgroup>
2572
2637
<col align="left" valign="top">
 
2638
<col>
 
2639
</colgroup>
2573
2640
<tbody>
2574
2641
<tr>
2575
2642
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2591
2658
<p>
2592
2659
Returns whether the widget is currently playing a stream.
2593
2660
</p>
2594
 
<div class="variablelist"><table border="0">
 
2661
<div class="variablelist"><table border="0" class="variablelist">
 
2662
<colgroup>
2595
2663
<col align="left" valign="top">
 
2664
<col>
 
2665
</colgroup>
2596
2666
<tbody>
2597
2667
<tr>
2598
2668
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2617
2687
<p>
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.
2619
2689
</p>
2620
 
<div class="variablelist"><table border="0">
 
2690
<div class="variablelist"><table border="0" class="variablelist">
 
2691
<colgroup>
2621
2692
<col align="left" valign="top">
 
2693
<col>
 
2694
</colgroup>
2622
2695
<tbody>
2623
2696
<tr>
2624
2697
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2635
2708
</div>
2636
2709
<hr>
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>
 
2713
<p>
 
2714
Get the current playback rate, with 1.0 being normal rate.
 
2715
</p>
 
2716
<div class="variablelist"><table border="0" class="variablelist">
 
2717
<colgroup>
 
2718
<col align="left" valign="top">
 
2719
<col>
 
2720
</colgroup>
 
2721
<tbody>
 
2722
<tr>
 
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>
 
2725
</td>
 
2726
</tr>
 
2727
<tr>
 
2728
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
2729
<td>the current playback rate</td>
 
2730
</tr>
 
2731
</tbody>
 
2732
</table></div>
 
2733
</div>
 
2734
<hr>
 
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>
 
2739
<p>
 
2740
Sets the current playback rate.
 
2741
</p>
 
2742
<div class="variablelist"><table border="0" class="variablelist">
 
2743
<colgroup>
 
2744
<col align="left" valign="top">
 
2745
<col>
 
2746
</colgroup>
 
2747
<tbody>
 
2748
<tr>
 
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>
 
2751
</td>
 
2752
</tr>
 
2753
<tr>
 
2754
<td><p><span class="term"><em class="parameter"><code>new_rate</code></em> :</span></p></td>
 
2755
<td>the new playback rate</td>
 
2756
</tr>
 
2757
<tr>
 
2758
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
2759
<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>
 
2761
</tr>
 
2762
</tbody>
 
2763
</table></div>
 
2764
</div>
 
2765
<hr>
 
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>
 
2770
</div>
 
2771
<hr>
 
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>,
2642
2777
<p>
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>
2644
2779
</p>
2645
 
<div class="variablelist"><table border="0">
 
2780
<div class="variablelist"><table border="0" class="variablelist">
 
2781
<colgroup>
2646
2782
<col align="left" valign="top">
 
2783
<col>
 
2784
</colgroup>
2647
2785
<tbody>
2648
2786
<tr>
2649
2787
<td><p><span class="term"><em class="parameter"><code>bvw</code></em> :</span></p></td>
2689
2827
</div>
2690
2828
<hr>
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>
 
2832
<p>
 
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.
 
2836
</p>
 
2837
<p>Default value: 0</p>
 
2838
</div>
 
2839
<hr>
 
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>
2694
2843
<p>
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>
2861
3010
<p>
2862
3011
Emitted regularly when a network stream is being buffered, to provide status updates on the buffering
2863
3012
progress.
2864
3013
</p>
2865
 
<div class="variablelist"><table border="0">
 
3014
<div class="variablelist"><table border="0" class="variablelist">
 
3015
<colgroup>
2866
3016
<col align="left" valign="top">
 
3017
<col>
 
3018
</colgroup>
2867
3019
<tbody>
2868
3020
<tr>
2869
3021
<td><p><span class="term"><em class="parameter"><code>percentage</code></em> :</span></p></td>
2889
3041
<p>
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>.
2891
3043
</p>
2892
 
<div class="variablelist"><table border="0">
 
3044
<div class="variablelist"><table border="0" class="variablelist">
 
3045
<colgroup>
2893
3046
<col align="left" valign="top">
 
3047
<col>
 
3048
</colgroup>
2894
3049
<tbody><tr>
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.
2909
3064
</p>
2910
 
<div class="variablelist"><table border="0">
 
3065
<div class="variablelist"><table border="0" class="variablelist">
 
3066
<colgroup>
2911
3067
<col align="left" valign="top">
 
3068
<col>
 
3069
</colgroup>
2912
3070
<tbody>
2913
3071
<tr>
2914
3072
<td><p><span class="term"><em class="parameter"><code>percentage</code></em> :</span></p></td>
2930
3088
<p>
2931
3089
Emitted when the end of the current stream is reached.
2932
3090
</p>
2933
 
<div class="variablelist"><table border="0">
 
3091
<div class="variablelist"><table border="0" class="variablelist">
 
3092
<colgroup>
2934
3093
<col align="left" valign="top">
 
3094
<col>
 
3095
</colgroup>
2935
3096
<tbody><tr>
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>
2949
3109
<p>
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.
2952
3112
</p>
2953
 
<div class="variablelist"><table border="0">
 
3113
<div class="variablelist"><table border="0" class="variablelist">
 
3114
<colgroup>
2954
3115
<col align="left" valign="top">
 
3116
<col>
 
3117
</colgroup>
2955
3118
<tbody>
2956
3119
<tr>
2957
3120
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
2986
3149
<p>
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.
2988
3151
</p>
2989
 
<div class="variablelist"><table border="0">
 
3152
<div class="variablelist"><table border="0" class="variablelist">
 
3153
<colgroup>
2990
3154
<col align="left" valign="top">
 
3155
<col>
 
3156
</colgroup>
2991
3157
<tbody><tr>
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>
3003
3169
<p>
3004
3170
Emitted when a redirect response is received from a stream's server.
3005
3171
</p>
3006
 
<div class="variablelist"><table border="0">
 
3172
<div class="variablelist"><table border="0" class="variablelist">
 
3173
<colgroup>
3007
3174
<col align="left" valign="top">
 
3175
<col>
 
3176
</colgroup>
3008
3177
<tbody>
3009
3178
<tr>
3010
3179
<td><p><span class="term"><em class="parameter"><code>new_mrl</code></em> :</span></p></td>
3032
3201
<p>
3033
3202
Note that this signal is only available for the GStreamer backend.
3034
3203
</p>
3035
 
<div class="variablelist"><table border="0">
 
3204
<div class="variablelist"><table border="0" class="variablelist">
 
3205
<colgroup>
3036
3206
<col align="left" valign="top">
 
3207
<col>
 
3208
</colgroup>
3037
3209
<tbody>
3038
3210
<tr>
3039
3211
<td><p><span class="term"><em class="parameter"><code>details</code></em> :</span></p></td>
3072
3244
<p>
3073
3245
Emitted every time an important time event happens, or at regular intervals when playing a stream.
3074
3246
</p>
3075
 
<div class="variablelist"><table border="0">
 
3247
<div class="variablelist"><table border="0" class="variablelist">
 
3248
<colgroup>
3076
3249
<col align="left" valign="top">
 
3250
<col>
 
3251
</colgroup>
3077
3252
<tbody>
3078
3253
<tr>
3079
3254
<td><p><span class="term"><em class="parameter"><code>current_time</code></em> :</span></p></td>
3104
3279
</div>
3105
3280
<div class="footer">
3106
3281
<hr>
3107
 
          Generated by GTK-Doc V1.18</div>
 
3282
          Generated by GTK-Doc V1.18.1</div>
3108
3283
</body>
3109
3284
</html>
 
 
b'\\ No newline at end of file'