summaryrefslogtreecommitdiff
path: root/sources/generated/Gst/Meta.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst/Meta.cs')
-rw-r--r--sources/generated/Gst/Meta.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/sources/generated/Gst/Meta.cs b/sources/generated/Gst/Meta.cs
index b6d205d..a84364e 100644
--- a/sources/generated/Gst/Meta.cs
+++ b/sources/generated/Gst/Meta.cs
@@ -58,15 +58,6 @@ namespace Gst {
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
- static extern IntPtr gst_meta_api_type_get_tags(IntPtr api);
-
- public static string[] ApiTypeGetTags(GLib.GType api) {
- IntPtr raw_ret = gst_meta_api_type_get_tags(api.Val);
- string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false);
- return ret;
- }
-
- [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_meta_api_type_has_tag(IntPtr api, uint tag);
public static bool ApiTypeHasTag(GLib.GType api, uint tag) {
@@ -83,15 +74,11 @@ namespace Gst {
int cnt_tags = tags == null ? 0 : tags.Length;
IntPtr[] native_tags = new IntPtr [cnt_tags + 1];
for (int i = 0; i < cnt_tags; i++)
- native_tags [i] = GLib.Marshaller.StringToPtrGStrdup (tags[i]);
+ native_tags [i] = GLib.Marshaller.StringToPtrGStrdup(tags[i]);
native_tags [cnt_tags] = IntPtr.Zero;
IntPtr raw_ret = gst_meta_api_type_register(native_api, native_tags);
GLib.GType ret = new GLib.GType(raw_ret);
GLib.Marshaller.Free (native_api);
- for (int i = 0; i < native_tags.Length - 1; i++) {
- tags [i] = GLib.Marshaller.Utf8PtrToString (native_tags[i]);
- GLib.Marshaller.Free (native_tags[i]);
- }
return ret;
}