[totem/gnome-3-8] backend: Fix error when mounting a remote share
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-8] backend: Fix error when mounting a remote share
- Date: Thu, 25 Jul 2013 17:58:49 +0000 (UTC)
commit 83c438a4e7c2cbaed4262b3181a00db25ebc6cba
Author: Bastien Nocera <hadess hadess net>
Date: Thu Mar 28 19:26:22 2013 +0100
backend: Fix error when mounting a remote share
A bit too eager removing code it seems.
src/backend/bacon-video-widget.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 145dd36..123701e 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -1302,6 +1302,10 @@ mount_cb (GObject *obj, GAsyncResult *res, gpointer user_data)
/* Save the expected pipeline state */
target_state = bvw->priv->target_state;
bacon_video_widget_open (bvw, uri);
+ if (target_state == GST_STATE_PLAYING)
+ bacon_video_widget_play (bvw, NULL);
+ g_free (uri);
+ return;
}
if (!ret)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]