summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2003-06-24 21:38:31 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2003-06-24 21:38:31 +0000
commitbb43d2dd64331a4688698ad3602e1b7c82624904 (patch)
treeed3ab587811959047d78a37293c1e5e39180ada2 /src
parent79c13493d3a3b54ff70f9a3c8f9c6d583aa65254 (diff)
downloadxine-lib-bb43d2dd64331a4688698ad3602e1b7c82624904.tar.gz
xine-lib-bb43d2dd64331a4688698ad3602e1b7c82624904.tar.bz2
- 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
Diffstat (limited to 'src')
-rw-r--r--src/input/input_gnome_vfs.c5
1 files changed, 3 insertions, 2 deletions
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);