[gstreamer-bugs] [Bug 545352] gsturi is too restrictive

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 29 10:47:56 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=545352

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #1 from Michael Smith  2008-07-29 17:47 UTC -------
Created an attachment (id=115510)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=115510&action=view)
More generic URI handling

Mostly, this patch just makes gsturi accept ":" instead of "://", so it's more
generic. 

The more controversial part is the last bit. Currently the code in
gst_uri_handler_set_uri() pulls apart the URI, then puts it back together with
some mangling done by gst_uri_get_location(). There is no justification given
for this mangling in the documentation, and so I have no real idea why it's
being done. It looks incorrect to me though, regardless of this patch. So, I
change it to pull out the scheme using gst_uri_get_protocol() (which mostly
just canonicalises the URI scheme to lower case), and then append the rest of
the URI.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=545352.




More information about the Gstreamer-bugs mailing list