[totem] Only start playing after mount if actually asked to
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Only start playing after mount if actually asked to
- Date: Wed, 4 Nov 2009 19:42:05 +0000 (UTC)
commit ae1de70d74d55611a87a142d0a7d4e83fbef01ea
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 4 16:43:34 2009 +0000
Only start playing after mount if actually asked to
src/backend/bacon-video-widget-gst-0.10.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 13a2323..ae480db 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1373,7 +1373,8 @@ mount_cb (GObject *obj, GAsyncResult *res, gpointer user_data)
if (ret) {
GST_DEBUG ("Mounting location '%s' successful", GST_STR_NULL (uri));
- bacon_video_widget_play (bvw, NULL);
+ if (bvw->priv->target_state == GST_STATE_PLAYING)
+ bacon_video_widget_play (bvw, NULL);
} else {
GError *err = NULL;
GstMessage *msg;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]