[gstreamer-bugs] [Bug 469402] File uri handling on windows broken
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Sep 12 05:44:17 PDT 2007
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=469402
GStreamer | gstreamer (core) | Ver: 0.10.13
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|t.i.m at zen.co.uk |gstreamer-
| |bugs at lists.sourceforge.net
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Summary|false file uri on windows |File uri handling on windows
| |broken
Target Milestone|HEAD |0.10.15
------- Comment #2 from Tim-Philipp Müller 2007-09-12 12:44 UTC -------
Should be fixed now:
2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
* gst/gsturi.c: (gst_uri_get_location):
If there's no hostname, we want to return 'c:/foo/bar.txt'
and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
* tests/check/gst/gsturi.c:
Unit test for the above and a few more things.
g_filename_from_uri() is not really an option because it only handles the
'file://' protocol, and other protocols may include file paths too. Besides,
it's a bit awkward since you'd also need to prepend the hostname to the return
value of _from_uri().
(In reply to comment #1)
> Shouldn't this be
> gst-launch playbin uri=file://c:/film.avi
>
> i.e. with only two / before c:/?
Don't think so. Do you have links that suggest otherwise?
--
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=469402.
More information about the Gstreamer-bugs
mailing list