diff options
Diffstat (limited to 'sources/generated/Gst/Util.cs')
-rw-r--r-- | sources/generated/Gst/Util.cs | 11 |
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) { |