summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2003-06-08 21:58:09 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2003-06-08 21:58:09 +0000
commit9e4df22041c29cc502dbe3e3e1df2432fc2037d7 (patch)
tree4b80e1e95218f1cbcb45224e63121db55c43cb60 /src
parent91999078d5ac52fbb60c7bbdd68efc48a4d20842 (diff)
downloadxine-lib-9e4df22041c29cc502dbe3e3e1df2432fc2037d7.tar.gz
xine-lib-9e4df22041c29cc502dbe3e3e1df2432fc2037d7.tar.bz2
- only ignore real local files (ie. file:///) ("local" in gnome-vfs terms means it's on a fast connection, and not a network)
CVS patchset: 5013 CVS date: 2003/06/08 21:58:09
Diffstat (limited to 'src')
-rw-r--r--src/input/input_gnome_vfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_gnome_vfs.c b/src/input/input_gnome_vfs.c
index 682371b21..b73147054 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.9 2003/04/26 22:34:32 guenter Exp $
+ * $Id: input_gnome_vfs.c,v 1.10 2003/06/08 21:58:09 hadess Exp $
*/
@@ -282,13 +282,13 @@ 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 (gnome_vfs_uri_is_local (uri) == TRUE)
+ if (strncmp (mrl, "file:/", strlen ("file:/")) == 0)
{
- D("gnomevfs_klass_open: '%s' is local", mrl);
+ D("gnomevfs_klass_open: '%s' is a file:///", mrl);
gnome_vfs_uri_unref (uri);
return NULL;
} else if (strncmp (gnome_vfs_uri_get_scheme (uri), "http", 4) == 0) {
- D("gnomevfs_klass_open: '%s' is http", mrl);
+ D("gnomevfs_klass_open: '%s' is http://", mrl);
gnome_vfs_uri_unref (uri);
return NULL;
}