gsturi: Fixed incorrect escaping of path as a generic string
authorSebastian Dröge <sebastian@centricular.com>
Thu, 15 Jun 2017 08:40:51 +0000 (11:40 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 15 Jun 2017 08:40:51 +0000 (11:40 +0300)
commit326541ee7e39ccc5eb09ca8e66666d1920a9a9b5
tree1b7e1488eea07a34241d686ecdd085c762ba05d5
parent2325d00eee8a1a5181fa40dc4c8c6fac746d2c44
gsturi: Fixed incorrect escaping of path as a generic string

The gst_uri_construct function was escaping the location string
as a generic uri string. This is incorrect since the slash('/')
characters are reserved for use in this exact case. The patch
changes the escape_string function mode to handle the path correctly.

In 1.14 this function will be deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=783787
gst/gsturi.c