diff --git a/sources/custom/DeviceProvider.cs b/sources/custom/DeviceProvider.cs index 01db65d63e..a8091603cc 100644 --- a/sources/custom/DeviceProvider.cs +++ b/sources/custom/DeviceProvider.cs @@ -47,17 +47,6 @@ namespace Gst { GLib.Marshaller.Free (native_key); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_device_provider_class_get_metadata(IntPtr klass, IntPtr key); - - public string GetMetadata(string key) { - IntPtr native_key = GLib.Marshaller.StringToPtrGStrdup (key); - IntPtr raw_ret = gst_device_provider_class_get_metadata(LookupGType().GetClassPtr (), native_key); - string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); - GLib.Marshaller.Free (native_key); - return ret; - } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_device_provider_class_set_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author); diff --git a/sources/custom/Element.cs b/sources/custom/Element.cs index f4a4b54a06..5a1881a0cd 100644 --- a/sources/custom/Element.cs +++ b/sources/custom/Element.cs @@ -75,37 +75,6 @@ namespace Gst { GLib.Marshaller.Free (native_value); } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_element_class_get_metadata(IntPtr klass, IntPtr key); - - public string GetMetadata(string key) { - IntPtr native_key = GLib.Marshaller.StringToPtrGStrdup (key); - IntPtr raw_ret = gst_element_class_get_metadata(LookupGType().GetClassPtr (), native_key); - string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); - GLib.Marshaller.Free (native_key); - return ret; - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_element_class_get_pad_template(IntPtr element_class, IntPtr name); - - public Gst.PadTemplate GetPadTemplate(string name) { - IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); - IntPtr raw_ret = gst_element_class_get_pad_template(LookupGType().GetClassPtr (), native_name); - Gst.PadTemplate ret = GLib.Object.GetObject(raw_ret) as Gst.PadTemplate; - GLib.Marshaller.Free (native_name); - return ret; - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_element_class_get_pad_template_list(IntPtr element_class); - - public Gst.PadTemplate[] GetPadTemplateList() { - IntPtr raw_ret = gst_element_class_get_pad_template_list(LookupGType().GetClassPtr ()); - Gst.PadTemplate[] ret = (Gst.PadTemplate[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), false, false, typeof(Gst.PadTemplate)); - return ret; - } - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_element_class_set_metadata(IntPtr klass, IntPtr longname, IntPtr classification, IntPtr description, IntPtr author); diff --git a/sources/custom/MiniObject.cs b/sources/custom/MiniObject.cs index 7b87b43acc..c0892b8895 100644 --- a/sources/custom/MiniObject.cs +++ b/sources/custom/MiniObject.cs @@ -53,5 +53,6 @@ namespace Gst { if (raw != IntPtr.Zero) Unref (raw); } + } } diff --git a/sources/generated/meson.build b/sources/generated/meson.build index 9ac40b519f..26f6afdc09 100644 --- a/sources/generated/meson.build +++ b/sources/generated/meson.build @@ -139,6 +139,7 @@ generated_sources = [ 'Gst.PbUtils_DiscovererInfo.cs', 'Gst.PbUtils_EncodingVideoProfile.cs', 'Gst.PbUtils_Gst.PbUtilsSharp.InstallPluginsResultFuncNative.cs', + 'Gst_ReferenceTimestampMeta.cs', 'Gst_StaticCaps.cs', 'Gst_MessageType.cs', 'Gst_GstSharp.PadUnlinkFunctionNative.cs', diff --git a/sources/gstreamer-sharp-api.raw b/sources/gstreamer-sharp-api.raw index 32e24736a0..34bd5e8cc6 100644 --- a/sources/gstreamer-sharp-api.raw +++ b/sources/gstreamer-sharp-api.raw @@ -52,26 +52,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -285,12 +265,16 @@ + + + + @@ -454,6 +438,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -663,7 +667,7 @@ - + @@ -1813,7 +1817,7 @@ - + @@ -2275,6 +2279,14 @@ + + + + + missing glib:type-name + + + @@ -3013,7 +3025,7 @@ - + @@ -3038,6 +3050,12 @@ + + + + + + @@ -3186,7 +3204,7 @@ - + @@ -3370,7 +3388,7 @@ - + @@ -3464,6 +3482,22 @@ + + + + + + + + + + + + + + + + @@ -4057,7 +4091,7 @@ - + @@ -5270,13 +5304,13 @@ - + - + @@ -6053,6 +6087,18 @@ + + + missing glib:type-name + + + + missing glib:type-name + + + + + missing glib:type-name @@ -6187,6 +6233,16 @@ + + + missing glib:type-name + + + + missing glib:type-name + + + @@ -6397,6 +6453,10 @@ + + + + missing glib:type-name @@ -6418,6 +6478,14 @@ + + + missing glib:type-name + + + + + @@ -9329,6 +9397,21 @@ +