summaryrefslogtreecommitdiff
path: root/sources/generated/Gst/Util.cs
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2020-10-16 16:12:36 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2020-10-16 16:21:17 -0400
commitdbae3e3ff04f3589b01f670d52bc749e36e465dc (patch)
tree7e1a614add80581645606fa11689bea21d3a8486 /sources/generated/Gst/Util.cs
parent9d7f360da7e3e0b3cf16adef83778d358aa35da7 (diff)
Update bindings to 1.18
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/25>
Diffstat (limited to 'sources/generated/Gst/Util.cs')
-rw-r--r--sources/generated/Gst/Util.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/sources/generated/Gst/Util.cs b/sources/generated/Gst/Util.cs
index 5533311..1d1b780 100644
--- a/sources/generated/Gst/Util.cs
+++ b/sources/generated/Gst/Util.cs
@@ -117,6 +117,17 @@ namespace Gst {
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern IntPtr gst_uri_from_string_escaped(IntPtr uri);
+
+ public static Gst.Uri UriFromStringEscaped(string uri) {
+ IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup (uri);
+ IntPtr raw_ret = gst_uri_from_string_escaped(native_uri);
+ Gst.Uri ret = Gst.Uri.New (raw_ret);
+ GLib.Marshaller.Free (native_uri);
+ return ret;
+ }
+
+ [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_uri_get_location(IntPtr uri);
public static string UriGetLocation(string uri) {