From bb43d2dd64331a4688698ad3602e1b7c82624904 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 24 Jun 2003 21:38:31 +0000 Subject: - the gnome-vfs input was a bit too keen on trying to open some files CVS patchset: 5094 CVS date: 2003/06/24 21:38:31 --- src/input/input_gnome_vfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/input/input_gnome_vfs.c b/src/input/input_gnome_vfs.c index b73147054..95df1383f 100644 --- a/src/input/input_gnome_vfs.c +++ b/src/input/input_gnome_vfs.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_gnome_vfs.c,v 1.10 2003/06/08 21:58:09 hadess Exp $ + * $Id: input_gnome_vfs.c,v 1.11 2003/06/24 21:38:31 hadess Exp $ */ @@ -282,7 +282,8 @@ gnomevfs_klass_get_instance (input_class_t *klass_gen, xine_stream_t *stream, return NULL; /* local files should be handled by the file input */ - if (strncmp (mrl, "file:/", strlen ("file:/")) == 0) + if (strncmp (mrl, "file:/", strlen ("file:/")) == 0 + || strstr (mrl, "://") == NULL) { D("gnomevfs_klass_open: '%s' is a file:///", mrl); gnome_vfs_uri_unref (uri); -- cgit v1.2.3