[gstreamer-bugs] [Bug 403172] [filesrc] doesn't handle localhost file locations

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 1 08:35:49 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=403172

  GStreamer | gstreamer (core) | Ver: 0.10.x





------- Comment #5 from Tim-Philipp Müller  2007-02-01 16:34 UTC -------
> > Next thing we need to support file://myhostname/foo/bar.ogg and
> > file://myipaddress/foo/bar.ogg etc.
> 
> Let me know how you think this would work ;)

gnomevfs-info appears to accept file://myhostname/foo/bar.ogg ;)



> Just special-casing file://localhost/ should be fine.

Fine with me.


> (...) I'll make a patch later to special-case file://localhost/
> and just create a more meaningfull error if another hostname/ip
> is supplied.

Cool.

Could we just do the following:

 - skip 'localhost' prefix in _set_uri()

 - otherwise, return FALSE in _set_uri() if the URI
   bit after protocol:// doesn't start with a '/'

?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list