uri: fix roundtrip for file:// URIs
Submitted by Tim Müller
Created attachment 373661
uri: fix roundtrip for file:// uris
uri = gst_uri_from_string ("file:///path/to/foo.bar");
string = gst_uri_to_string (uri);
would return "file:/path/to/foo.bar".
Slashes get lost somewhere.
Setting the hostname to "" after gst_uri_from_string() "fixes" it.
Attached patch fixes it also without making any of the other unit tests fail, but it's pretty much cargo-culted without real understanding.
Question is if this is something that needs to be fixed serialisation-side or parsing-side I guess.
Patch 373661, "uri: fix roundtrip for file:// uris":