[totem/gnome-2-28] Use giosrc natively when playing back from FTP



commit 549a10aafd5917fe5715a25352036716020c9f5c
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 7 17:01:25 2010 +0100

    Use giosrc natively when playing back from FTP
    
    As it will not work properly when using FUSE in between.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=579235

 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 76289b4..093934d 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -3268,7 +3268,8 @@ bacon_video_widget_open (BaconVideoWidget * bvw,
   /* Only use the URI when FUSE isn't available for a file
    * or we're trying to read from an archive or ObexFTP */
   if (g_file_has_uri_scheme (file, "archive") != FALSE ||
-      g_file_has_uri_scheme (file, "obex") != FALSE)
+      g_file_has_uri_scheme (file, "obex") != FALSE ||
+      g_file_has_uri_scheme (file, "ftp") != FALSE)
     path = NULL;
   else
     path = g_file_get_path (file);



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