GNOME Bugzilla – Bug 771756
GstUri parsing is not is not reciprocal for file URIs
Last modified: 2018-11-03 12:36:14 UTC
1. Create a GstUri from a string "file:///home/me/myfile" with gst_uri_from_string 2. Generate a string from the GstUri (gst_uri_to_string) and you will end up with "file:/home/my/myfile". As far as I know, the latter is not a valid uri. Workaround; use file://///home/me/myfile :-/
Created attachment 336000 [details] [review] uri: Check that gst_uri_from_string() and to_string() give the same result
Or use file://home/me/myfile instead :) But yes, there's a bug here, it should consider the empty "hostname" and reconstruct that again later.
See also: https://bugzilla.gnome.org/show_bug.cgi?id=797146
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/188.