[totem] Use giosrc natively when playing back from FTP
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Use giosrc natively when playing back from FTP
- Date: Wed, 7 Apr 2010 16:02:42 +0000 (UTC)
commit 4cdd69285b2f9fffe834b65d19876b5dc7841ef8
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 90ae434..b56ebef 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -3604,7 +3604,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]