[totem] Don't try to play a file when mounting failed



commit 00e199b498d8c72f4413a5db2a7447eb06d56363
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 4 16:38:55 2009 +0000

    Don't try to play a file when mounting failed
    
    If mounting the mount the file is on failed, then we shouldn't
    try to play it.

 src/backend/bacon-video-widget-gst-0.10.c |    1 -
 1 files changed, 0 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 2144b51..13a2323 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1389,7 +1389,6 @@ mount_cb (GObject *obj, GAsyncResult *res, gpointer user_data)
     gst_message_unref (msg);
     g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0, err->message, FALSE, FALSE);
     g_error_free (err);
-    bacon_video_widget_play (bvw, NULL);
   }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]