diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2019-04-19 02:00:33 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-04-19 02:00:33 +0100 |
commit | 6ad219d5f9571621cf78643c854717170027cbec (patch) | |
tree | d7bd5fd8f8ea78669b6b832681147c071b485fa5 | |
parent | cf3b88ae89c996c3b6cf799a31bab7d7eae599c7 (diff) |
Release 1.16.01.16.0
48 files changed, 1086 insertions, 681 deletions
diff --git a/ges/generated/GES/Constants.cs b/ges/generated/GES/Constants.cs index ca2f0cd..f5e3905 100644 --- a/ges/generated/GES/Constants.cs +++ b/ges/generated/GES/Constants.cs @@ -23,6 +23,7 @@ namespace GES { public const string MULTI_FILE_URI_PREFIX = @"multifile://"; public const int PADDING = 4; public const int PADDING_LARGE = 20; + public const uint TIMELINE_ELEMENT_NO_LAYER_PRIORITY = 4294967295; #endregion } } diff --git a/ges/generated/GES/Global.cs b/ges/generated/GES/Global.cs index 3c1d55d..bdcea33 100644 --- a/ges/generated/GES/Global.cs +++ b/ges/generated/GES/Global.cs @@ -30,6 +30,15 @@ namespace GES { } [DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr ges_edge_name(int edge); + + public static string EdgeName(GES.Edge edge) { + IntPtr raw_ret = ges_edge_name((int) edge); + string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); + return ret; + } + + [DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)] static extern bool ges_init(); public static bool Init() { diff --git a/ges/generated/GES/TimelineElement.cs b/ges/generated/GES/TimelineElement.cs index f27ab6b..6a3166a 100644 --- a/ges/generated/GES/TimelineElement.cs +++ b/ges/generated/GES/TimelineElement.cs @@ -1163,6 +1163,64 @@ namespace GES { Marshal.FreeHGlobal (native_value); } + static GetLayerPriorityNativeDelegate GetLayerPriority_cb_delegate; + static GetLayerPriorityNativeDelegate GetLayerPriorityVMCallback { + get { + if (GetLayerPriority_cb_delegate == null) + GetLayerPriority_cb_delegate = new GetLayerPriorityNativeDelegate (GetLayerPriority_cb); + return GetLayerPriority_cb_delegate; + } + } + + static void OverrideGetLayerPriority (GLib.GType gtype) + { + OverrideGetLayerPriority (gtype, GetLayerPriorityVMCallback); + } + + static void OverrideGetLayerPriority (GLib.GType gtype, GetLayerPriorityNativeDelegate callback) + { + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("get_layer_priority")); + *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback); + } + } + + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate uint GetLayerPriorityNativeDelegate (IntPtr inst); + + static uint GetLayerPriority_cb (IntPtr inst) + { + try { + TimelineElement __obj = GLib.Object.GetObject (inst, false) as TimelineElement; + uint __result; + __result = __obj.OnGetLayerPriority (); + return __result; + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, true); + // NOTREACHED: above call does not return. + throw e; + } + } + + [GLib.DefaultSignalHandler(Type=typeof(GES.TimelineElement), ConnectionMethod="OverrideGetLayerPriority")] + protected virtual uint OnGetLayerPriority () + { + return InternalGetLayerPriority (); + } + + private uint InternalGetLayerPriority () + { + GetLayerPriorityNativeDelegate unmanaged = null; + unsafe { + IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("get_layer_priority")); + unmanaged = (GetLayerPriorityNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(GetLayerPriorityNativeDelegate)); + } + if (unmanaged == null) return 0; + + uint __result = unmanaged (this.Handle); + return __result; + } + // Internal representation of the wrapped structure ABI. static GLib.AbiStruct _class_abi = null; @@ -1302,14 +1360,22 @@ namespace GES { , -1 , (uint) Marshal.SizeOf(typeof(IntPtr)) // set_child_property , "get_track_types" + , "get_layer_priority" + , (uint) Marshal.SizeOf(typeof(IntPtr)) + , 0 + ), + new GLib.AbiField("get_layer_priority" + , -1 + , (uint) Marshal.SizeOf(typeof(IntPtr)) // get_layer_priority + , "set_child_property" , "_ges_reserved" , (uint) Marshal.SizeOf(typeof(IntPtr)) , 0 ), new GLib.AbiField("_ges_reserved" , -1 - , (uint) Marshal.SizeOf(typeof(IntPtr)) * 17 // _ges_reserved - , "set_child_property" + , (uint) Marshal.SizeOf(typeof(IntPtr)) * 16 // _ges_reserved + , "get_layer_priority" , null , (uint) Marshal.SizeOf(typeof(IntPtr)) , 0 @@ -1379,6 +1445,17 @@ namespace GES { } [DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)] + static extern uint ges_timeline_element_get_layer_priority(IntPtr raw); + + public uint LayerPriority { + get { + uint raw_ret = ges_timeline_element_get_layer_priority(Handle); + uint ret = raw_ret; + return ret; + } + } + + [DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr ges_timeline_element_get_toplevel_parent(IntPtr raw); public GES.TimelineElement ToplevelParent { diff --git a/ges/generated/GES/TitleSource.cs b/ges/generated/GES/TitleSource.cs index 6e6da86..e2a36e2 100644 --- a/ges/generated/GES/TitleSource.cs +++ b/ges/generated/GES/TitleSource.cs @@ -76,10 +76,11 @@ namespace GES { [DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)] static extern void ges_title_source_set_font_desc(IntPtr raw, IntPtr font_desc); + [Obsolete] public string FontDesc { get { IntPtr raw_ret = ges_title_source_get_font_desc(Handle); - string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); + string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); return ret; } set { @@ -112,10 +113,11 @@ namespace GES { [DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)] static extern void ges_title_source_set_text(IntPtr raw, IntPtr text); + [Obsolete] public string Text { get { IntPtr raw_ret = ges_title_source_get_text(Handle); - string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); + string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); return ret; } set { diff --git a/ges/generated/GES/TrackElement.cs b/ges/generated/GES/TrackElement.cs index 6cd557d..15619ec 100644 --- a/ges/generated/GES/TrackElement.cs +++ b/ges/generated/GES/TrackElement.cs @@ -453,31 +453,19 @@ namespace GES { int cnt_wanted_categories = wanted_categories == null ? 0 : wanted_categories.Length; IntPtr[] native_wanted_categories = new IntPtr [cnt_wanted_categories + 1]; for (int i = 0; i < cnt_wanted_categories; i++) - native_wanted_categories [i] = GLib.Marshaller.StringToPtrGStrdup (wanted_categories[i]); + native_wanted_categories [i] = GLib.Marshaller.StringToPtrGStrdup(wanted_categories[i]); native_wanted_categories [cnt_wanted_categories] = IntPtr.Zero; int cnt_blacklist = blacklist == null ? 0 : blacklist.Length; IntPtr[] native_blacklist = new IntPtr [cnt_blacklist + 1]; for (int i = 0; i < cnt_blacklist; i++) - native_blacklist [i] = GLib.Marshaller.StringToPtrGStrdup (blacklist[i]); + native_blacklist [i] = GLib.Marshaller.StringToPtrGStrdup(blacklist[i]); native_blacklist [cnt_blacklist] = IntPtr.Zero; int cnt_whitelist = whitelist == null ? 0 : whitelist.Length; IntPtr[] native_whitelist = new IntPtr [cnt_whitelist + 1]; for (int i = 0; i < cnt_whitelist; i++) - native_whitelist [i] = GLib.Marshaller.StringToPtrGStrdup (whitelist[i]); + native_whitelist [i] = GLib.Marshaller.StringToPtrGStrdup(whitelist[i]); native_whitelist [cnt_whitelist] = IntPtr.Zero; ges_track_element_add_children_props(Handle, element == null ? IntPtr.Zero : element.Handle, native_wanted_categories, native_blacklist, native_whitelist); - for (int i = 0; i < native_wanted_categories.Length - 1; i++) { - wanted_categories [i] = GLib.Marshaller.Utf8PtrToString (native_wanted_categories[i]); - GLib.Marshaller.Free (native_wanted_categories[i]); - } - for (int i = 0; i < native_blacklist.Length - 1; i++) { - blacklist [i] = GLib.Marshaller.Utf8PtrToString (native_blacklist[i]); - GLib.Marshaller.Free (native_blacklist[i]); - } - for (int i = 0; i < native_whitelist.Length - 1; i++) { - whitelist [i] = GLib.Marshaller.Utf8PtrToString (native_whitelist[i]); - GLib.Marshaller.Free (native_whitelist[i]); - } } public void AddChildrenProps(Gst.Element element) { diff --git a/ges/generated/gst-editing-services-abi.c b/ges/generated/gst-editing-services-abi.c index e1aa6d4..68e2cd9 100644 --- a/ges/generated/gst-editing-services-abi.c +++ b/ges/generated/gst-editing-services-abi.c @@ -174,6 +174,7 @@ int main (int argc, char *argv[]) { g_print("\"GESTimelineElementClass.lookup_child\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, lookup_child)); g_print("\"GESTimelineElementClass.get_track_types\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, get_track_types)); g_print("\"GESTimelineElementClass.set_child_property\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, set_child_property)); + g_print("\"GESTimelineElementClass.get_layer_priority\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, get_layer_priority)); g_print("\"sizeof(GESTimelineElement)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESTimelineElement)); g_print("\"GESTimelineElement.parent\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElement, parent)); g_print("\"GESTimelineElement.asset\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElement, asset)); diff --git a/ges/generated/gst-editing-services-abi.cs b/ges/generated/gst-editing-services-abi.cs index 91455c5..3b4f9a8 100644 --- a/ges/generated/gst-editing-services-abi.cs +++ b/ges/generated/gst-editing-services-abi.cs @@ -189,6 +189,7 @@ namespace AbiTester { Console.WriteLine("\"GESTimelineElementClass.lookup_child\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("lookup_child") + "\""); Console.WriteLine("\"GESTimelineElementClass.get_track_types\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("get_track_types") + "\""); Console.WriteLine("\"GESTimelineElementClass.set_child_property\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("set_child_property") + "\""); + Console.WriteLine("\"GESTimelineElementClass.get_layer_priority\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("get_layer_priority") + "\""); Console.WriteLine("\"sizeof(GESTimelineElement)\": \"" + GES.TimelineElement.abi_info.Size + "\""); Console.WriteLine("\"GESTimelineElement.parent\": \"" + GES.TimelineElement.abi_info.GetFieldOffset("parent") + "\""); Console.WriteLine("\"GESTimelineElement.asset\": \"" + GES.TimelineElement.abi_info.GetFieldOffset("asset") + "\""); diff --git a/ges/generated/gst-editing-services-api.xml b/ges/generated/gst-editing-services-api.xml index 382dc64..26d54c8 100644 --- a/ges/generated/gst-editing-services-api.xml +++ b/ges/generated/gst-editing-services-api.xml @@ -202,7 +202,7 @@ <parameter name="error" type="GError**" /> </parameters> </callback> - <callback name="FormatterLoadFromURIMethod" cname="GESFormatterLoadFromURIMethod"> + <callback name="FormatterLoadFromURIMethod" cname="GESFormatterLoadFromURIMethod" deprecated="true" deprecated-version="1.16"> <return-type type="gboolean" /> <parameters throws="1"> <parameter name="formatter" type="GESFormatter*" /> @@ -211,7 +211,7 @@ <parameter name="error" type="GError**" /> </parameters> </callback> - <callback name="FormatterSaveToURIMethod" cname="GESFormatterSaveToURIMethod"> + <callback name="FormatterSaveToURIMethod" cname="GESFormatterSaveToURIMethod" deprecated="true" deprecated-version="1.16"> <return-type type="gboolean" /> <parameters throws="1"> <parameter name="formatter" type="GESFormatter*" /> @@ -2508,7 +2508,8 @@ <method vm="lookup_child" /> <method vm="get_track_types" /> <method vm="set_child_property" /> - <field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="17" padding="true" /> + <method vm="get_layer_priority" /> + <field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="16" padding="true" /> </class_struct> <method name="GetType" cname="ges_timeline_element_get_type" shared="true"> <return-type type="GType" /> @@ -2519,6 +2520,10 @@ <parameter name="copy" type="GESTimelineElement*" /> </parameters> </virtual_method> + <virtual_method name="GetLayerPriority" cname="get_layer_priority"> + <return-type type="guint32" /> + <parameters /> + </virtual_method> <virtual_method name="GetTrackTypes" cname="get_track_types" version="1.6.0"> <return-type type="GESTrackType" /> <parameters /> @@ -2659,6 +2664,10 @@ <return-type type="guint64" /> <parameters /> </method> + <method name="GetLayerPriority" cname="ges_timeline_element_get_layer_priority"> + <return-type type="guint32" /> + <parameters /> + </method> <method name="GetMaxDuration" cname="ges_timeline_element_get_max_duration"> <return-type type="guint64" /> <parameters /> @@ -2971,16 +2980,16 @@ <return-type type="guint32" /> <parameters /> </method> - <method name="GetFontDesc" cname="ges_title_source_get_font_desc"> - <return-type type="const-gchar*" /> + <method name="GetFontDesc" cname="ges_title_source_get_font_desc" deprecated="true" deprecated-version="1.16"> + <return-type type="gchar*" owned="true" /> <parameters /> </method> <method name="GetHalignment" cname="ges_title_source_get_halignment"> <return-type type="GESTextHAlign" /> <parameters /> </method> - <method name="GetText" cname="ges_title_source_get_text"> - <return-type type="const-gchar*" /> + <method name="GetText" cname="ges_title_source_get_text" deprecated="true" deprecated-version="1.16"> + <return-type type="gchar*" owned="true" /> <parameters /> </method> <method name="GetTextColor" cname="ges_title_source_get_text_color"> @@ -3227,9 +3236,9 @@ <return-type type="void" /> <parameters> <parameter name="element" type="GstElement*" /> - <parameter allow-none="1" name="wanted_categories" type="const-gchar**" array="true" null_term_array="true" /> - <parameter allow-none="1" name="blacklist" type="const-gchar**" array="true" null_term_array="true" /> - <parameter allow-none="1" name="whitelist" type="const-gchar**" array="true" null_term_array="true" /> + <parameter allow-none="1" name="wanted_categories" type="const gchar**" array="true" null_term_array="true" /> + <parameter allow-none="1" name="blacklist" type="const gchar**" array="true" null_term_array="true" /> + <parameter allow-none="1" name="whitelist" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="Edit" cname="ges_track_element_edit"> @@ -3817,6 +3826,12 @@ <method name="Deinit" cname="ges_deinit" shared="true"> <return-type type="void" /> </method> + <method name="EdgeName" cname="ges_edge_name" shared="true"> + <return-type type="const-gchar*" /> + <parameters> + <parameter name="edge" type="GESEdge" /> + </parameters> + </method> <method name="Init" cname="ges_init" shared="true"> <return-type type="gboolean" /> </method> @@ -3824,7 +3839,7 @@ <return-type type="gboolean" array_index="1" /> <parameters throws="1"> <parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref" array_index="1" /> - <parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0" /> + <parameter allow-none="1" name="argv" type="char****" owned="true" pass_as="ref" array="true" array_length_param_index="0" /> <parameter name="error" type="GError**" /> </parameters> </method> @@ -3893,6 +3908,7 @@ <constant value="multifile://" ctype="gchar*" gtype="gchar*" name="MULTI_FILE_URI_PREFIX" /> <constant value="4" ctype="gint" gtype="gint" name="PADDING" /> <constant value="20" ctype="gint" gtype="gint" name="PADDING_LARGE" /> + <constant value="4294967295" ctype="guint32" gtype="guint32" name="TIMELINE_ELEMENT_NO_LAYER_PRIORITY" /> </object> </namespace> </api>
\ No newline at end of file diff --git a/ges/gst-editing-services-api.raw b/ges/gst-editing-services-api.raw index 2e42d66..051a4ea 100644 --- a/ges/gst-editing-services-api.raw +++ b/ges/gst-editing-services-api.raw @@ -202,7 +202,7 @@ <parameter name="error" type="GError**"/> </parameters> </callback> - <callback name="FormatterLoadFromURIMethod" cname="GESFormatterLoadFromURIMethod"> + <callback name="FormatterLoadFromURIMethod" cname="GESFormatterLoadFromURIMethod" deprecated="true" deprecated-version="1.16"> <return-type type="gboolean"/> <parameters throws="1"> <parameter name="formatter" type="GESFormatter*"/> @@ -211,7 +211,7 @@ <parameter name="error" type="GError**"/> </parameters> </callback> - <callback name="FormatterSaveToURIMethod" cname="GESFormatterSaveToURIMethod"> + <callback name="FormatterSaveToURIMethod" cname="GESFormatterSaveToURIMethod" deprecated="true" deprecated-version="1.16"> <return-type type="gboolean"/> <parameters throws="1"> <parameter name="formatter" type="GESFormatter*"/> @@ -2528,7 +2528,8 @@ <method vm="lookup_child"/> <method vm="get_track_types"/> <method vm="set_child_property"/> - <field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="17"/> + <method vm="get_layer_priority"/> + <field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="16"/> </class_struct> <method name="GetType" cname="ges_timeline_element_get_type" shared="true"> <return-type type="GType"/> @@ -2539,6 +2540,10 @@ <parameter name="copy" type="GESTimelineElement*"/> </parameters> </virtual_method> + <virtual_method name="GetLayerPriority" cname="get_layer_priority"> + <return-type type="guint32"/> + <parameters/> + </virtual_method> <virtual_method name="GetTrackTypes" cname="get_track_types" version="1.6.0"> <return-type type="GESTrackType"/> <parameters/> @@ -2679,6 +2684,10 @@ <return-type type="guint64"/> <parameters/> </method> + <method name="GetLayerPriority" cname="ges_timeline_element_get_layer_priority"> + <return-type type="guint32"/> + <parameters/> + </method> <method name="GetMaxDuration" cname="ges_timeline_element_get_max_duration"> <return-type type="guint64"/> <parameters/> @@ -2991,16 +3000,16 @@ <return-type type="guint32"/> <parameters/> </method> - <method name="GetFontDesc" cname="ges_title_source_get_font_desc"> - <return-type type="const-gchar*"/> + <method name="GetFontDesc" cname="ges_title_source_get_font_desc" deprecated="true" deprecated-version="1.16"> + <return-type type="gchar*" owned="true"/> <parameters/> </method> <method name="GetHalignment" cname="ges_title_source_get_halignment"> <return-type type="GESTextHAlign"/> <parameters/> </method> - <method name="GetText" cname="ges_title_source_get_text"> - <return-type type="const-gchar*"/> + <method name="GetText" cname="ges_title_source_get_text" deprecated="true" deprecated-version="1.16"> + <return-type type="gchar*" owned="true"/> <parameters/> </method> <method name="GetTextColor" cname="ges_title_source_get_text_color"> @@ -3247,9 +3256,9 @@ <return-type type="void"/> <parameters> <parameter name="element" type="GstElement*"/> - <parameter allow-none="1" name="wanted_categories" type="const-gchar**" array="true" null_term_array="true"/> - <parameter allow-none="1" name="blacklist" type="const-gchar**" array="true" null_term_array="true"/> - <parameter allow-none="1" name="whitelist" type="const-gchar**" array="true" null_term_array="true"/> + <parameter allow-none="1" name="wanted_categories" type="const gchar**" array="true" null_term_array="true"/> + <parameter allow-none="1" name="blacklist" type="const gchar**" array="true" null_term_array="true"/> + <parameter allow-none="1" name="whitelist" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="Edit" cname="ges_track_element_edit"> @@ -3841,6 +3850,12 @@ <method name="Deinit" cname="ges_deinit" shared="true"> <return-type type="void"/> </method> + <method name="EdgeName" cname="ges_edge_name" shared="true"> + <return-type type="const-gchar*"/> + <parameters> + <parameter name="edge" type="GESEdge"/> + </parameters> + </method> <method name="Init" cname="ges_init" shared="true"> <return-type type="gboolean"/> </method> @@ -3848,7 +3863,7 @@ <return-type type="gboolean" array_index="1"/> <parameters throws="1"> <parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref" array_index="1"/> - <parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/> + <parameter allow-none="1" name="argv" type="char****" owned="true" pass_as="ref" array="true" array_length_param_index="0"/> <parameter name="error" type="GError**"/> </parameters> </method> @@ -3917,6 +3932,7 @@ <constant value="multifile://" ctype="gchar*" gtype="gchar*" name="MULTI_FILE_URI_PREFIX"/> <constant value="4" ctype="gint" gtype="gint" name="PADDING"/> <constant value="20" ctype="gint" gtype="gint" name="PADDING_LARGE"/> + <constant value="4294967295" ctype="guint32" gtype="guint32" name="TIMELINE_ELEMENT_NO_LAYER_PRIORITY"/> </object> </namespace> </api> diff --git a/girs/Gst-1.0.gir b/girs/Gst-1.0.gir index 51746d9..f216946 100644 --- a/girs/Gst-1.0.gir +++ b/girs/Gst-1.0.gir @@ -3893,7 +3893,7 @@ gst_buffer_pool_config_add_option().</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">a %NULL terminated array of strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -4046,7 +4046,7 @@ gst_buffer_pool_config_add_option().</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">a %NULL terminated array of strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -4283,7 +4283,7 @@ return.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">a %NULL terminated array of strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -13586,9 +13586,9 @@ MT safe.</doc> </method> <method name="get_factory" c:identifier="gst_element_get_factory"> <doc xml:space="preserve">Retrieves the factory that was used to create this element.</doc> - <return-value transfer-ownership="none"> + <return-value transfer-ownership="none" nullable="1"> <doc xml:space="preserve">the #GstElementFactory used for creating this - element. no refcounting is needed.</doc> + element or %NULL if element has not been registered (static element). no refcounting is needed.</doc> <type name="ElementFactory" c:type="GstElementFactory*"/> </return-value> <parameters> @@ -15990,7 +15990,7 @@ make a copy of the protocol string array if you need to.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">the supported protocols or %NULL</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -17278,6 +17278,26 @@ gst_event_new_qos() for more information about the different QoS values. </parameter> </parameters> </method> + <method name="parse_seek_trickmode_interval" + c:identifier="gst_event_parse_seek_trickmode_interval" + version="1.16"> + <doc xml:space="preserve">Retrieve the trickmode interval that may have been set on a +seek event with gst_event_set_seek_trickmode_interval().</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <instance-parameter name="event" transfer-ownership="none"> + <type name="Event" c:type="GstEvent*"/> + </instance-parameter> + <parameter name="interval" + direction="out" + caller-allocates="0" + transfer-ownership="full"> + <type name="ClockTime" c:type="GstClockTime*"/> + </parameter> + </parameters> + </method> <method name="parse_segment" c:identifier="gst_event_parse_segment"> <doc xml:space="preserve">Parses a segment @event and stores the result in the given @segment location. @segment remains valid only until the @event is freed. Don't modify the segment @@ -17653,6 +17673,24 @@ MT safe.</doc> </parameter> </parameters> </method> + <method name="set_seek_trickmode_interval" + c:identifier="gst_event_set_seek_trickmode_interval" + version="1.16"> + <doc xml:space="preserve">Sets a trickmode interval on a (writable) seek event. Elements +that support TRICKMODE_KEY_UNITS seeks SHOULD use this as the minimal +interval between each frame they may output.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <instance-parameter name="event" transfer-ownership="none"> + <type name="Event" c:type="GstEvent*"/> + </instance-parameter> + <parameter name="interval" transfer-ownership="none"> + <type name="ClockTime" c:type="GstClockTime"/> + </parameter> + </parameters> + </method> <method name="set_seqnum" c:identifier="gst_event_set_seqnum"> <doc xml:space="preserve">Set the sequence number of a event. @@ -20547,8 +20585,11 @@ receiving this message should stop the pipeline.</doc> <doc xml:space="preserve">A debugging string.</doc> <type name="utf8" c:type="const gchar*"/> </parameter> - <parameter name="details" transfer-ownership="full"> - <doc xml:space="preserve">(allow-none): A GstStructure with details</doc> + <parameter name="details" + transfer-ownership="full" + nullable="1" + allow-none="1"> + <doc xml:space="preserve">A GstStructure with details</doc> <type name="Structure" c:type="GstStructure*"/> </parameter> </parameters> @@ -20629,8 +20670,11 @@ MT safe.</doc> <doc xml:space="preserve">A debugging string.</doc> <type name="utf8" c:type="const gchar*"/> </parameter> - <parameter name="details" transfer-ownership="full"> - <doc xml:space="preserve">(allow-none): A GstStructure with details</doc> + <parameter name="details" + transfer-ownership="full" + nullable="1" + allow-none="1"> + <doc xml:space="preserve">A GstStructure with details</doc> <type name="Structure" c:type="GstStructure*"/> </parameter> </parameters> @@ -21347,8 +21391,11 @@ MT safe.</doc> <doc xml:space="preserve">A debugging string.</doc> <type name="utf8" c:type="const gchar*"/> </parameter> - <parameter name="details" transfer-ownership="full"> - <doc xml:space="preserve">(allow-none): A GstStructure with details</doc> + <parameter name="details" + transfer-ownership="full" + nullable="1" + allow-none="1"> + <doc xml:space="preserve">A GstStructure with details</doc> <type name="Structure" c:type="GstStructure*"/> </parameter> </parameters> @@ -23464,7 +23511,7 @@ or a #GCompareDataFunc.</doc> version="1.2"> <return-value transfer-ownership="none"> <doc xml:space="preserve">an array of tags as strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -23508,7 +23555,7 @@ or a #GCompareDataFunc.</doc> </parameter> <parameter name="tags" transfer-ownership="none"> <doc xml:space="preserve">tags for @api</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -30022,7 +30069,7 @@ codec libraries are currently installed.</doc> or %NULL. Environment variable names may be followed by a path component which will be added to the content of the environment variable, e.g. "HOME/.mystuff/plugins".</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -30032,7 +30079,7 @@ codec libraries are currently installed.</doc> allow-none="1"> <doc xml:space="preserve">%NULL-terminated array of directories/paths where dependent files may be, or %NULL.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -30044,7 +30091,7 @@ codec libraries are currently installed.</doc> depending on @flags) to be used in combination with the paths from @paths and/or the paths extracted from the environment variables in @env_vars, or %NULL.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -34136,7 +34183,7 @@ in the @formats array must be equal to @n_formats.</doc> <parameter name="formats" transfer-ownership="none"> <doc xml:space="preserve">an array containing @n_formats @GstFormat values.</doc> - <array length="0" zero-terminated="0" c:type="GstFormat*"> + <array length="0" zero-terminated="0" c:type="const GstFormat*"> <type name="Format" c:type="GstFormat"/> </array> </parameter> @@ -43510,7 +43557,7 @@ returns and must not be freed.</doc> <return-value transfer-ownership="none" nullable="1"> <doc xml:space="preserve">the requested data, or %NULL if that data is not available.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </return-value> @@ -43777,7 +43824,7 @@ a 0-length list.</doc> <return-value transfer-ownership="none" nullable="1"> <doc xml:space="preserve"> a %NULL-terminated array of extensions associated with this factory</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -44348,9 +44395,9 @@ See more about Media Fragments URI 1.0 (W3C) at https://www.w3.org/TR/media-frag </method> <method name="get_path" c:identifier="gst_uri_get_path" version="1.6"> <doc xml:space="preserve">Extract the path string from the URI object.</doc> - <return-value transfer-ownership="full"> - <doc xml:space="preserve">(nullable): The path from the URI. Once finished - with the string should be g_free()'d.</doc> + <return-value transfer-ownership="full" nullable="1"> + <doc xml:space="preserve">The path from the URI. Once finished + with the string should be g_free()'d.</doc> <type name="utf8" c:type="gchar*"/> </return-value> <parameters> @@ -45229,11 +45276,11 @@ determine a order for the two provided values.</doc> <doc xml:space="preserve">The major version of GStreamer at compile time:</doc> <type name="gint" c:type="gint"/> </constant> - <constant name="VERSION_MICRO" value="90" c:type="GST_VERSION_MICRO"> + <constant name="VERSION_MICRO" value="0" c:type="GST_VERSION_MICRO"> <doc xml:space="preserve">The micro version of GStreamer at compile time:</doc> <type name="gint" c:type="gint"/> </constant> - <constant name="VERSION_MINOR" value="15" c:type="GST_VERSION_MINOR"> + <constant name="VERSION_MINOR" value="16" c:type="GST_VERSION_MINOR"> <doc xml:space="preserve">The minor version of GStreamer at compile time:</doc> <type name="gint" c:type="gint"/> </constant> @@ -46577,7 +46624,7 @@ is unknown.</doc> <parameters> <parameter name="formats" transfer-ownership="none"> <doc xml:space="preserve">The format array to search</doc> - <array c:type="GstFormat*"> + <array c:type="const GstFormat*"> <type name="Format" c:type="GstFormat"/> </array> </parameter> @@ -46727,8 +46774,8 @@ abort program execution.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointer to application's argv</doc> - <array length="0" zero-terminated="0" c:type="char**"> - <type name="utf8" c:type="char*"/> + <array length="0" zero-terminated="0" c:type="char***"> + <type name="utf8" c:type="char**"/> </array> </parameter> </parameters> @@ -46761,8 +46808,8 @@ use gst_init() instead.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointer to application's argv</doc> - <array length="0" zero-terminated="0" c:type="char**"> - <type name="utf8" c:type="char*"/> + <array length="0" zero-terminated="0" c:type="char***"> + <type name="utf8" c:type="char**"/> </array> </parameter> </parameters> @@ -46865,7 +46912,7 @@ or gst_init_check().</doc> version="1.2"> <return-value transfer-ownership="none"> <doc xml:space="preserve">an array of tags as strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -46911,7 +46958,7 @@ or gst_init_check().</doc> </parameter> <parameter name="tags" transfer-ownership="none"> <doc xml:space="preserve">tags for @api</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47321,7 +47368,7 @@ on failure.</doc> <parameters> <parameter name="argv" transfer-ownership="none"> <doc xml:space="preserve">null-terminated array of arguments</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47344,7 +47391,7 @@ An error does not mean that the pipeline could not be constructed.</doc> <parameters> <parameter name="argv" transfer-ownership="none"> <doc xml:space="preserve">null-terminated array of arguments</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47580,7 +47627,7 @@ the @system_identifiers supported by the set of available decryptors, or <doc xml:space="preserve"> A null terminated array of strings that contains the UUID values of each protection system that is to be checked.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47617,7 +47664,7 @@ element has been found.</doc> <doc xml:space="preserve">A null terminated array of strings that contains the UUID values of each protection system that is to be checked.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -48450,7 +48497,7 @@ the result.</doc> <parameters> <parameter name="mem" transfer-ownership="none"> <doc xml:space="preserve">a pointer to the memory to dump</doc> - <array length="1" zero-terminated="0" c:type="guchar*"> + <array length="1" zero-terminated="0" c:type="const guchar*"> <type name="guint8" c:type="guchar"/> </array> </parameter> diff --git a/girs/GstAudio-1.0.gir b/girs/GstAudio-1.0.gir index 79d0788..81348a6 100644 --- a/girs/GstAudio-1.0.gir +++ b/girs/GstAudio-1.0.gir @@ -1497,7 +1497,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions in the buffer.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -1506,7 +1506,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions to convert to.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -1865,14 +1865,14 @@ Perform channel mixing on @in_data and write the result to @out_data. nullable="1" allow-none="1"> <doc xml:space="preserve">input samples</doc> - <type name="gpointer" c:type="const gpointer"/> + <type name="gpointer" c:type="const gpointer*"/> </parameter> <parameter name="out" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve">output samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="samples" transfer-ownership="none"> <doc xml:space="preserve">number of samples</doc> @@ -2679,7 +2679,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">input frames</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="in_frames" transfer-ownership="none"> <doc xml:space="preserve">number of input frames</doc> @@ -2690,7 +2690,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">output frames</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="out_frames" transfer-ownership="none"> <doc xml:space="preserve">number of output frames</doc> @@ -3165,6 +3165,37 @@ invalidated by a call to this function.</doc> </parameter> </parameters> </method> + <method name="finish_subframe" + c:identifier="gst_audio_decoder_finish_subframe" + version="1.16"> + <doc xml:space="preserve">Collects decoded data and pushes it downstream. This function may be called +multiple times for a given input frame. + +@buf may be NULL in which case it is assumed that the current input frame is +finished. This is equivalent to calling gst_audio_decoder_finish_subframe() +with a NULL buffer and frames=1 after having pushed out all decoded audio +subframes using this function. + +When called with valid data in @buf the source pad caps must have been set +already. + +Note that a frame received in #GstAudioDecoderClass.handle_frame() may be +invalidated by a call to this function.</doc> + <return-value transfer-ownership="none"> + <doc xml:space="preserve">a #GstFlowReturn that should be escalated to caller (of caller)</doc> + <type name="Gst.FlowReturn" c:type="GstFlowReturn"/> + </return-value> + <parameters> + <instance-parameter name="dec" transfer-ownership="none"> + <doc xml:space="preserve">a #GstAudioDecoder</doc> + <type name="AudioDecoder" c:type="GstAudioDecoder*"/> + </instance-parameter> + <parameter name="buf" transfer-ownership="none"> + <doc xml:space="preserve">decoded data</doc> + <type name="Gst.Buffer" c:type="GstBuffer*"/> + </parameter> + </parameters> + </method> <method name="get_allocator" c:identifier="gst_audio_decoder_get_allocator"> <doc xml:space="preserve">Lets #GstAudioDecoder sub-classes to know the memory @allocator @@ -6234,7 +6265,7 @@ Note: This initializes @info first, no values are preserved.</doc> allow-none="1"> <doc xml:space="preserve">the channel positions</doc> <array zero-terminated="0" - c:type="GstAudioChannelPosition*" + c:type="const GstAudioChannelPosition*" fixed-size="64"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> @@ -6421,14 +6452,14 @@ modified in-place.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">input samples</doc> - <type name="gpointer" c:type="const gpointer"/> + <type name="gpointer" c:type="const gpointer*"/> </parameter> <parameter name="out" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve">output samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="samples" transfer-ownership="none"> <doc xml:space="preserve">number of samples</doc> @@ -6599,7 +6630,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">input samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="in_frames" transfer-ownership="none"> <doc xml:space="preserve">number of input frames</doc> @@ -6610,7 +6641,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">output samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="out_frames" transfer-ownership="none"> <doc xml:space="preserve">number of output frames</doc> @@ -7708,7 +7739,7 @@ be called in when the ringbuffer is acquired.</doc> </instance-parameter> <parameter name="position" transfer-ownership="none"> <doc xml:space="preserve">the device channel positions</doc> - <array zero-terminated="0" c:type="GstAudioChannelPosition*"> + <array zero-terminated="0" c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9301,7 +9332,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions in the buffer.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9310,7 +9341,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions to convert to.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9498,7 +9529,7 @@ in the order required by GStreamer.</doc> <doc xml:space="preserve">The %GstAudioChannelPositions</doc> <array length="1" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9537,7 +9568,7 @@ Since 1.10</doc> to convert.</doc> <array length="1" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9589,7 +9620,7 @@ checks if the channels are in the order required by GStreamer.</doc> to check.</doc> <array length="1" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9756,7 +9787,7 @@ is possible.</doc> <doc xml:space="preserve">The channel positions to reorder from.</doc> <array length="0" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9765,7 +9796,7 @@ is possible.</doc> <doc xml:space="preserve">The channel positions to reorder to.</doc> <array length="0" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9808,7 +9839,7 @@ otherwise.</doc> <parameters> <parameter name="src" transfer-ownership="none"> <doc xml:space="preserve">a buffer containing the data to payload</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -9929,7 +9960,7 @@ Note: this function assumes the audio data is in interleaved layout</doc> <doc xml:space="preserve">The channel positions in the buffer.</doc> <array length="3" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9938,7 +9969,7 @@ Note: this function assumes the audio data is in interleaved layout</doc> <doc xml:space="preserve">The channel positions to convert to.</doc> <array length="3" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -10065,7 +10096,7 @@ of the results.</doc> of the source</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -10079,7 +10110,7 @@ of the results.</doc> the destination</doc> <array length="4" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -10096,8 +10127,7 @@ of the results.</doc> </function> <function name="buffer_add_audio_meta" c:identifier="gst_buffer_add_audio_meta" - version="1.16" - introspectable="0"> + version="1.16"> <doc xml:space="preserve">Allocates and attaches a #GstAudioMeta on @buffer, which must be writable for that purpose. The fields of the #GstAudioMeta are directly populated from the arguments of this function. @@ -10116,7 +10146,7 @@ specified cause this restriction to be violated. It is, obviously, also not allowed to specify parameters that would cause out-of-bounds memory access on @buffer. This is also checked, which means that you must add enough memory on the @buffer before adding this meta.</doc> - <return-value> + <return-value transfer-ownership="none"> <doc xml:space="preserve">the #GstAudioMeta that was attached on the @buffer</doc> <type name="AudioMeta" c:type="GstAudioMeta*"/> </return-value> @@ -10133,11 +10163,14 @@ that you must add enough memory on the @buffer before adding this meta.</doc> <doc xml:space="preserve">the number of valid samples in the buffer</doc> <type name="gsize" c:type="gsize"/> </parameter> - <parameter name="offsets" transfer-ownership="none"> + <parameter name="offsets" + transfer-ownership="none" + nullable="1" + allow-none="1"> <doc xml:space="preserve">the offsets (in bytes) where each channel plane starts in the buffer or %NULL to calculate it (see below); must be %NULL also when @info->layout is %GST_AUDIO_LAYOUT_INTERLEAVED</doc> - <type name="gsize" c:type="gsize"/> + <type name="gsize" c:type="gsize*"/> </parameter> </parameters> </function> @@ -10159,7 +10192,7 @@ channel positions.</doc> the destination</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> diff --git a/girs/GstBase-1.0.gir b/girs/GstBase-1.0.gir index 3f0363d..e1856a5 100644 --- a/girs/GstBase-1.0.gir +++ b/girs/GstBase-1.0.gir @@ -1841,6 +1841,13 @@ usage.</doc> </instance-parameter> </parameters> </method> + <property name="emit-signals" + version="1.16" + writable="1" + transfer-ownership="none"> + <doc xml:space="preserve">Enables the emission of signals such as #GstAggregatorPad::buffer-consumed</doc> + <type name="gboolean" c:type="gboolean"/> + </property> <field name="parent"> <type name="Gst.Pad" c:type="GstPad"/> </field> @@ -1856,6 +1863,16 @@ usage.</doc> <type name="gpointer" c:type="gpointer"/> </array> </field> + <glib:signal name="buffer-consumed" when="first"> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="object" transfer-ownership="none"> + <type name="Gst.Buffer"/> + </parameter> + </parameters> + </glib:signal> </class> <record name="AggregatorPadClass" c:type="GstAggregatorPadClass" @@ -5055,7 +5072,13 @@ blocking operation should be unblocked with the unlock vmethod.</doc> <doc xml:space="preserve">If @automatic_eos is %TRUE, @src will automatically go EOS if a buffer after the total size is returned. By default this is %TRUE but sources that can't return an authoritative size and only know that they're EOS -when trying to read more should set this to %FALSE.</doc> +when trying to read more should set this to %FALSE. + +When @src operates in %GST_FORMAT_TIME, #GstBaseSrc will send an EOS +when a buffer outside of the currently configured segment is pushed if +@automatic_eos is %TRUE. Since 1.16, if @automatic_eos is %FALSE an +EOS will be pushed only when the #GstBaseSrc.create implementation +returns %GST_FLOW_EOS.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> @@ -6923,7 +6946,7 @@ into 8, 16, 32 and 64 bit variables.</doc> <field name="data" writable="1"> <doc xml:space="preserve">Data from which the bit reader will read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </field> @@ -7109,7 +7132,7 @@ can be called on already initialized instances.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the bit reader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -7281,7 +7304,7 @@ Free-function: gst_bit_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">Data from which the #GstBitReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -7422,7 +7445,9 @@ Free-function: g_free</doc> </instance-parameter> </parameters> </method> - <method name="init" c:identifier="gst_bit_writer_init"> + <method name="init" + c:identifier="gst_bit_writer_init" + introspectable="0"> <doc xml:space="preserve">Initializes @bitwriter to an empty instance.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> @@ -7435,7 +7460,8 @@ Free-function: g_free</doc> </parameters> </method> <method name="init_with_data" - c:identifier="gst_bit_writer_init_with_data"> + c:identifier="gst_bit_writer_init_with_data" + introspectable="0"> <doc xml:space="preserve">Initializes @bitwriter with the given memory area @data. IF @initialized is %TRUE it is possible to read @size bits from the #GstBitWriter from the beginning.</doc> @@ -7464,7 +7490,8 @@ Free-function: g_free</doc> </parameters> </method> <method name="init_with_size" - c:identifier="gst_bit_writer_init_with_size"> + c:identifier="gst_bit_writer_init_with_size" + introspectable="0"> <doc xml:space="preserve">Initializes a #GstBitWriter instance and allocates the given data @size.</doc> <return-value transfer-ownership="none"> @@ -7696,14 +7723,20 @@ Free-function: gst_bit_writer_free</doc> <function name="new_with_size" c:identifier="gst_bit_writer_new_with_size" introspectable="0"> - <return-value> + <doc xml:space="preserve">Creates a #GstBitWriter instance with the given initial data size. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new #GstBitWriter instance</doc> <type name="BitWriter" c:type="GstBitWriter*"/> </return-value> <parameters> <parameter name="size" transfer-ownership="none"> + <doc xml:space="preserve">Initial size of data in bytes</doc> <type name="guint32" c:type="guint32"/> </parameter> <parameter name="fixed" transfer-ownership="none"> + <doc xml:space="preserve">If %TRUE the data can't be reallocated</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> @@ -7719,7 +7752,7 @@ in various character encodings.</doc> <field name="data" writable="1"> <doc xml:space="preserve">Data from which the bit reader will read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </field> @@ -7917,7 +7950,7 @@ updates the current position.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #guint8 pointer variable in which to store the result</doc> - <array length="0" zero-terminated="0" c:type="guint8**"> + <array length="0" zero-terminated="0" c:type="const guint8**"> <type name="guint8" c:type="guint8*"/> </array> </parameter> @@ -8265,7 +8298,7 @@ This function will fail if no NUL-terminator was found in in the data.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #gchar pointer variable in which to store the result</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -8511,7 +8544,7 @@ can be called on already initialized instances.</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the #GstByteReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -8655,7 +8688,7 @@ keeps the current position.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #guint8 pointer variable in which to store the result</doc> - <array length="0" zero-terminated="0" c:type="guint8**"> + <array length="0" zero-terminated="0" c:type="const guint8**"> <type name="guint8" c:type="guint8*"/> </array> </parameter> @@ -8971,7 +9004,7 @@ This function will fail if no NUL-terminator was found in in the data.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #gchar pointer variable in which to store the result</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -9309,7 +9342,7 @@ Free-function: gst_byte_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the #GstByteReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -9550,7 +9583,7 @@ read @size bytes from the #GstByteWriter from the beginning.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">Data to write</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -9799,7 +9832,7 @@ read @size bytes from the #GstByteWriter from the beginning.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">UTF16 string to write</doc> - <array c:type="guint16*"> + <array c:type="const guint16*"> <type name="guint16" c:type="guint16"/> </array> </parameter> @@ -9819,7 +9852,7 @@ read @size bytes from the #GstByteWriter from the beginning.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">UTF32 string to write</doc> - <array c:type="guint32*"> + <array c:type="const guint32*"> <type name="guint32" c:type="guint32"/> </array> </parameter> @@ -12510,7 +12543,7 @@ Free-function: gst_bit_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">Data from which the #GstBitReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12520,6 +12553,68 @@ Free-function: gst_bit_reader_free</doc> </parameter> </parameters> </function> + <function name="bit_writer_new" + c:identifier="gst_bit_writer_new" + moved-to="BitWriter.new" + introspectable="0"> + <doc xml:space="preserve">Creates a new, empty #GstBitWriter instance. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new, empty #GstByteWriter instance</doc> + <type name="BitWriter" c:type="GstBitWriter*"/> + </return-value> + </function> + <function name="bit_writer_new_with_data" + c:identifier="gst_bit_writer_new_with_data" + moved-to="BitWriter.new_with_data" + introspectable="0"> + <doc xml:space="preserve">Creates a new #GstBitWriter instance with the given memory area. If +@initialized is %TRUE it is possible to read @size bits from the +#GstBitWriter from the beginnig. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new #GstBitWriter instance</doc> + <type name="BitWriter" c:type="GstBitWriter*"/> + </return-value> + <parameters> + <parameter name="data" transfer-ownership="none"> + <doc xml:space="preserve">Memory area for writing</doc> + <type name="guint8" c:type="guint8*"/> + </parameter> + <parameter name="size" transfer-ownership="none"> + <doc xml:space="preserve">Size of @data in bytes</doc> + <type name="guint" c:type="guint"/> + </parameter> + <parameter name="initialized" transfer-ownership="none"> + <doc xml:space="preserve">if %TRUE the complete data can be read from the beginning</doc> + <type name="gboolean" c:type="gboolean"/> + </parameter> + </parameters> + </function> + <function name="bit_writer_new_with_size" + c:identifier="gst_bit_writer_new_with_size" + moved-to="BitWriter.new_with_size" + introspectable="0"> + <doc xml:space="preserve">Creates a #GstBitWriter instance with the given initial data size. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new #GstBitWriter instance</doc> + <type name="BitWriter" c:type="GstBitWriter*"/> + </return-value> + <parameters> + <parameter name="size" transfer-ownership="none"> + <doc xml:space="preserve">Initial size of data in bytes</doc> + <type name="guint32" c:type="guint32"/> + </parameter> + <parameter name="fixed" transfer-ownership="none"> + <doc xml:space="preserve">If %TRUE the data can't be reallocated</doc> + <type name="gboolean" c:type="gboolean"/> + </parameter> + </parameters> + </function> <function name="byte_reader_new" c:identifier="gst_byte_reader_new" moved-to="ByteReader.new" @@ -12535,7 +12630,7 @@ Free-function: gst_byte_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the #GstByteReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12800,7 +12895,7 @@ Free-function: gst_caps_unref</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">* a pointer with data to typefind</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12856,7 +12951,7 @@ Free-function: gst_caps_unref</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">* a pointer with data to typefind</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstNet-1.0.gir b/girs/GstNet-1.0.gir index 5daf3ce..2356c34 100644 --- a/girs/GstNet-1.0.gir +++ b/girs/GstNet-1.0.gir @@ -214,7 +214,7 @@ MT safe. Caller owns return value (gst_net_time_packet_free to free).</doc> <parameters> <parameter name="buffer" transfer-ownership="none"> <doc xml:space="preserve">a buffer from which to construct the packet, or NULL</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstPbutils-1.0.gir b/girs/GstPbutils-1.0.gir index ca32958..5c70c88 100644 --- a/girs/GstPbutils-1.0.gir +++ b/girs/GstPbutils-1.0.gir @@ -837,7 +837,7 @@ gst_discoverer_stream_info_list_free().</doc> containing informations about how to install the various missing elements for @info to be usable. If you wish to use the strings after the life-time of @info, you will need to copy them.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -2753,13 +2753,13 @@ in debugging.</doc> <type name="gint" c:type="gint"/> </constant> <constant name="PLUGINS_BASE_VERSION_MICRO" - value="90" + value="0" c:type="GST_PLUGINS_BASE_VERSION_MICRO"> <doc xml:space="preserve">The micro version of GStreamer's gst-plugins-base libraries at compile time.</doc> <type name="gint" c:type="gint"/> </constant> <constant name="PLUGINS_BASE_VERSION_MINOR" - value="15" + value="16" c:type="GST_PLUGINS_BASE_VERSION_MINOR"> <doc xml:space="preserve">The minor version of GStreamer's gst-plugins-base libraries at compile time.</doc> <type name="gint" c:type="gint"/> @@ -2791,7 +2791,7 @@ If mpegversion is 4, the "base-profile" field is also set in @caps.</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1. (See below for more details)</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2815,7 +2815,7 @@ Since 1.10</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2865,7 +2865,7 @@ determined.</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2890,7 +2890,7 @@ determined.</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2915,7 +2915,7 @@ Since 1.10</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2957,7 +2957,7 @@ for more details on the parameters.</doc> </parameter> <parameter name="sps" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2979,7 +2979,7 @@ same format as for gst_codec_utils_h264_get_profile().</doc> <parameters> <parameter name="sps" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3026,7 +3026,7 @@ byte. <parameters> <parameter name="sps" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3056,7 +3056,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level struct</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3081,7 +3081,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level for the stream</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3135,7 +3135,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level structure for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3160,7 +3160,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3188,7 +3188,7 @@ parameters.</doc> <parameter name="vis_obj_seq" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3212,7 +3212,7 @@ object sequence start code. Only the first byte <parameter name="vis_obj_seq" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3236,7 +3236,7 @@ object sequence start code. Only the first byte <parameter name="vis_obj_seq" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3281,7 +3281,7 @@ invalid Opus caps.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3344,7 +3344,7 @@ invalid Opus caps.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3411,7 +3411,7 @@ invalid Opus caps.</doc> caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8" fixed-size="256"> + <array zero-terminated="0" c:type="guint8*" fixed-size="256"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3470,7 +3470,7 @@ invalid Opus caps.</doc> caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8" fixed-size="256"> + <array zero-terminated="0" c:type="guint8*" fixed-size="256"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3548,7 +3548,7 @@ installed but no suitable video decoder and no suitable audio decoder).</doc> <parameter name="details" transfer-ownership="none"> <doc xml:space="preserve">NULL-terminated array of installer string details (see below)</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -3633,7 +3633,7 @@ gst_install_plugins_async() instead of this function.</doc> <parameter name="details" transfer-ownership="none"> <doc xml:space="preserve">NULL-terminated array of installer string details</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8" c:type="gchar*"/> </array> </parameter> diff --git a/girs/GstRtp-1.0.gir b/girs/GstRtp-1.0.gir index ee94f7c..bbfc42c 100644 --- a/girs/GstRtp-1.0.gir +++ b/girs/GstRtp-1.0.gir @@ -398,7 +398,7 @@ extension.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">profile-specific data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1154,7 +1154,7 @@ reached.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2341,7 +2341,7 @@ the buffer downstream.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data to set as payload</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3092,6 +3092,14 @@ Variable arguments should be in the form field name, field type <property name="mtu" writable="1" transfer-ownership="none"> <type name="guint" c:type="guint"/> </property> + <property name="onvif-no-rate-control" + version="1.16" + writable="1" + transfer-ownership="none"> + <doc xml:space="preserve">Make the payloader timestamp packets according to the Rate-Control=no +behaviour specified in the ONVIF replay spec.</doc> + <type name="gboolean" c:type="gboolean"/> + </property> <property name="perfect-rtptime" writable="1" transfer-ownership="none"> <doc xml:space="preserve">Try to use the offset fields to generate perfect RTP timestamps. When this option is disabled, RTP timestamps are generated from GST_BUFFER_PTS of diff --git a/girs/GstRtsp-1.0.gir b/girs/GstRtsp-1.0.gir index 6948385..1f2acf8 100644 --- a/girs/GstRtsp-1.0.gir +++ b/girs/GstRtsp-1.0.gir @@ -1967,8 +1967,18 @@ read from @socket which should be used before starting to read new data.</doc> c:identifier="GST_RTSP_HDR_ACCEPT_RANGES" glib:nick="accept-ranges"> </member> - <member name="last" + <member name="frames" value="87" + c:identifier="GST_RTSP_HDR_FRAMES" + glib:nick="frames"> + </member> + <member name="rate_control" + value="88" + c:identifier="GST_RTSP_HDR_RATE_CONTROL" + glib:nick="rate-control"> + </member> + <member name="last" + value="89" c:identifier="GST_RTSP_HDR_LAST" glib:nick="last"> </member> @@ -2620,7 +2630,7 @@ will be replaced by the new body.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -4326,7 +4336,7 @@ are reached. #GST_RTSP_EINTR when @watch was flushing.</doc> </instance-parameter> <parameter name="data" transfer-ownership="full"> <doc xml:space="preserve">the data to queue</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstSdp-1.0.gir b/girs/GstSdp-1.0.gir index dc1324d..b3c7d00 100644 --- a/girs/GstSdp-1.0.gir +++ b/girs/GstSdp-1.0.gir @@ -44,6 +44,11 @@ and/or use gtk-doc annotations. --> c:identifier="GST_MIKEY_ENC_AES_KW_128"> <doc xml:space="preserve">AES Key Wrap using a 128-bit key</doc> </member> + <member name="aes_gcm_128" + value="6" + c:identifier="GST_MIKEY_ENC_AES_GCM_128"> + <doc xml:space="preserve">AES-GCM using a 128-bit key (Since 1.16)</doc> + </member> </enumeration> <record name="MIKEYEncryptInfo" c:type="GstMIKEYEncryptInfo" disguised="1"> </record> @@ -293,7 +298,7 @@ parameters to decrypt and verify the data.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the encrypted envelope key</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -318,7 +323,7 @@ parameters to decrypt and verify the data.</doc> </parameter> <parameter name="rand" transfer-ownership="none"> <doc xml:space="preserve">random data</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -362,7 +367,7 @@ parameters to decrypt and verify the data.</doc> </parameter> <parameter name="ts_value" transfer-ownership="none"> <doc xml:space="preserve">The timestamp value of the specified @type</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -858,7 +863,7 @@ payload.</doc> </parameter> <parameter name="vf_data" transfer-ownership="none"> <doc xml:space="preserve">the Valid From data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -868,7 +873,7 @@ payload.</doc> </parameter> <parameter name="vt_data" transfer-ownership="none"> <doc xml:space="preserve">the Valid To data</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -898,7 +903,7 @@ payload.</doc> </parameter> <parameter name="key_data" transfer-ownership="none"> <doc xml:space="preserve">the key of type @key_type</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -927,7 +932,7 @@ salt data will be removed.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">the salt</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -952,7 +957,7 @@ salt data will be removed.</doc> </parameter> <parameter name="spi_data" transfer-ownership="none"> <doc xml:space="preserve">the SPI/MKI data</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -982,7 +987,7 @@ salt data will be removed.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the encrypted envelope key</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1007,7 +1012,7 @@ salt data will be removed.</doc> </parameter> <parameter name="rand" transfer-ownership="none"> <doc xml:space="preserve">random values</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1037,7 +1042,7 @@ and @val.</doc> </parameter> <parameter name="val" transfer-ownership="none"> <doc xml:space="preserve">@len bytes of data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1142,7 +1147,7 @@ at @idx.</doc> </parameter> <parameter name="ts_value" transfer-ownership="none"> <doc xml:space="preserve">the timestamp value</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1424,6 +1429,11 @@ specific security protocol</doc> c:identifier="GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN"> <doc xml:space="preserve">SRTP prefix length</doc> </member> + <member name="aead_auth_tag_len" + value="20" + c:identifier="GST_MIKEY_SP_SRTP_AEAD_AUTH_TAG_LEN"> + <doc xml:space="preserve">AEAD authentication tag length (Since 1.16)</doc> + </member> </enumeration> <enumeration name="MIKEYTSType" c:type="GstMIKEYTSType"> <doc xml:space="preserve">Specifies the timestamp type.</doc> @@ -2798,7 +2808,7 @@ gst_sdp_media_init() before it can be used again.</doc> </parameter> <parameter name="repeat" transfer-ownership="none"> <doc xml:space="preserve">the repeat times</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -3943,7 +3953,7 @@ stack and initialized with gst_sdp_message_init().</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the start of the buffer</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -4079,7 +4089,7 @@ a conference session.</doc> </parameter> <parameter name="repeat" transfer-ownership="none"> <doc xml:space="preserve">the repeat times</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -4322,7 +4332,7 @@ a=rtcp-fb:(payload) (param1) [param2]...</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the start of the buffer</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstTag-1.0.gir b/girs/GstTag-1.0.gir index 4307b88..ebda563 100644 --- a/girs/GstTag-1.0.gir +++ b/girs/GstTag-1.0.gir @@ -1039,7 +1039,7 @@ WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">string data</doc> - <array length="1" zero-terminated="0" c:type="gchar*"> + <array length="1" zero-terminated="0" c:type="const gchar*"> <type name="gchar"/> </array> </parameter> @@ -1050,7 +1050,7 @@ WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).</doc> <parameter name="env_vars" transfer-ownership="none"> <doc xml:space="preserve"> a NULL-terminated string array of environment variable names, or NULL</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -1391,7 +1391,7 @@ data (we can't trust the declared mime type).</doc> <parameters> <parameter name="image_data" transfer-ownership="none"> <doc xml:space="preserve">the (encoded) image</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1423,7 +1423,7 @@ more information on image tags in GStreamer.</doc> </parameter> <parameter name="image_data" transfer-ownership="none"> <doc xml:space="preserve">the (encoded) image</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1505,7 +1505,7 @@ vorbiscomment packet.</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data to convert</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1515,7 +1515,7 @@ vorbiscomment packet.</doc> </parameter> <parameter name="id_data" transfer-ownership="none"> <doc xml:space="preserve">identification data at start of stream</doc> - <array length="3" zero-terminated="0" c:type="guint8*"> + <array length="3" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1551,7 +1551,7 @@ vorbiscomment packet.</doc> </parameter> <parameter name="id_data" transfer-ownership="none"> <doc xml:space="preserve">identification data at start of stream</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1596,7 +1596,7 @@ parsed data.</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">128 bytes of data containing the ID3v1 tag</doc> - <array zero-terminated="0" c:type="guint8*" fixed-size="128"> + <array zero-terminated="0" c:type="const guint8*" fixed-size="128"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1655,7 +1655,7 @@ is put in the beginning of the buffer.</doc> </parameter> <parameter name="id_data" transfer-ownership="none"> <doc xml:space="preserve">identification data at start of stream</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1693,7 +1693,7 @@ be used</doc> <parameter name="schemas" transfer-ownership="none"> <doc xml:space="preserve"> %NULL terminated array of schemas to be used on serialization</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> diff --git a/girs/GstVideo-1.0.gir b/girs/GstVideo-1.0.gir index deb1fb3..761bbcf 100644 --- a/girs/GstVideo-1.0.gir +++ b/girs/GstVideo-1.0.gir @@ -1716,7 +1716,7 @@ of cores.</doc> <type name="utf8" c:type="gchar*"/> </constant> <constant name="VIDEO_FORMATS_ALL" - value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" + value="{ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" c:type="GST_VIDEO_FORMATS_ALL"> <type name="utf8" c:type="gchar*"/> </constant> @@ -1888,7 +1888,7 @@ Performs the multiplication, meta->matrix X matrix.</doc> </instance-parameter> <parameter name="matrix" transfer-ownership="none"> <doc xml:space="preserve">a 4x4 transformation matrix to be applied</doc> - <type name="gfloat" c:type="const gfloat"/> + <type name="gfloat" c:type="const gfloat*"/> </parameter> </parameters> </method> @@ -2900,7 +2900,7 @@ type, or %GST_VIDEO_CAPTION_TYPE_UNKNOWN.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pixel lines</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the number of pixels on one line</doc> @@ -3453,6 +3453,30 @@ the CIE XYZ colorspace.</doc> glib:nick="adobergb"> <doc xml:space="preserve">Adobe RGB primaries. Since: 1.8</doc> </member> + <member name="smptest428" + value="9" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTEST428" + glib:nick="smptest428"> + <doc xml:space="preserve">SMPTE ST 428 primaries. Since: 1.16</doc> + </member> + <member name="smpterp431" + value="10" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTERP431" + glib:nick="smpterp431"> + <doc xml:space="preserve">SMPTE RP 431 primaries. Since: 1.16</doc> + </member> + <member name="smpteeg432" + value="11" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432" + glib:nick="smpteeg432"> + <doc xml:space="preserve">SMPTE EG 432 primaries. Since: 1.16</doc> + </member> + <member name="ebu3213" + value="12" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_EBU3213" + glib:nick="ebu3213"> + <doc xml:space="preserve">EBU 3213 primaries. Since: 1.16</doc> + </member> <function name="get_info" c:identifier="gst_video_color_primaries_get_info" version="1.6"> @@ -3563,7 +3587,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output offsets</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -3572,7 +3596,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output scale</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -5320,7 +5344,7 @@ performance is achived when @quantizer is a power of 2. </parameter> <parameter name="quantizer" transfer-ownership="none"> <doc xml:space="preserve">quantizer</doc> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the width of the lines</doc> @@ -7200,6 +7224,18 @@ for details about the layout and packing of these formats in memory.</doc> glib:nick="y410"> <doc xml:space="preserve">packed 4:4:4 YUV, 10 bits per channel(A-V-Y-U...) (Since: 1.16)</doc> </member> + <member name="vuya" + value="84" + c:identifier="GST_VIDEO_FORMAT_VUYA" + glib:nick="vuya"> + <doc xml:space="preserve">packed 4:4:4 YUV with alpha channel (V0-U0-Y0-A0...) (Since: 1.16)</doc> + </member> + <member name="bgr10a2_le" + value="85" + c:identifier="GST_VIDEO_FORMAT_BGR10A2_LE" + glib:nick="bgr10a2-le"> + <doc xml:space="preserve">packed 4:4:4 RGB with alpha channel(B-G-R-A), 10 bits for R/G/B channel and MSB 2 bits for alpha channel (Since: 1.16)</doc> + </member> <function name="from_fourcc" c:identifier="gst_video_format_from_fourcc"> <doc xml:space="preserve">Converts a FOURCC value into the corresponding #GstVideoFormat. If the FOURCC cannot be represented by #GstVideoFormat, @@ -7567,11 +7603,11 @@ formats this means that a complete pixel needs to be packed.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointers to the destination data planes</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="stride" transfer-ownership="none"> <doc xml:space="preserve">strides of the destination planes</doc> - <type name="gint" c:type="const gint"/> + <type name="gint" c:type="const gint*"/> </parameter> <parameter name="chroma_site" transfer-ownership="none"> <doc xml:space="preserve">the chroma siting of the target when subsampled (not used)</doc> @@ -7625,11 +7661,11 @@ separate step after unpacking.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointers to the data planes</doc> - <type name="gpointer" c:type="const gpointer"/> + <type name="gpointer" c:type="const gpointer*"/> </parameter> <parameter name="stride" transfer-ownership="none"> <doc xml:space="preserve">strides of the planes</doc> - <type name="gint" c:type="const gint"/> + <type name="gint" c:type="const gint*"/> </parameter> <parameter name="x" transfer-ownership="none"> <doc xml:space="preserve">the x position in the image to start from</doc> @@ -8003,7 +8039,7 @@ All video planes of @buffer will be mapped and the pointers will be set in c:type="GstVideoGLTextureUploadMeta*"/> </parameter> <parameter name="texture_id" transfer-ownership="none"> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> </parameters> </callback> @@ -8064,7 +8100,7 @@ to upload something to an OpenGL texture.</doc> </instance-parameter> <parameter name="texture_id" transfer-ownership="none"> <doc xml:space="preserve">the texture IDs to upload to</doc> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> </parameters> </method> @@ -11346,7 +11382,7 @@ gst_video_scaler_get_info().</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">source pixels lines</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="dest" transfer-ownership="none" @@ -12460,7 +12496,7 @@ the parity check bits).</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">The user data content of the Ancillary packet. Does not contain the ADF, DID, SDID nor CS.</doc> - <array length="4" zero-terminated="0" c:type="guint8*"> + <array length="4" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12552,7 +12588,7 @@ to get the Ancillary data that might be present on that line.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">The line of data to parse</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12669,7 +12705,7 @@ parameters.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">The Closed Caption data</doc> - <array length="3" zero-terminated="0" c:type="guint8*"> + <array length="3" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12704,7 +12740,7 @@ parameters.</doc> </parameter> <parameter name="texture_type" transfer-ownership="none"> <doc xml:space="preserve">array of #GstVideoGLTextureType</doc> - <type name="VideoGLTextureType" c:type="GstVideoGLTextureType"/> + <type name="VideoGLTextureType" c:type="GstVideoGLTextureType*"/> </parameter> <parameter name="upload" transfer-ownership="none" @@ -12802,13 +12838,13 @@ gst_buffer_add_video_meta_full() with them.</doc> </parameter> <parameter name="offset" transfer-ownership="none"> <doc xml:space="preserve">offset of each plane</doc> - <array zero-terminated="0" c:type="gsize" fixed-size="4"> + <array zero-terminated="0" c:type="gsize*" fixed-size="4"> <type name="gsize" c:type="gsize"/> </array> </parameter> <parameter name="stride" transfer-ownership="none"> <doc xml:space="preserve">stride of each plane</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -12916,8 +12952,9 @@ parameters.</doc> version="1.10"> <doc xml:space="preserve">Attaches #GstVideoTimeCodeMeta metadata to @buffer with the given parameters.</doc> - <return-value transfer-ownership="none"> - <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer.</doc> + <return-value transfer-ownership="none" nullable="1"> + <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer, or +(since 1.16) %NULL if the timecode was invalid.</doc> <type name="VideoTimeCodeMeta" c:type="GstVideoTimeCodeMeta*"/> </return-value> <parameters> @@ -12937,7 +12974,8 @@ parameters.</doc> <doc xml:space="preserve">Attaches #GstVideoTimeCodeMeta metadata to @buffer with the given parameters.</doc> <return-value transfer-ownership="none"> - <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer.</doc> + <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer, or +(since 1.16) %NULL if the timecode was invalid.</doc> <type name="VideoTimeCodeMeta" c:type="GstVideoTimeCodeMeta*"/> </return-value> <parameters> @@ -13832,7 +13870,7 @@ not contain a valid chroma description.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pixel lines</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the number of pixels on one line</doc> @@ -13991,7 +14029,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output offsets</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -14000,7 +14038,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output scale</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -14219,7 +14257,7 @@ performance is achived when @quantizer is a power of 2. </parameter> <parameter name="quantizer" transfer-ownership="none"> <doc xml:space="preserve">quantizer</doc> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the width of the lines</doc> diff --git a/meson.build b/meson.build index 9d4b763..cfb3439 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gstreamer-sharp', ['cs', 'c'], version: '1.15.90', +project('gstreamer-sharp', ['cs', 'c'], version: '1.16.0', meson_version: '>=0.48', license: 'LGPL') if host_machine.system() == 'osx' diff --git a/sources/generated/Gst.Audio/AudioDecoder.cs b/sources/generated/Gst.Audio/AudioDecoder.cs index fa9c917..a53e95c 100644 --- a/sources/generated/Gst.Audio/AudioDecoder.cs +++ b/sources/generated/Gst.Audio/AudioDecoder.cs @@ -1356,6 +1356,15 @@ namespace Gst.Audio { } [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_audio_decoder_finish_subframe(IntPtr raw, IntPtr buf); + + public Gst.FlowReturn FinishSubframe(Gst.Buffer buf) { + int raw_ret = gst_audio_decoder_finish_subframe(Handle, buf == null ? IntPtr.Zero : buf.Handle); + Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret; + return ret; + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_audio_decoder_get_allocator(IntPtr raw, out IntPtr allocator, IntPtr parms); public void GetAllocator(out Gst.Allocator allocator, out Gst.AllocationParams parms) { diff --git a/sources/generated/Gst.Audio/Global.cs b/sources/generated/Gst.Audio/Global.cs index ef43c33..8a7886c 100644 --- a/sources/generated/Gst.Audio/Global.cs +++ b/sources/generated/Gst.Audio/Global.cs @@ -329,6 +329,19 @@ namespace Gst.Audio { } [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_buffer_add_audio_meta(IntPtr buffer, IntPtr info, UIntPtr samples, UIntPtr offsets); + + public static Gst.Audio.AudioMeta BufferAddAudioMeta(Gst.Buffer buffer, Gst.Audio.AudioInfo info, ulong samples, ulong offsets) { + IntPtr raw_ret = gst_buffer_add_audio_meta(buffer == null ? IntPtr.Zero : buffer.Handle, info == null ? IntPtr.Zero : info.Handle, new UIntPtr (samples), new UIntPtr (offsets)); + Gst.Audio.AudioMeta ret = Gst.Audio.AudioMeta.New (raw_ret); + return ret; + } + + public static Gst.Audio.AudioMeta BufferAddAudioMeta(Gst.Buffer buffer, Gst.Audio.AudioInfo info, ulong samples) { + return BufferAddAudioMeta (buffer, info, samples, 0); + } + + [DllImport("libgstaudio-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_buffer_get_audio_downmix_meta_for_channels(IntPtr buffer, int[] to_position, int to_channels); public static Gst.Audio.AudioDownmixMeta BufferGetAudioDownmixMetaForChannels(Gst.Buffer buffer, Gst.Audio.AudioChannelPosition[] to_position, int to_channels) { diff --git a/sources/generated/Gst.Base/AggregatorPad.cs b/sources/generated/Gst.Base/AggregatorPad.cs index bbc62c7..be49f6f 100644 --- a/sources/generated/Gst.Base/AggregatorPad.cs +++ b/sources/generated/Gst.Base/AggregatorPad.cs @@ -18,6 +18,21 @@ namespace Gst.Base { CreateNativeObject (new string [0], new GLib.Value [0]); } + [GLib.Property ("emit-signals")] + public bool EmitSignals { + get { + GLib.Value val = GetProperty ("emit-signals"); + bool ret = (bool) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("emit-signals", val); + val.Dispose (); + } + } + public Gst.Segment Segment { get { unsafe { @@ -27,6 +42,67 @@ namespace Gst.Base { } } + [GLib.Signal("buffer-consumed")] + public event Gst.Base.BufferConsumedHandler BufferConsumed { + add { + this.AddSignalHandler ("buffer-consumed", value, typeof (Gst.Base.BufferConsumedArgs)); + } + remove { + this.RemoveSignalHandler ("buffer-consumed", value); + } + } + + static BufferConsumedNativeDelegate BufferConsumed_cb_delegate; + static BufferConsumedNativeDelegate BufferConsumedVMCallback { + get { + if (BufferConsumed_cb_delegate == null) + BufferConsumed_cb_delegate = new BufferConsumedNativeDelegate (BufferConsumed_cb); + return BufferConsumed_cb_delegate; + } + } + + static void OverrideBufferConsumed (GLib.GType gtype) + { + OverrideBufferConsumed (gtype, BufferConsumedVMCallback); + } + + static void OverrideBufferConsumed (GLib.GType gtype, BufferConsumedNativeDelegate callback) + { + OverrideVirtualMethod (gtype, "buffer-consumed", callback); + } + [UnmanagedFunctionPointer (CallingConvention.Cdecl)] + delegate void BufferConsumedNativeDelegate (IntPtr inst, IntPtr _object); + + static void BufferConsumed_cb (IntPtr inst, IntPtr _object) + { + try { + AggregatorPad __obj = GLib.Object.GetObject (inst, false) as AggregatorPad; + __obj.OnBufferConsumed (_object == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (_object, typeof (Gst.Buffer), false)); + } catch (Exception e) { + GLib.ExceptionManager.RaiseUnhandledException (e, false); + } + } + + [GLib.DefaultSignalHandler(Type=typeof(Gst.Base.AggregatorPad), ConnectionMethod="OverrideBufferConsumed")] + protected virtual void OnBufferConsumed (Gst.Buffer _object) + { + InternalBufferConsumed (_object); + } + + private void InternalBufferConsumed (Gst.Buffer _object) + { + GLib.Value ret = GLib.Value.Empty; + GLib.ValueArray inst_and_params = new GLib.ValueArray (2); + GLib.Value[] vals = new GLib.Value [2]; + vals [0] = new GLib.Value (this); + inst_and_params.Append (vals [0]); + vals [1] = new GLib.Value (_object); + inst_and_params.Append (vals [1]); + g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); + foreach (GLib.Value v in vals) + v.Dispose (); + } + static FlushNativeDelegate Flush_cb_delegate; static FlushNativeDelegate FlushVMCallback { get { diff --git a/sources/generated/Gst.Base/BitWriter.cs b/sources/generated/Gst.Base/BitWriter.cs index c6aaebd..4785dfa 100644 --- a/sources/generated/Gst.Base/BitWriter.cs +++ b/sources/generated/Gst.Base/BitWriter.cs @@ -96,39 +96,6 @@ namespace Gst.Base { } [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_bit_writer_init(IntPtr raw); - - public void Init() { - IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); - System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); - gst_bit_writer_init(this_as_native); - ReadNative (this_as_native, ref this); - System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); - } - - [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_bit_writer_init_with_data(IntPtr raw, byte[] data, uint size, bool initialized); - - public void InitWithData(byte[] data, uint size, bool initialized) { - IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); - System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); - gst_bit_writer_init_with_data(this_as_native, data, size, initialized); - ReadNative (this_as_native, ref this); - System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); - } - - [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_bit_writer_init_with_size(IntPtr raw, uint size, bool mfixed); - - public void InitWithSize(uint size, bool mfixed) { - IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this)); - System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false); - gst_bit_writer_init_with_size(this_as_native, size, mfixed); - ReadNative (this_as_native, ref this); - System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); - } - - [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_bit_writer_put_bits_uint16(IntPtr raw, ushort value, uint nbits); public bool PutBitsUint16(ushort value, uint nbits) { diff --git a/sources/generated/Gst.Base/BufferConsumedHandler.cs b/sources/generated/Gst.Base/BufferConsumedHandler.cs new file mode 100644 index 0000000..a191a14 --- /dev/null +++ b/sources/generated/Gst.Base/BufferConsumedHandler.cs @@ -0,0 +1,18 @@ +// This file was generated by the Gtk# code generator. +// Any changes made will be lost if regenerated. + +namespace Gst.Base { + + using System; + + public delegate void BufferConsumedHandler(object o, BufferConsumedArgs args); + + public class BufferConsumedArgs : GLib.SignalArgs { + public Gst.Buffer Object{ + get { + return (Gst.Buffer) Args [0]; + } + } + + } +} diff --git a/sources/generated/Gst.PbUtils/Constants.cs b/sources/generated/Gst.PbUtils/Constants.cs index bfeef31..92240a6 100644 --- a/sources/generated/Gst.PbUtils/Constants.cs +++ b/sources/generated/Gst.PbUtils/Constants.cs @@ -17,8 +17,8 @@ namespace Gst.PbUtils { public const string ENCODING_CATEGORY_ONLINE_SERVICE = @"online-service"; public const string ENCODING_CATEGORY_STORAGE_EDITING = @"storage-editing"; public const int PLUGINS_BASE_VERSION_MAJOR = 1; - public const int PLUGINS_BASE_VERSION_MICRO = 90; - public const int PLUGINS_BASE_VERSION_MINOR = 15; + public const int PLUGINS_BASE_VERSION_MICRO = 0; + public const int PLUGINS_BASE_VERSION_MINOR = 16; public const int PLUGINS_BASE_VERSION_NANO = 0; #endregion } diff --git a/sources/generated/Gst.PbUtils/Global.cs b/sources/generated/Gst.PbUtils/Global.cs index 9a1df79..db2204c 100644 --- a/sources/generated/Gst.PbUtils/Global.cs +++ b/sources/generated/Gst.PbUtils/Global.cs @@ -250,32 +250,6 @@ namespace Gst.PbUtils { } [DllImport("libgstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern int gst_install_plugins_async(IntPtr[] details, IntPtr ctx, Gst.PbUtilsSharp.InstallPluginsResultFuncNative func, IntPtr user_data); - - public static Gst.PbUtils.InstallPluginsReturn InstallPluginsAsync(string[] details, Gst.PbUtils.InstallPluginsContext ctx, Gst.PbUtils.InstallPluginsResultFunc func) { - int cnt_details = details == null ? 0 : details.Length; - IntPtr[] native_details = new IntPtr [cnt_details + 1]; - for (int i = 0; i < cnt_details; i++) - native_details [i] = GLib.Marshaller.StringToPtrGStrdup (details[i]); - native_details [cnt_details] = IntPtr.Zero; - IntPtr native_ctx = GLib.Marshaller.StructureToPtrAlloc (ctx); - Gst.PbUtilsSharp.InstallPluginsResultFuncWrapper func_wrapper = new Gst.PbUtilsSharp.InstallPluginsResultFuncWrapper (func); - func_wrapper.PersistUntilCalled (); - int raw_ret = gst_install_plugins_async(native_details, native_ctx, func_wrapper.NativeDelegate, IntPtr.Zero); - Gst.PbUtils.InstallPluginsReturn ret = (Gst.PbUtils.InstallPluginsReturn) raw_ret; - for (int i = 0; i < native_details.Length - 1; i++) { - details [i] = GLib.Marshaller.Utf8PtrToString (native_details[i]); - GLib.Marshaller.Free (native_details[i]); - } - Marshal.FreeHGlobal (native_ctx); - return ret; - } - - public static Gst.PbUtils.InstallPluginsReturn InstallPluginsAsync(string[] details, Gst.PbUtils.InstallPluginsResultFunc func) { - return InstallPluginsAsync (details, Gst.PbUtils.InstallPluginsContext.Zero, func); - } - - [DllImport("libgstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_install_plugins_installation_in_progress(); public static bool InstallPluginsInstallationInProgress() { @@ -303,30 +277,6 @@ namespace Gst.PbUtils { } [DllImport("libgstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern int gst_install_plugins_sync(IntPtr[] details, IntPtr ctx); - - public static Gst.PbUtils.InstallPluginsReturn InstallPluginsSync(string[] details, Gst.PbUtils.InstallPluginsContext ctx) { - int cnt_details = details == null ? 0 : details.Length; - IntPtr[] native_details = new IntPtr [cnt_details + 1]; - for (int i = 0; i < cnt_details; i++) - native_details [i] = GLib.Marshaller.StringToPtrGStrdup (details[i]); - native_details [cnt_details] = IntPtr.Zero; - IntPtr native_ctx = GLib.Marshaller.StructureToPtrAlloc (ctx); - int raw_ret = gst_install_plugins_sync(native_details, native_ctx); - Gst.PbUtils.InstallPluginsReturn ret = (Gst.PbUtils.InstallPluginsReturn) raw_ret; - for (int i = 0; i < native_details.Length - 1; i++) { - details [i] = GLib.Marshaller.Utf8PtrToString (native_details[i]); - GLib.Marshaller.Free (native_details[i]); - } - Marshal.FreeHGlobal (native_ctx); - return ret; - } - - public static Gst.PbUtils.InstallPluginsReturn InstallPluginsSync(string[] details) { - return InstallPluginsSync (details, Gst.PbUtils.InstallPluginsContext.Zero); - } - - [DllImport("libgstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_is_missing_plugin_message(IntPtr msg); public static bool IsMissingPluginMessage(Gst.Message msg) { diff --git a/sources/generated/Gst.Rtp/RTPBasePayload.cs b/sources/generated/Gst.Rtp/RTPBasePayload.cs index 4dcd040..1135783 100644 --- a/sources/generated/Gst.Rtp/RTPBasePayload.cs +++ b/sources/generated/Gst.Rtp/RTPBasePayload.cs @@ -63,6 +63,21 @@ namespace Gst.Rtp { } } + [GLib.Property ("onvif-no-rate-control")] + public bool OnvifNoRateControl { + get { + GLib.Value val = GetProperty ("onvif-no-rate-control"); + bool ret = (bool) val; + val.Dispose (); + return ret; + } + set { + GLib.Value val = new GLib.Value(value); + SetProperty("onvif-no-rate-control", val); + val.Dispose (); + } + } + [GLib.Property ("perfect-rtptime")] public bool PerfectRtptime { get { diff --git a/sources/generated/Gst.Rtsp/RTSPHeaderField.cs b/sources/generated/Gst.Rtsp/RTSPHeaderField.cs index 82fb9d6..6413c12 100644 --- a/sources/generated/Gst.Rtsp/RTSPHeaderField.cs +++ b/sources/generated/Gst.Rtsp/RTSPHeaderField.cs @@ -97,7 +97,9 @@ namespace Gst.Rtsp { MediaProperties = 84, SeekStyle = 85, AcceptRanges = 86, - Last = 87, + Frames = 87, + RateControl = 88, + Last = 89, } internal class RTSPHeaderFieldGType { diff --git a/sources/generated/Gst.Sdp/MIKEYEncAlg.cs b/sources/generated/Gst.Sdp/MIKEYEncAlg.cs index 3b310a5..b8b7709 100644 --- a/sources/generated/Gst.Sdp/MIKEYEncAlg.cs +++ b/sources/generated/Gst.Sdp/MIKEYEncAlg.cs @@ -12,6 +12,7 @@ namespace Gst.Sdp { Null = 0, AesCm128 = 1, AesKw128 = 2, + AesGcm128 = 6, } #endregion } diff --git a/sources/generated/Gst.Sdp/MIKEYSecSRTP.cs b/sources/generated/Gst.Sdp/MIKEYSecSRTP.cs index 8f7522a..26d1545 100644 --- a/sources/generated/Gst.Sdp/MIKEYSecSRTP.cs +++ b/sources/generated/Gst.Sdp/MIKEYSecSRTP.cs @@ -22,6 +22,7 @@ namespace Gst.Sdp { SrtpAuth = 10, AuthTagLen = 11, SrtpPrefixLen = 12, + AeadAuthTagLen = 20, } #endregion } diff --git a/sources/generated/Gst.Sdp/SDPMessage.cs b/sources/generated/Gst.Sdp/SDPMessage.cs index 41403f1..0628afa 100644 --- a/sources/generated/Gst.Sdp/SDPMessage.cs +++ b/sources/generated/Gst.Sdp/SDPMessage.cs @@ -211,16 +211,12 @@ namespace Gst.Sdp { int cnt_repeat = repeat == null ? 0 : repeat.Length; IntPtr[] native_repeat = new IntPtr [cnt_repeat + 1]; for (int i = 0; i < cnt_repeat; i++) - native_repeat [i] = GLib.Marshaller.StringToPtrGStrdup (repeat[i]); + native_repeat [i] = GLib.Marshaller.StringToPtrGStrdup(repeat[i]); native_repeat [cnt_repeat] = IntPtr.Zero; int raw_ret = gst_sdp_message_add_time(Handle, native_start, native_stop, native_repeat); Gst.Sdp.SDPResult ret = (Gst.Sdp.SDPResult) raw_ret; GLib.Marshaller.Free (native_start); GLib.Marshaller.Free (native_stop); - for (int i = 0; i < native_repeat.Length - 1; i++) { - repeat [i] = GLib.Marshaller.Utf8PtrToString (native_repeat[i]); - GLib.Marshaller.Free (native_repeat[i]); - } return ret; } diff --git a/sources/generated/Gst.Sdp/SDPTime.cs b/sources/generated/Gst.Sdp/SDPTime.cs index 5c264a6..30a0af1 100644 --- a/sources/generated/Gst.Sdp/SDPTime.cs +++ b/sources/generated/Gst.Sdp/SDPTime.cs @@ -52,7 +52,7 @@ namespace Gst.Sdp { int cnt_repeat = repeat == null ? 0 : repeat.Length; IntPtr[] native_repeat = new IntPtr [cnt_repeat + 1]; for (int i = 0; i < cnt_repeat; i++) - native_repeat [i] = GLib.Marshaller.StringToPtrGStrdup (repeat[i]); + native_repeat [i] = GLib.Marshaller.StringToPtrGStrdup(repeat[i]); native_repeat [cnt_repeat] = IntPtr.Zero; int raw_ret = gst_sdp_time_set(this_as_native, native_start, native_stop, native_repeat); Gst.Sdp.SDPResult ret = (Gst.Sdp.SDPResult) raw_ret; @@ -60,10 +60,6 @@ namespace Gst.Sdp { System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native); GLib.Marshaller.Free (native_start); GLib.Marshaller.Free (native_stop); - for (int i = 0; i < native_repeat.Length - 1; i++) { - repeat [i] = GLib.Marshaller.Utf8PtrToString (native_repeat[i]); - GLib.Marshaller.Free (native_repeat[i]); - } return ret; } diff --git a/sources/generated/Gst.Video/Constants.cs b/sources/generated/Gst.Video/Constants.cs index adcc739..e9e9459 100644 --- a/sources/generated/Gst.Video/Constants.cs +++ b/sources/generated/Gst.Video/Constants.cs @@ -65,7 +65,7 @@ namespace Gst.Video { public const string VIDEO_DECODER_SRC_NAME = @"src"; public const string VIDEO_ENCODER_SINK_NAME = @"sink"; public const string VIDEO_ENCODER_SRC_NAME = @"src"; - public const string VIDEO_FORMATS_ALL = @"{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }"; + public const string VIDEO_FORMATS_ALL = @"{ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }"; public const string VIDEO_FPS_RANGE = @"(fraction) [ 0, max ]"; public const int VIDEO_MAX_COMPONENTS = 4; public const int VIDEO_MAX_PLANES = 4; diff --git a/sources/generated/Gst.Video/VideoColorPrimaries.cs b/sources/generated/Gst.Video/VideoColorPrimaries.cs index bdea5bd..115d7d4 100644 --- a/sources/generated/Gst.Video/VideoColorPrimaries.cs +++ b/sources/generated/Gst.Video/VideoColorPrimaries.cs @@ -19,6 +19,10 @@ namespace Gst.Video { Film = 6, Bt2020 = 7, Adobergb = 8, + Smptest428 = 9, + Smpterp431 = 10, + Smpteeg432 = 11, + Ebu3213 = 12, } internal class VideoColorPrimariesGType { diff --git a/sources/generated/Gst.Video/VideoFormat.cs b/sources/generated/Gst.Video/VideoFormat.cs index 70225fe..327adb7 100644 --- a/sources/generated/Gst.Video/VideoFormat.cs +++ b/sources/generated/Gst.Video/VideoFormat.cs @@ -94,6 +94,8 @@ namespace Gst.Video { Nv1210le40 = 81, Y210 = 82, Y410 = 83, + Vuya = 84, + Bgr10a2Le = 85, } internal class VideoFormatGType { diff --git a/sources/generated/Gst/Constants.cs b/sources/generated/Gst/Constants.cs index 9004575..f2c474d 100644 --- a/sources/generated/Gst/Constants.cs +++ b/sources/generated/Gst/Constants.cs @@ -165,8 +165,8 @@ namespace Gst { public const int VALUE_LESS_THAN = -1; public const int VALUE_UNORDERED = 2; public const int VERSION_MAJOR = 1; - public const int VERSION_MICRO = 90; - public const int VERSION_MINOR = 15; + public const int VERSION_MICRO = 0; + public const int VERSION_MINOR = 16; public const int VERSION_NANO = 0; #endregion } diff --git a/sources/generated/Gst/ElementFactory.cs b/sources/generated/Gst/ElementFactory.cs index 804036e..66cc7ef 100644 --- a/sources/generated/Gst/ElementFactory.cs +++ b/sources/generated/Gst/ElementFactory.cs @@ -197,17 +197,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_element_factory_get_uri_protocols(IntPtr raw); - - public string[] UriProtocols { - get { - IntPtr raw_ret = gst_element_factory_get_uri_protocols(Handle); - string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); - return ret; - } - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern int gst_element_factory_get_uri_type(IntPtr raw); public Gst.URIType UriType { diff --git a/sources/generated/Gst/Event.cs b/sources/generated/Gst/Event.cs index 5cdd234..4373e30 100644 --- a/sources/generated/Gst/Event.cs +++ b/sources/generated/Gst/Event.cs @@ -209,6 +209,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_event_parse_seek_trickmode_interval(IntPtr raw, out ulong interval); + + public ulong ParseSeekTrickmodeInterval() { + ulong interval; + gst_event_parse_seek_trickmode_interval(Handle, out interval); + return interval; + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_event_parse_segment(IntPtr raw, IntPtr segment); public Gst.Segment ParseSegment() { @@ -355,6 +364,15 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_event_set_seek_trickmode_interval(IntPtr raw, ulong interval); + + public ulong SeekTrickmodeInterval { + set { + gst_event_set_seek_trickmode_interval(Handle, value); + } + } + + [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gst_event_set_stream(IntPtr raw, IntPtr stream); public Gst.Stream Stream { diff --git a/sources/generated/Gst/Global.cs b/sources/generated/Gst/Global.cs index 4fe3c26..615d7c1 100644 --- a/sources/generated/Gst/Global.cs +++ b/sources/generated/Gst/Global.cs @@ -184,15 +184,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[] MetaApiTypeGetTags(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 MetaApiTypeHasTag(GLib.GType api, uint tag) { @@ -209,15 +200,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; } @@ -303,14 +290,10 @@ namespace Gst { int cnt_system_identifiers = system_identifiers == null ? 0 : system_identifiers.Length; IntPtr[] native_system_identifiers = new IntPtr [cnt_system_identifiers + 1]; for (int i = 0; i < cnt_system_identifiers; i++) - native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup (system_identifiers[i]); + native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup(system_identifiers[i]); native_system_identifiers [cnt_system_identifiers] = IntPtr.Zero; IntPtr raw_ret = gst_protection_filter_systems_by_available_decryptors(native_system_identifiers); string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, true); - for (int i = 0; i < native_system_identifiers.Length - 1; i++) { - system_identifiers [i] = GLib.Marshaller.Utf8PtrToString (native_system_identifiers[i]); - GLib.Marshaller.Free (native_system_identifiers[i]); - } return ret; } @@ -339,14 +322,10 @@ namespace Gst { int cnt_system_identifiers = system_identifiers == null ? 0 : system_identifiers.Length; IntPtr[] native_system_identifiers = new IntPtr [cnt_system_identifiers + 1]; for (int i = 0; i < cnt_system_identifiers; i++) - native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup (system_identifiers[i]); + native_system_identifiers [i] = GLib.Marshaller.StringToPtrGStrdup(system_identifiers[i]); native_system_identifiers [cnt_system_identifiers] = IntPtr.Zero; IntPtr raw_ret = gst_protection_select_system(native_system_identifiers); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); - for (int i = 0; i < native_system_identifiers.Length - 1; i++) { - system_identifiers [i] = GLib.Marshaller.Utf8PtrToString (native_system_identifiers[i]); - GLib.Marshaller.Free (native_system_identifiers[i]); - } return ret; } 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; } diff --git a/sources/generated/Gst/Parse.cs b/sources/generated/Gst/Parse.cs index b115b7b..51a6d11 100644 --- a/sources/generated/Gst/Parse.cs +++ b/sources/generated/Gst/Parse.cs @@ -85,15 +85,11 @@ namespace Gst { int cnt_argv = argv == null ? 0 : argv.Length; IntPtr[] native_argv = new IntPtr [cnt_argv + 1]; for (int i = 0; i < cnt_argv; i++) - native_argv [i] = GLib.Marshaller.StringToPtrGStrdup (argv[i]); + native_argv [i] = GLib.Marshaller.StringToPtrGStrdup(argv[i]); native_argv [cnt_argv] = IntPtr.Zero; IntPtr error = IntPtr.Zero; IntPtr raw_ret = gst_parse_launchv(native_argv, out error); Gst.Element ret = GLib.Object.GetObject(raw_ret) as Gst.Element; - for (int i = 0; i < native_argv.Length - 1; i++) { - argv [i] = GLib.Marshaller.Utf8PtrToString (native_argv[i]); - GLib.Marshaller.Free (native_argv[i]); - } if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } @@ -105,15 +101,11 @@ namespace Gst { int cnt_argv = argv == null ? 0 : argv.Length; IntPtr[] native_argv = new IntPtr [cnt_argv + 1]; for (int i = 0; i < cnt_argv; i++) - native_argv [i] = GLib.Marshaller.StringToPtrGStrdup (argv[i]); + native_argv [i] = GLib.Marshaller.StringToPtrGStrdup(argv[i]); native_argv [cnt_argv] = IntPtr.Zero; IntPtr error = IntPtr.Zero; IntPtr raw_ret = gst_parse_launchv_full(native_argv, context == null ? IntPtr.Zero : context.Handle, (int) flags, out error); Gst.Element ret = GLib.Object.GetObject(raw_ret) as Gst.Element; - for (int i = 0; i < native_argv.Length - 1; i++) { - argv [i] = GLib.Marshaller.Utf8PtrToString (native_argv[i]); - GLib.Marshaller.Free (native_argv[i]); - } if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } diff --git a/sources/generated/Gst/Plugin.cs b/sources/generated/Gst/Plugin.cs index c1c5299..bd1e166 100644 --- a/sources/generated/Gst/Plugin.cs +++ b/sources/generated/Gst/Plugin.cs @@ -130,31 +130,19 @@ namespace Gst { int cnt_env_vars = env_vars == null ? 0 : env_vars.Length; IntPtr[] native_env_vars = new IntPtr [cnt_env_vars + 1]; for (int i = 0; i < cnt_env_vars; i++) - native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup (env_vars[i]); + native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup(env_vars[i]); native_env_vars [cnt_env_vars] = IntPtr.Zero; int cnt_paths = paths == null ? 0 : paths.Length; IntPtr[] native_paths = new IntPtr [cnt_paths + 1]; for (int i = 0; i < cnt_paths; i++) - native_paths [i] = GLib.Marshaller.StringToPtrGStrdup (paths[i]); + native_paths [i] = GLib.Marshaller.StringToPtrGStrdup(paths[i]); native_paths [cnt_paths] = IntPtr.Zero; int cnt_names = names == null ? 0 : names.Length; IntPtr[] native_names = new IntPtr [cnt_names + 1]; for (int i = 0; i < cnt_names; i++) - native_names [i] = GLib.Marshaller.StringToPtrGStrdup (names[i]); + native_names [i] = GLib.Marshaller.StringToPtrGStrdup(names[i]); native_names [cnt_names] = IntPtr.Zero; gst_plugin_add_dependency(Handle, native_env_vars, native_paths, native_names, (int) flags); - for (int i = 0; i < native_env_vars.Length - 1; i++) { - env_vars [i] = GLib.Marshaller.Utf8PtrToString (native_env_vars[i]); - GLib.Marshaller.Free (native_env_vars[i]); - } - for (int i = 0; i < native_paths.Length - 1; i++) { - paths [i] = GLib.Marshaller.Utf8PtrToString (native_paths[i]); - GLib.Marshaller.Free (native_paths[i]); - } - for (int i = 0; i < native_names.Length - 1; i++) { - names [i] = GLib.Marshaller.Utf8PtrToString (native_names[i]); - GLib.Marshaller.Free (native_names[i]); - } } public void AddDependency(Gst.PluginDependencyFlags flags) { diff --git a/sources/generated/Gst/Tag.cs b/sources/generated/Gst/Tag.cs index 77000e0..128dfd3 100644 --- a/sources/generated/Gst/Tag.cs +++ b/sources/generated/Gst/Tag.cs @@ -135,22 +135,14 @@ namespace Gst { int cnt_data = data == null ? 0 : data.Length; IntPtr[] native_data = new IntPtr [cnt_data]; for (int i = 0; i < cnt_data; i++) - native_data [i] = GLib.Marshaller.StringToPtrGStrdup (data[i]); + native_data [i] = GLib.Marshaller.StringToPtrGStrdup(data[i]); int cnt_env_vars = env_vars == null ? 0 : env_vars.Length; IntPtr[] native_env_vars = new IntPtr [cnt_env_vars + 1]; for (int i = 0; i < cnt_env_vars; i++) - native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup (env_vars[i]); + native_env_vars [i] = GLib.Marshaller.StringToPtrGStrdup(env_vars[i]); native_env_vars [cnt_env_vars] = IntPtr.Zero; IntPtr raw_ret = gst_tag_freeform_string_to_utf8(native_data, size, native_env_vars); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); - for (int i = 0; i < native_data.Length; i++) { - data [i] = GLib.Marshaller.Utf8PtrToString (native_data[i]); - GLib.Marshaller.Free (native_data[i]); - } - for (int i = 0; i < native_env_vars.Length - 1; i++) { - env_vars [i] = GLib.Marshaller.Utf8PtrToString (native_env_vars[i]); - GLib.Marshaller.Free (native_env_vars[i]); - } return ret; } @@ -470,14 +462,10 @@ namespace Gst { int cnt_schemas = schemas == null ? 0 : schemas.Length; IntPtr[] native_schemas = new IntPtr [cnt_schemas + 1]; for (int i = 0; i < cnt_schemas; i++) - native_schemas [i] = GLib.Marshaller.StringToPtrGStrdup (schemas[i]); + native_schemas [i] = GLib.Marshaller.StringToPtrGStrdup(schemas[i]); native_schemas [cnt_schemas] = IntPtr.Zero; IntPtr raw_ret = gst_tag_list_to_xmp_buffer(list == null ? IntPtr.Zero : list.Handle, read_only, native_schemas); Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Buffer), true); - for (int i = 0; i < native_schemas.Length - 1; i++) { - schemas [i] = GLib.Marshaller.Utf8PtrToString (native_schemas[i]); - GLib.Marshaller.Free (native_schemas[i]); - } return ret; } diff --git a/sources/generated/Gst/TypeFindFactory.cs b/sources/generated/Gst/TypeFindFactory.cs index b39c38e..db36fed 100644 --- a/sources/generated/Gst/TypeFindFactory.cs +++ b/sources/generated/Gst/TypeFindFactory.cs @@ -74,17 +74,6 @@ namespace Gst { } [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gst_type_find_factory_get_extensions(IntPtr raw); - - public string[] Extensions { - get { - IntPtr raw_ret = gst_type_find_factory_get_extensions(Handle); - string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false); - return ret; - } - } - - [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_type_find_factory_has_function(IntPtr raw); public bool HasFunction { diff --git a/sources/generated/gstreamer-sharp-api.xml b/sources/generated/gstreamer-sharp-api.xml index 508cfe6..931b7e7 100644 --- a/sources/generated/gstreamer-sharp-api.xml +++ b/sources/generated/gstreamer-sharp-api.xml @@ -2143,7 +2143,7 @@ </parameters> </virtual_method> <virtual_method name="GetOptions" cname="get_options"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar**" array="true" null_term_array="true" /> <parameters /> </virtual_method> <virtual_method name="ReleaseBuffer" cname="release_buffer"> @@ -2196,7 +2196,7 @@ <parameters /> </method> <method name="GetOptions" cname="gst_buffer_pool_get_options"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar**" array="true" null_term_array="true" /> <parameters /> </method> <method name="HasOption" cname="gst_buffer_pool_has_option"> @@ -3998,7 +3998,7 @@ <return-type type="GList*" element_type="GstStaticPadTemplate" /> </method> <method name="GetUriProtocols" cname="gst_element_factory_get_uri_protocols"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar* const*" array="true" null_term_array="true" /> <parameters /> </method> <method name="GetUriType" cname="gst_element_factory_get_uri_type"> @@ -5189,9 +5189,9 @@ <method name="AddDependency" cname="gst_plugin_add_dependency"> <return-type type="void" /> <parameters> - <parameter allow-none="1" name="env_vars" type="const-gchar**" array="true" null_term_array="true" /> - <parameter allow-none="1" name="paths" type="const-gchar**" array="true" null_term_array="true" /> - <parameter allow-none="1" name="names" type="const-gchar**" array="true" null_term_array="true" /> + <parameter allow-none="1" name="env_vars" type="const gchar**" array="true" null_term_array="true" /> + <parameter allow-none="1" name="paths" type="const gchar**" array="true" null_term_array="true" /> + <parameter allow-none="1" name="names" type="const gchar**" array="true" null_term_array="true" /> <parameter name="flags" type="GstPluginDependencyFlags" /> </parameters> </method> @@ -5915,7 +5915,7 @@ <parameters /> </method> <method name="GetExtensions" cname="gst_type_find_factory_get_extensions"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar* const*" array="true" null_term_array="true" /> <parameters /> </method> <method name="HasFunction" cname="gst_type_find_factory_has_function"> @@ -7551,6 +7551,12 @@ <parameter name="stop" type="gint64*" owned="true" pass_as="out" /> </parameters> </method> + <method name="ParseSeekTrickmodeInterval" cname="gst_event_parse_seek_trickmode_interval" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="interval" type="guint64" owned="true" pass_as="out" /> + </parameters> + </method> <method name="ParseSegment" cname="gst_event_parse_segment"> <return-type type="void" /> <parameters> @@ -7655,6 +7661,12 @@ <parameter name="offset" type="gint64" /> </parameters> </method> + <method name="SetSeekTrickmodeInterval" cname="gst_event_set_seek_trickmode_interval" version="1.16"> + <return-type type="void" /> + <parameters> + <parameter name="interval" type="guint64" /> + </parameters> + </method> <method name="SetSeqnum" cname="gst_event_set_seqnum"> <return-type type="void" /> <parameters> @@ -8647,7 +8659,7 @@ <parameters /> </method> <method name="ApiTypeGetTags" cname="gst_meta_api_type_get_tags" shared="true" version="1.2"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar* const*" array="true" null_term_array="true" /> <parameters> <parameter name="api" type="GType" /> </parameters> @@ -8663,7 +8675,7 @@ <return-type type="GType" /> <parameters> <parameter name="api" type="const-gchar*" /> - <parameter name="tags" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="tags" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="GetInfo" cname="gst_meta_get_info" shared="true"> @@ -9568,7 +9580,7 @@ <return-type type="void" array_index="1" /> <parameters> <parameter name="n_formats" type="gint" array_index="1" /> - <parameter name="formats" type="GstFormat*" array="true" array_length_param_index="0" /> + <parameter name="formats" type="const GstFormat*" array="true" array_length_param_index="0" /> </parameters> </method> <method name="SetLatency" cname="gst_query_set_latency"> @@ -10870,7 +10882,7 @@ <parameters /> </method> <method name="Peek" cname="gst_type_find_peek"> - <return-type type="guint8*" array="true" array_length_param_index="1" /> + <return-type type="const guint8*" array="true" array_length_param_index="1" /> <parameters> <parameter name="offset" type="gint64" /> <parameter name="size" type="guint*" owned="true" pass_as="out" /> @@ -11289,7 +11301,7 @@ </parameters> </method> <method name="MetaApiTypeGetTags" cname="gst_meta_api_type_get_tags" shared="true" version="1.2"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar* const*" array="true" null_term_array="true" /> <parameters> <parameter name="api" type="GType" /> </parameters> @@ -11305,7 +11317,7 @@ <return-type type="GType" /> <parameters> <parameter name="api" type="const-gchar*" /> - <parameter name="tags" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="tags" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="MetaGetInfo" cname="gst_meta_get_info" shared="true"> @@ -11399,7 +11411,7 @@ <method name="ProtectionFilterSystemsByAvailableDecryptors" cname="gst_protection_filter_systems_by_available_decryptors" shared="true" version="1.14"> <return-type type="gchar***" owned="true" array="true" null_term_array="true" /> <parameters> - <parameter name="system_identifiers" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="system_identifiers" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="ProtectionMetaApiGetType" cname="gst_protection_meta_api_get_type" shared="true"> @@ -11413,7 +11425,7 @@ <method name="ProtectionSelectSystem" cname="gst_protection_select_system" shared="true" version="1.6"> <return-type type="const-gchar*" /> <parameters> - <parameter name="system_identifiers" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="system_identifiers" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="QueryTypeGetFlags" cname="gst_query_type_get_flags" shared="true"> @@ -11690,8 +11702,8 @@ <constant value="-1" ctype="gint" gtype="gint" name="VALUE_LESS_THAN" /> <constant value="2" ctype="gint" gtype="gint" name="VALUE_UNORDERED" /> <constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR" /> - <constant value="90" ctype="gint" gtype="gint" name="VERSION_MICRO" /> - <constant value="15" ctype="gint" gtype="gint" name="VERSION_MINOR" /> + <constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO" /> + <constant value="16" ctype="gint" gtype="gint" name="VERSION_MINOR" /> <constant value="0" ctype="gint" gtype="gint" name="VERSION_NANO" /> </object> <class name="Parse" cname="GstParse" disable_void_ctor="1"> @@ -11739,14 +11751,14 @@ <method name="ParseLaunchv" cname="gst_parse_launchv" shared="true"> <return-type type="GstElement*" /> <parameters throws="1"> - <parameter name="argv" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="argv" type="const gchar**" array="true" null_term_array="true" /> <parameter name="error" type="GError**" /> </parameters> </method> <method name="ParseLaunchvFull" cname="gst_parse_launchv_full" shared="true"> <return-type type="GstElement*" /> <parameters throws="1"> - <parameter name="argv" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="argv" type="const gchar**" array="true" null_term_array="true" /> <parameter allow-none="1" name="context" type="GstParseContext*"> <warning>missing glib:type-name</warning> </parameter> @@ -11929,14 +11941,14 @@ <return-type type="void" array_index="1" /> <parameters> <parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref" array_index="1" /> - <parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0" /> + <parameter allow-none="1" name="argv" type="char****" owned="true" pass_as="ref" array="true" array_length_param_index="0" /> </parameters> </method> <method name="InitCheck" cname="gst_init_check" shared="true" hidden="true"> <return-type type="gboolean" array_index="1" /> <parameters throws="1"> <parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref" array_index="1" /> - <parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0" /> + <parameter allow-none="1" name="argv" type="char****" owned="true" pass_as="ref" array="true" array_length_param_index="0" /> <parameter name="error" type="GError**" /> </parameters> </method> @@ -12520,9 +12532,9 @@ <method name="TagFreeformStringToUtf8" cname="gst_tag_freeform_string_to_utf8" shared="true"> <return-type type="gchar*" owned="true" /> <parameters> - <parameter name="data" type="const-gchar*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const gchar*" array="true" array_length_param_index="1" /> <parameter name="size" type="gint" /> - <parameter name="env_vars" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="env_vars" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="TagFromId3Tag" cname="gst_tag_from_id3_tag" shared="true"> @@ -12632,7 +12644,7 @@ <warning>missing glib:type-name</warning> </return-type> <parameters> - <parameter name="image_data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="image_data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="image_data_len" type="guint" /> <parameter name="image_type" type="GstTagImageType" /> </parameters> @@ -12643,7 +12655,7 @@ <parameter name="tag_list" type="GstTagList*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="image_data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="image_data" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="image_data_len" type="guint" array_index="1" /> <parameter name="id3_picture_type" type="guint" /> </parameters> @@ -12685,9 +12697,9 @@ <warning>missing glib:type-name</warning> </return-type> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="size" type="gsize" /> - <parameter name="id_data" type="guint8*" array="true" array_length_param_index="3" /> + <parameter name="id_data" type="const guint8*" array="true" array_length_param_index="3" /> <parameter name="id_data_length" type="guint" array_index="2" /> <parameter allow-none="1" name="vendor_string" type="gchar*" owned="true" pass_as="out" /> </parameters> @@ -12700,7 +12712,7 @@ <parameter name="buffer" type="GstBuffer*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="id_data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="id_data" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="id_data_length" type="guint" array_index="1" /> <parameter allow-none="1" name="vendor_string" type="gchar*" owned="true" pass_as="out" /> </parameters> @@ -12720,7 +12732,7 @@ <warning>missing glib:type-name</warning> </return-type> <parameters> - <parameter name="data" type="guint8*" array="true" array_len="128" /> + <parameter name="data" type="const guint8*" array="true" array_len="128" /> </parameters> </method> <method name="TagListToExifBuffer" cname="gst_tag_list_to_exif_buffer" shared="true"> @@ -12753,7 +12765,7 @@ <parameter name="list" type="GstTagList*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="id_data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="id_data" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="id_data_length" type="guint" array_index="1" /> <parameter allow-none="1" name="vendor_string" type="const-gchar*" /> </parameters> @@ -12767,7 +12779,7 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="read_only" type="gboolean" /> - <parameter name="schemas" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="schemas" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="TagParseExtendedComment" cname="gst_tag_parse_extended_comment" shared="true"> @@ -12857,7 +12869,7 @@ <method name="FormatsContains" cname="gst_formats_contains" shared="true" hidden="true"> <return-type type="gboolean" /> <parameters> - <parameter name="formats" type="GstFormat*" array="true" null_term_array="true" /> + <parameter name="formats" type="const GstFormat*" array="true" null_term_array="true" /> <parameter name="format" type="GstFormat" /> </parameters> </method> @@ -12955,7 +12967,7 @@ <method name="UtilDumpMem" cname="gst_util_dump_mem" shared="true"> <return-type type="void" /> <parameters> - <parameter name="mem" type="guchar*" array="true" array_length_param_index="1" /> + <parameter name="mem" type="const guchar*" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> </parameters> </method> @@ -14377,6 +14389,14 @@ <parameter name="frames" type="gint" /> </parameters> </method> + <method name="FinishSubframe" cname="gst_audio_decoder_finish_subframe" version="1.16"> + <return-type type="GstFlowReturn" /> + <parameters> + <parameter name="buf" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="GetAllocator" cname="gst_audio_decoder_get_allocator"> <return-type type="void" /> <parameters> @@ -15205,7 +15225,7 @@ <method name="SetChannelPositions" cname="gst_audio_ring_buffer_set_channel_positions"> <return-type type="void" /> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" /> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" /> </parameters> </method> <method name="SetFlushing" cname="gst_audio_ring_buffer_set_flushing"> @@ -15440,8 +15460,8 @@ </parameter> <parameter name="format" type="GstAudioFormat" /> <parameter name="channels" type="gint" array_index="4" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2" /> </parameters> </method> <method name="Truncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> @@ -15682,7 +15702,7 @@ <parameter name="format" type="GstAudioFormat" /> <parameter name="rate" type="gint" /> <parameter name="channels" type="gint" /> - <parameter allow-none="1" name="position" type="GstAudioChannelPosition*" array="true" /> + <parameter allow-none="1" name="position" type="const GstAudioChannelPosition*" array="true" /> </parameters> </method> <method name="ToCaps" cname="gst_audio_info_to_caps"> @@ -15914,8 +15934,8 @@ </parameter> <parameter name="format" type="GstAudioFormat" /> <parameter name="channels" type="gint" array_index="4" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2" /> </parameters> </method> <method name="AudioBufferTruncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> @@ -15948,7 +15968,7 @@ <method name="AudioChannelPositionsToMask" cname="gst_audio_channel_positions_to_mask" shared="true"> <return-type type="gboolean" /> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" array_length_param_index="1" /> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="1" /> <parameter name="channels" type="gint" /> <parameter name="force_order" type="gboolean" /> <parameter name="channel_mask" type="guint64*" owned="true" pass_as="out" /> @@ -15957,7 +15977,7 @@ <method name="AudioChannelPositionsToString" cname="gst_audio_channel_positions_to_string" shared="true"> <return-type type="gchar*" owned="true" /> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" array_length_param_index="1" /> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="1" /> <parameter name="channels" type="gint" /> </parameters> </method> @@ -15971,7 +15991,7 @@ <method name="AudioCheckValidChannelPositions" cname="gst_audio_check_valid_channel_positions" shared="true"> <return-type type="gboolean" /> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" array_length_param_index="1" /> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="1" /> <parameter name="channels" type="gint" /> <parameter name="force_order" type="gboolean" /> </parameters> @@ -16038,8 +16058,8 @@ <return-type type="gboolean" array_index="3" /> <parameters> <parameter name="channels" type="gint" array_index="3" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="0" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="0" /> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="0" /> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="0" /> <parameter name="reorder_map" type="gint*" array="true" array_length_param_index="0" /> </parameters> </method> @@ -16054,7 +16074,7 @@ <method name="AudioIec61937Payload" cname="gst_audio_iec61937_payload" shared="true"> <return-type type="gboolean" /> <parameters> - <parameter name="src" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="src" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="src_n" type="guint" /> <parameter name="dst" type="guint8*" array="true" array_length_param_index="3" /> <parameter name="dst_n" type="guint" array_index="2" /> @@ -16079,8 +16099,8 @@ <parameter name="n_length" type="gsize" /> <parameter name="format" type="GstAudioFormat" /> <parameter name="channels" type="gint" array_index="5" /> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="3" /> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="3" /> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="3" /> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="3" /> </parameters> </method> <method name="AudioResamplerNew" cname="gst_audio_resampler_new" shared="true"> @@ -16132,13 +16152,28 @@ <parameter name="buffer" type="GstBuffer*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="from_position" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="from_position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2" /> <parameter name="from_channels" type="gint" array_index="1" /> - <parameter name="to_position" type="GstAudioChannelPosition*" array="true" array_length_param_index="4" /> + <parameter name="to_position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="4" /> <parameter name="to_channels" type="gint" array_index="3" /> <parameter name="matrix" type="gfloat" /> </parameters> </method> + <method name="BufferAddAudioMeta" cname="gst_buffer_add_audio_meta" shared="true" version="1.16"> + <return-type type="GstAudioMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="info" type="GstAudioInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="samples" type="gsize" /> + <parameter allow-none="1" name="offsets" type="gsize" /> + </parameters> + </method> <method name="BufferGetAudioDownmixMetaForChannels" cname="gst_buffer_get_audio_downmix_meta_for_channels" shared="true"> <return-type type="GstAudioDownmixMeta*"> <warning>missing glib:type-name</warning> @@ -16147,7 +16182,7 @@ <parameter name="buffer" type="GstBuffer*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="to_position" type="GstAudioChannelPosition*" array="true" array_length_param_index="2" /> + <parameter name="to_position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2" /> <parameter name="to_channels" type="gint" array_index="1" /> </parameters> </method> @@ -16808,6 +16843,7 @@ </return-type> <parameters /> </method> + <property name="EmitSignals" cname="emit-signals" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16" /> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstPad*" hidden="true" /> <field cname="segment" access="public" writeable="false" readable="true" is_callback="false" name="Segment" type="GstSegment"> <warning>missing glib:type-name</warning> @@ -16816,6 +16852,14 @@ <warning>missing glib:type-name</warning> </field> <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> + <signal name="BufferConsumed" cname="buffer-consumed" when="first"> + <return-type type="void" /> + <parameters> + <parameter name="_object" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </signal> </object> <object name="BaseParse" cname="GstBaseParse" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstElement"> <class_struct cname="GstBaseParseClass"> @@ -18424,7 +18468,7 @@ <struct name="BaseSrcPrivate" cname="GstBaseSrcPrivate" opaque="true" hidden="true" /> <struct name="BaseTransformPrivate" cname="GstBaseTransformPrivate" opaque="true" hidden="true" /> <struct name="BitReader" cname="GstBitReader" opaque="false" hidden="false"> - <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="1" /> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="const guint8*" array="true" array_length_param_index="1" /> <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="guint" /> <field cname="byte" access="public" writeable="true" readable="true" is_callback="false" name="Byte" type="guint" /> <field cname="bit" access="public" writeable="true" readable="true" is_callback="false" name="Bit" type="guint" /> @@ -18476,7 +18520,7 @@ <method name="Init" cname="gst_bit_reader_init"> <return-type type="void" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> </parameters> </method> @@ -18564,25 +18608,6 @@ <return-type type="guint" /> <parameters /> </method> - <method name="Init" cname="gst_bit_writer_init"> - <return-type type="void" /> - <parameters /> - </method> - <method name="InitWithData" cname="gst_bit_writer_init_with_data"> - <return-type type="void" /> - <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> - <parameter name="size" type="guint" /> - <parameter name="initialized" type="gboolean" /> - </parameters> - </method> - <method name="InitWithSize" cname="gst_bit_writer_init_with_size"> - <return-type type="void" /> - <parameters> - <parameter name="size" type="guint32" /> - <parameter name="fixed" type="gboolean" /> - </parameters> - </method> <method name="PutBitsUint16" cname="gst_bit_writer_put_bits_uint16"> <return-type type="gboolean" /> <parameters> @@ -18640,7 +18665,7 @@ </method> </struct> <struct name="ByteReader" cname="GstByteReader" opaque="1" hidden="false"> - <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="1" /> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="const guint8*" array="true" array_length_param_index="1" /> <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="guint" /> <field cname="byte" access="public" writeable="true" readable="true" is_callback="false" name="Byte" type="guint" /> <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" /> @@ -18716,7 +18741,7 @@ <method name="PutData" cname="gst_byte_writer_put_data"> <return-type type="gboolean" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> </parameters> </method> @@ -18801,13 +18826,13 @@ <method name="PutStringUtf16" cname="gst_byte_writer_put_string_utf16"> <return-type type="gboolean" /> <parameters> - <parameter name="data" type="guint16*" array="true" null_term_array="true" /> + <parameter name="data" type="const guint16*" array="true" null_term_array="true" /> </parameters> </method> <method name="PutStringUtf32" cname="gst_byte_writer_put_string_utf32"> <return-type type="gboolean" /> <parameters> - <parameter name="data" type="guint32*" array="true" null_term_array="true" /> + <parameter name="data" type="const guint32*" array="true" null_term_array="true" /> </parameters> </method> <method name="PutStringUtf8" cname="gst_byte_writer_put_string_utf8"> @@ -19026,7 +19051,7 @@ </return-type> <parameters> <parameter allow-none="1" name="obj" type="GstObject*" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="size" type="gsize" array_index="1" /> <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> </parameters> @@ -19037,7 +19062,7 @@ </return-type> <parameters> <parameter allow-none="1" name="obj" type="GstObject*" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="size" type="gsize" array_index="1" /> <parameter allow-none="1" name="extension" type="const-gchar*" /> <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out" /> @@ -19567,7 +19592,7 @@ <field cname="remote_time" access="public" writeable="true" readable="true" is_callback="false" name="RemoteTime" type="guint64" /> <constructor cname="gst_net_time_packet_new"> <parameters> - <parameter name="buffer" type="guint8*" array="true" /> + <parameter name="buffer" type="const guint8*" array="true" /> </parameters> </constructor> <method name="Copy" cname="gst_net_time_packet_copy"> @@ -19965,7 +19990,7 @@ <parameters /> </method> <method name="GetMissingElementsInstallerDetails" cname="gst_discoverer_info_get_missing_elements_installer_details" version="1.4"> - <return-type type="const-gchar**" array="true" null_term_array="true" /> + <return-type type="const gchar**" array="true" null_term_array="true" /> <parameters /> </method> <method name="GetResult" cname="gst_discoverer_info_get_result"> @@ -20481,14 +20506,14 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="len" type="guint" array_index="1" /> </parameters> </method> <method name="CodecUtilsAacGetChannels" cname="gst_codec_utils_aac_get_channels" shared="true"> <return-type type="guint" /> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20501,21 +20526,21 @@ <method name="CodecUtilsAacGetLevel" cname="gst_codec_utils_aac_get_level" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> <method name="CodecUtilsAacGetProfile" cname="gst_codec_utils_aac_get_profile" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> <method name="CodecUtilsAacGetSampleRate" cname="gst_codec_utils_aac_get_sample_rate" shared="true"> <return-type type="guint" /> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20531,14 +20556,14 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="sps" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="sps" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="len" type="guint" array_index="1" /> </parameters> </method> <method name="CodecUtilsH264GetLevel" cname="gst_codec_utils_h264_get_level" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="sps" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="sps" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20551,7 +20576,7 @@ <method name="CodecUtilsH264GetProfile" cname="gst_codec_utils_h264_get_profile" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="sps" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="sps" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20561,14 +20586,14 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="len" type="guint" array_index="1" /> </parameters> </method> <method name="CodecUtilsH265GetLevel" cname="gst_codec_utils_h265_get_level" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20581,14 +20606,14 @@ <method name="CodecUtilsH265GetProfile" cname="gst_codec_utils_h265_get_profile" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> <method name="CodecUtilsH265GetTier" cname="gst_codec_utils_h265_get_tier" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20598,21 +20623,21 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="vis_obj_seq" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="vis_obj_seq" type="const guint8*" array="true" array_length_param_index="2" /> <parameter name="len" type="guint" array_index="1" /> </parameters> </method> <method name="CodecUtilsMpeg4videoGetLevel" cname="gst_codec_utils_mpeg4video_get_level" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="vis_obj_seq" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="vis_obj_seq" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> <method name="CodecUtilsMpeg4videoGetProfile" cname="gst_codec_utils_mpeg4video_get_profile" shared="true"> <return-type type="const-gchar*" /> <parameters> - <parameter name="vis_obj_seq" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="vis_obj_seq" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -20626,7 +20651,7 @@ <parameter name="channel_mapping_family" type="guint8" /> <parameter name="stream_count" type="guint8" /> <parameter name="coupled_count" type="guint8" /> - <parameter allow-none="1" name="channel_mapping" type="guint8*" array="true" /> + <parameter allow-none="1" name="channel_mapping" type="const guint8*" array="true" /> </parameters> </method> <method name="CodecUtilsOpusCreateCapsFromHeader" cname="gst_codec_utils_opus_create_caps_from_header" shared="true" version="1.8"> @@ -20652,7 +20677,7 @@ <parameter name="channel_mapping_family" type="guint8" /> <parameter name="stream_count" type="guint8" /> <parameter name="coupled_count" type="guint8" /> - <parameter allow-none="1" name="channel_mapping" type="guint8*" array="true" /> + <parameter allow-none="1" name="channel_mapping" type="const guint8*" array="true" /> <parameter name="pre_skip" type="guint16" /> <parameter name="output_gain" type="gint16" /> </parameters> @@ -20668,7 +20693,7 @@ <parameter name="channel_mapping_family" type="guint8*" owned="true" pass_as="out" /> <parameter name="stream_count" type="guint8*" owned="true" pass_as="out" /> <parameter name="coupled_count" type="guint8*" owned="true" pass_as="out" /> - <parameter name="channel_mapping" type="guint8*" owned="true" pass_as="out" array="true" array_len="256" /> + <parameter name="channel_mapping" type="guint8**" owned="true" pass_as="out" array="true" array_len="256" /> </parameters> </method> <method name="CodecUtilsOpusParseHeader" cname="gst_codec_utils_opus_parse_header" shared="true" version="1.8" hidden="true"> @@ -20682,7 +20707,7 @@ <parameter name="channel_mapping_family" type="guint8*" owned="true" pass_as="out" /> <parameter name="stream_count" type="guint8*" owned="true" pass_as="out" /> <parameter name="coupled_count" type="guint8*" owned="true" pass_as="out" /> - <parameter name="channel_mapping" type="guint8*" owned="true" pass_as="out" array="true" array_len="256" /> + <parameter name="channel_mapping" type="guint8**" owned="true" pass_as="out" array="true" array_len="256" /> <parameter name="pre_skip" type="guint16*" owned="true" pass_as="out" /> <parameter name="output_gain" type="gint16*" owned="true" pass_as="out" /> </parameters> @@ -20699,7 +20724,7 @@ <method name="InstallPluginsAsync" cname="gst_install_plugins_async" shared="true"> <return-type type="GstInstallPluginsReturn" /> <parameters> - <parameter name="details" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="details" type="const gchar* const*" array="true" null_term_array="true" /> <parameter allow-none="1" name="ctx" type="GstInstallPluginsContext*"> <warning>missing glib:type-name</warning> </parameter> @@ -20722,7 +20747,7 @@ <method name="InstallPluginsSync" cname="gst_install_plugins_sync" shared="true"> <return-type type="GstInstallPluginsReturn" /> <parameters> - <parameter name="details" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="details" type="const gchar* const*" array="true" null_term_array="true" /> <parameter allow-none="1" name="ctx" type="GstInstallPluginsContext*"> <warning>missing glib:type-name</warning> </parameter> @@ -20912,8 +20937,8 @@ <constant value="online-service" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_ONLINE_SERVICE" /> <constant value="storage-editing" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_STORAGE_EDITING" /> <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MAJOR" /> - <constant value="90" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO" /> - <constant value="15" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR" /> + <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO" /> + <constant value="16" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR" /> <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO" /> </object> </namespace> @@ -21034,7 +21059,7 @@ <method name="Push" cname="gst_rtp_base_audio_payload_push"> <return-type type="GstFlowReturn" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="payload_len" type="guint" /> <parameter name="timestamp" type="guint64" /> </parameters> @@ -21308,6 +21333,7 @@ <property name="MaxPtime" cname="max-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="MinPtime" cname="min-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="Mtu" cname="mtu" type="guint" readable="true" writeable="true" construct="false" construct-only="false" /> + <property name="OnvifNoRateControl" cname="onvif-no-rate-control" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16" /> <property name="PerfectRtptime" cname="perfect-rtptime" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="Pt" cname="pt" type="guint" readable="true" writeable="true" construct="false" construct-only="false" /> <property name="PtimeMultiple" cname="ptime-multiple" type="gint64" readable="true" writeable="true" construct="false" construct-only="false" /> @@ -21463,7 +21489,7 @@ <method name="AddProfileSpecificExt" cname="gst_rtcp_packet_add_profile_specific_ext"> <return-type type="gboolean" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="len" type="guint" /> </parameters> </method> @@ -21678,7 +21704,7 @@ <parameters> <parameter name="type" type="GstRTCPSDESType" /> <parameter name="len" type="guint8" array_index="2" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> </parameters> </method> <method name="SdesAddItem" cname="gst_rtcp_packet_sdes_add_item"> @@ -22723,7 +22749,9 @@ <member cname="GST_RTSP_HDR_MEDIA_PROPERTIES" name="MediaProperties" value="84" /> <member cname="GST_RTSP_HDR_SEEK_STYLE" name="SeekStyle" value="85" /> <member cname="GST_RTSP_HDR_ACCEPT_RANGES" name="AcceptRanges" value="86" /> - <member cname="GST_RTSP_HDR_LAST" name="Last" value="87" /> + <member cname="GST_RTSP_HDR_FRAMES" name="Frames" value="87" /> + <member cname="GST_RTSP_HDR_RATE_CONTROL" name="RateControl" value="88" /> + <member cname="GST_RTSP_HDR_LAST" name="Last" value="89" /> </enum> <enum name="RTSPMsgType" cname="GstRTSPMsgType" type="enum" gtype="gst_rtsp_msg_type_get_type"> <member cname="GST_RTSP_MESSAGE_INVALID" name="Invalid" value="0" /> @@ -23555,7 +23583,7 @@ <method name="SetBody" cname="gst_rtsp_message_set_body"> <return-type type="GstRTSPResult" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> </parameters> </method> @@ -23882,7 +23910,7 @@ <method name="WriteData" cname="gst_rtsp_watch_write_data"> <return-type type="GstRTSPResult" /> <parameters> - <parameter name="data" type="guint8**" owned="true" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8**" owned="true" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> <parameter allow-none="1" name="id" type="guint*" owned="true" pass_as="out" /> </parameters> @@ -24164,6 +24192,7 @@ <member cname="GST_MIKEY_ENC_NULL" name="Null" value="0" /> <member cname="GST_MIKEY_ENC_AES_CM_128" name="AesCm128" value="1" /> <member cname="GST_MIKEY_ENC_AES_KW_128" name="AesKw128" value="2" /> + <member cname="GST_MIKEY_ENC_AES_GCM_128" name="AesGcm128" value="6" /> </enum> <enum name="MIKEYKVType" cname="GstMIKEYKVType" type="enum"> <member cname="GST_MIKEY_KV_NULL" name="Null" value="0" /> @@ -24218,6 +24247,7 @@ <member cname="GST_MIKEY_SP_SRTP_SRTP_AUTH" name="SrtpAuth" value="10" /> <member cname="GST_MIKEY_SP_SRTP_AUTH_TAG_LEN" name="AuthTagLen" value="11" /> <member cname="GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN" name="SrtpPrefixLen" value="12" /> + <member cname="GST_MIKEY_SP_SRTP_AEAD_AUTH_TAG_LEN" name="AeadAuthTagLen" value="20" /> </enum> <enum name="MIKEYTSType" cname="GstMIKEYTSType" type="enum"> <member cname="GST_MIKEY_TS_TYPE_NTP_UTC" name="NtpUtc" value="0" /> @@ -24308,14 +24338,14 @@ <parameters> <parameter name="C" type="GstMIKEYCacheType" /> <parameter name="data_len" type="guint16" array_index="2" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> </parameters> </method> <method name="AddRand" cname="gst_mikey_message_add_rand" version="1.4"> <return-type type="gboolean" array_index="1" /> <parameters> <parameter name="len" type="guint8" array_index="1" /> - <parameter name="rand" type="guint8*" array="true" array_length_param_index="0" /> + <parameter name="rand" type="const guint8*" array="true" array_length_param_index="0" /> </parameters> </method> <method name="AddRandLen" cname="gst_mikey_message_add_rand_len" version="1.4"> @@ -24328,7 +24358,7 @@ <return-type type="gboolean" /> <parameters> <parameter name="type" type="GstMIKEYTSType" /> - <parameter name="ts_value" type="guint8*" array="true" /> + <parameter name="ts_value" type="const guint8*" array="true" /> </parameters> </method> <method name="AddTNowNtpUtc" cname="gst_mikey_message_add_t_now_ntp_utc" version="1.4"> @@ -24502,9 +24532,9 @@ <return-type type="gboolean" /> <parameters> <parameter name="vf_len" type="guint8" /> - <parameter name="vf_data" type="guint8*" array_index="1" array="true" array_length_param_index="1" /> + <parameter name="vf_data" type="const guint8*" array_index="1" array="true" array_length_param_index="1" /> <parameter name="vt_len" type="guint8" array_index="3" /> - <parameter name="vt_data" type="guint8*" array="true" array_length_param_index="2" /> + <parameter name="vt_data" type="const guint8*" array="true" array_length_param_index="2" /> </parameters> </method> <method name="KeyDataSetKey" cname="gst_mikey_payload_key_data_set_key" version="1.4"> @@ -24512,21 +24542,21 @@ <parameters> <parameter name="key_type" type="GstMIKEYKeyDataType" /> <parameter name="key_len" type="guint16" array_index="2" /> - <parameter name="key_data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="key_data" type="const guint8*" array="true" array_length_param_index="1" /> </parameters> </method> <method name="KeyDataSetSalt" cname="gst_mikey_payload_key_data_set_salt" version="1.4"> <return-type type="gboolean" array_index="1" /> <parameters> <parameter name="salt_len" type="guint16" array_index="1" /> - <parameter allow-none="1" name="salt_data" type="guint8*" array="true" array_length_param_index="0" /> + <parameter allow-none="1" name="salt_data" type="const guint8*" array="true" array_length_param_index="0" /> </parameters> </method> <method name="KeyDataSetSpi" cname="gst_mikey_payload_key_data_set_spi" version="1.4"> <return-type type="gboolean" array_index="1" /> <parameters> <parameter name="spi_len" type="guint8" array_index="1" /> - <parameter name="spi_data" type="guint8*" array="true" array_length_param_index="0" /> + <parameter name="spi_data" type="const guint8*" array="true" array_length_param_index="0" /> </parameters> </method> <method name="PkeSet" cname="gst_mikey_payload_pke_set" version="1.4"> @@ -24534,14 +24564,14 @@ <parameters> <parameter name="C" type="GstMIKEYCacheType" /> <parameter name="data_len" type="guint16" array_index="2" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> </parameters> </method> <method name="RandSet" cname="gst_mikey_payload_rand_set" version="1.4"> <return-type type="gboolean" array_index="1" /> <parameters> <parameter name="len" type="guint8" array_index="1" /> - <parameter name="rand" type="guint8*" array="true" array_length_param_index="0" /> + <parameter name="rand" type="const guint8*" array="true" array_length_param_index="0" /> </parameters> </method> <method name="SpAddParam" cname="gst_mikey_payload_sp_add_param" version="1.4"> @@ -24549,7 +24579,7 @@ <parameters> <parameter name="type" type="guint8" /> <parameter name="len" type="guint8" array_index="2" /> - <parameter name="val" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="val" type="const guint8*" array="true" array_length_param_index="1" /> </parameters> </method> <method name="SpGetNParams" cname="gst_mikey_payload_sp_get_n_params" version="1.4"> @@ -24581,7 +24611,7 @@ <return-type type="gboolean" /> <parameters> <parameter name="type" type="GstMIKEYTSType" /> - <parameter name="ts_value" type="guint8*" array="true" /> + <parameter name="ts_value" type="const guint8*" array="true" /> </parameters> </method> </boxed> @@ -25079,7 +25109,7 @@ <parameters> <parameter name="start" type="const-gchar*" /> <parameter name="stop" type="const-gchar*" /> - <parameter name="repeat" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="repeat" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> <method name="AddZone" cname="gst_sdp_message_add_zone"> @@ -25477,7 +25507,7 @@ <method name="ParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> <parameter name="msg" type="GstSDPMessage*"> <warning>missing glib:type-name</warning> @@ -25515,7 +25545,7 @@ <parameters> <parameter name="start" type="const-gchar*" /> <parameter name="stop" type="const-gchar*" /> - <parameter name="repeat" type="const-gchar**" array="true" null_term_array="true" /> + <parameter name="repeat" type="const gchar**" array="true" null_term_array="true" /> </parameters> </method> </struct> @@ -25598,7 +25628,7 @@ <method name="SdpMessageParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult" /> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1" /> <parameter name="size" type="guint" /> <parameter name="msg" type="GstSDPMessage*"> <warning>missing glib:type-name</warning> @@ -25968,6 +25998,10 @@ <member cname="GST_VIDEO_COLOR_PRIMARIES_FILM" name="Film" value="6" /> <member cname="GST_VIDEO_COLOR_PRIMARIES_BT2020" name="Bt2020" value="7" /> <member cname="GST_VIDEO_COLOR_PRIMARIES_ADOBERGB" name="Adobergb" value="8" /> + <member cname="GST_VIDEO_COLOR_PRIMARIES_SMPTEST428" name="Smptest428" value="9" /> + <member cname="GST_VIDEO_COLOR_PRIMARIES_SMPTERP431" name="Smpterp431" value="10" /> + <member cname="GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432" name="Smpteeg432" value="11" /> + <member cname="GST_VIDEO_COLOR_PRIMARIES_EBU3213" name="Ebu3213" value="12" /> </enum> <enum name="VideoColorRange" cname="GstVideoColorRange" type="enum" gtype="gst_video_color_range_get_type"> <member cname="GST_VIDEO_COLOR_RANGE_UNKNOWN" name="Unknown" value="0" /> @@ -26071,6 +26105,8 @@ <member cname="GST_VIDEO_FORMAT_NV12_10LE40" name="Nv1210le40" value="81" /> <member cname="GST_VIDEO_FORMAT_Y210" name="Y210" value="82" /> <member cname="GST_VIDEO_FORMAT_Y410" name="Y410" value="83" /> + <member cname="GST_VIDEO_FORMAT_VUYA" name="Vuya" value="84" /> + <member cname="GST_VIDEO_FORMAT_BGR10A2_LE" name="Bgr10a2Le" value="85" /> </enum> <enum name="VideoGLTextureOrientation" cname="GstVideoGLTextureOrientation" type="enum"> <member cname="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL" name="NormalYNormal" value="0" /> @@ -28980,7 +29016,7 @@ <parameter name="composite" type="gboolean" /> <parameter name="DID" type="guint8" /> <parameter name="SDID_block_number" type="guint8" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="4" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="4" /> <parameter name="data_count" type="guint" array_index="3" /> </parameters> </method> @@ -29014,7 +29050,7 @@ <method name="AddLine" cname="gst_video_vbi_parser_add_line" version="1.16"> <return-type type="void" /> <parameters> - <parameter name="data" type="guint8*" array="true" /> + <parameter name="data" type="const guint8*" array="true" /> </parameters> </method> <method name="Copy" cname="gst_video_vbi_parser_copy"> @@ -29056,7 +29092,7 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="caption_type" type="GstVideoCaptionType" /> - <parameter name="data" type="guint8*" array="true" array_length_param_index="3" /> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="3" /> <parameter name="size" type="gsize" array_index="2" /> </parameters> </method> @@ -29543,8 +29579,8 @@ <parameter name="info" type="GstVideoFormatInfo*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="offset" type="gint" pass_as="out" array="true" array_len="4" /> - <parameter name="scale" type="gint" pass_as="out" array="true" array_len="4" /> + <parameter name="offset" type="gint*" pass_as="out" array="true" array_len="4" /> + <parameter name="scale" type="gint*" pass_as="out" array="true" array_len="4" /> </parameters> </method> <method name="VideoColorTransferDecode" cname="gst_video_color_transfer_decode" shared="true" version="1.6"> @@ -29939,7 +29975,7 @@ <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_DECODER_SRC_NAME" /> <constant value="sink" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SINK_NAME" /> <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SRC_NAME" /> - <constant value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL" /> + <constant value="{ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL" /> <constant value="(fraction) [ 0, max ]" ctype="gchar*" gtype="gchar*" name="VIDEO_FPS_RANGE" /> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_COMPONENTS" /> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_PLANES" /> diff --git a/sources/generated/meson.build b/sources/generated/meson.build index dec552f..59cd3f8 100644 --- a/sources/generated/meson.build +++ b/sources/generated/meson.build @@ -87,6 +87,7 @@ generated_sources = [ 'Gst.Base/BaseTransform.cs', 'Gst.Base/BitReader.cs', 'Gst.Base/BitWriter.cs', + 'Gst.Base/BufferConsumedHandler.cs', 'Gst.Base/ByteReader.cs', 'Gst.Base/ByteWriter.cs', 'Gst.Base/CollectData.cs', @@ -790,4 +791,4 @@ cs_abi = files('gstreamer-sharp-abi.cs') gst_api_includes = join_paths(meson.current_source_dir(), 'gstreamer-sharp-api.xml') gapis = [gst_api_includes] -gapis_deps = []
\ No newline at end of file +gapis_deps = [] diff --git a/sources/gstreamer-sharp-api.raw b/sources/gstreamer-sharp-api.raw index ac9eaaf..65ee3da 100644 --- a/sources/gstreamer-sharp-api.raw +++ b/sources/gstreamer-sharp-api.raw @@ -2150,7 +2150,7 @@ </parameters> </virtual_method> <virtual_method name="GetOptions" cname="get_options"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar**" array="true" null_term_array="true"/> <parameters/> </virtual_method> <virtual_method name="ReleaseBuffer" cname="release_buffer"> @@ -2203,7 +2203,7 @@ <parameters/> </method> <method name="GetOptions" cname="gst_buffer_pool_get_options"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar**" array="true" null_term_array="true"/> <parameters/> </method> <method name="HasOption" cname="gst_buffer_pool_has_option"> @@ -4007,7 +4007,7 @@ <parameters/> </method> <method name="GetUriProtocols" cname="gst_element_factory_get_uri_protocols"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar* const*" array="true" null_term_array="true"/> <parameters/> </method> <method name="GetUriType" cname="gst_element_factory_get_uri_type"> @@ -5187,9 +5187,9 @@ <method name="AddDependency" cname="gst_plugin_add_dependency"> <return-type type="void"/> <parameters> - <parameter allow-none="1" name="env_vars" type="const-gchar**" array="true" null_term_array="true"/> - <parameter allow-none="1" name="paths" type="const-gchar**" array="true" null_term_array="true"/> - <parameter allow-none="1" name="names" type="const-gchar**" array="true" null_term_array="true"/> + <parameter allow-none="1" name="env_vars" type="const gchar**" array="true" null_term_array="true"/> + <parameter allow-none="1" name="paths" type="const gchar**" array="true" null_term_array="true"/> + <parameter allow-none="1" name="names" type="const gchar**" array="true" null_term_array="true"/> <parameter name="flags" type="GstPluginDependencyFlags"/> </parameters> </method> @@ -5910,7 +5910,7 @@ <parameters/> </method> <method name="GetExtensions" cname="gst_type_find_factory_get_extensions"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar* const*" array="true" null_term_array="true"/> <parameters/> </method> <method name="HasFunction" cname="gst_type_find_factory_has_function"> @@ -7546,6 +7546,12 @@ <parameter name="stop" type="gint64*" owned="true" pass_as="out"/> </parameters> </method> + <method name="ParseSeekTrickmodeInterval" cname="gst_event_parse_seek_trickmode_interval" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="interval" type="guint64" owned="true" pass_as="out"/> + </parameters> + </method> <method name="ParseSegment" cname="gst_event_parse_segment"> <return-type type="void"/> <parameters> @@ -7650,6 +7656,12 @@ <parameter name="offset" type="gint64"/> </parameters> </method> + <method name="SetSeekTrickmodeInterval" cname="gst_event_set_seek_trickmode_interval" version="1.16"> + <return-type type="void"/> + <parameters> + <parameter name="interval" type="guint64"/> + </parameters> + </method> <method name="SetSeqnum" cname="gst_event_set_seqnum"> <return-type type="void"/> <parameters> @@ -8639,7 +8651,7 @@ <parameters/> </method> <method name="ApiTypeGetTags" cname="gst_meta_api_type_get_tags" shared="true" version="1.2"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar* const*" array="true" null_term_array="true"/> <parameters> <parameter name="api" type="GType"/> </parameters> @@ -8655,7 +8667,7 @@ <return-type type="GType"/> <parameters> <parameter name="api" type="const-gchar*"/> - <parameter name="tags" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="tags" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="GetInfo" cname="gst_meta_get_info" shared="true"> @@ -9560,7 +9572,7 @@ <return-type type="void" array_index="1"/> <parameters> <parameter name="n_formats" type="gint" array_index="1"/> - <parameter name="formats" type="GstFormat*" array="true" array_length_param_index="0"/> + <parameter name="formats" type="const GstFormat*" array="true" array_length_param_index="0"/> </parameters> </method> <method name="SetLatency" cname="gst_query_set_latency"> @@ -10862,7 +10874,7 @@ <parameters/> </method> <method name="Peek" cname="gst_type_find_peek"> - <return-type type="guint8*" array="true" array_length_param_index="1"/> + <return-type type="const guint8*" array="true" array_length_param_index="1"/> <parameters> <parameter name="offset" type="gint64"/> <parameter name="size" type="guint*" owned="true" pass_as="out"/> @@ -11468,7 +11480,7 @@ <method name="FormatsContains" cname="gst_formats_contains" shared="true"> <return-type type="gboolean"/> <parameters> - <parameter name="formats" type="GstFormat*" array="true" null_term_array="true"/> + <parameter name="formats" type="const GstFormat*" array="true" null_term_array="true"/> <parameter name="format" type="GstFormat"/> </parameters> </method> @@ -11479,14 +11491,14 @@ <return-type type="void" array_index="1"/> <parameters> <parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref" array_index="1"/> - <parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/> + <parameter allow-none="1" name="argv" type="char****" owned="true" pass_as="ref" array="true" array_length_param_index="0"/> </parameters> </method> <method name="InitCheck" cname="gst_init_check" shared="true"> <return-type type="gboolean" array_index="1"/> <parameters throws="1"> <parameter allow-none="1" name="argc" type="gint*" owned="true" pass_as="ref" array_index="1"/> - <parameter allow-none="1" name="argv" type="char***" owned="true" pass_as="ref" array="true" array_length_param_index="0"/> + <parameter allow-none="1" name="argv" type="char****" owned="true" pass_as="ref" array="true" array_length_param_index="0"/> <parameter name="error" type="GError**"/> </parameters> </method> @@ -11515,7 +11527,7 @@ </parameters> </method> <method name="MetaApiTypeGetTags" cname="gst_meta_api_type_get_tags" shared="true" version="1.2"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar* const*" array="true" null_term_array="true"/> <parameters> <parameter name="api" type="GType"/> </parameters> @@ -11531,7 +11543,7 @@ <return-type type="GType"/> <parameters> <parameter name="api" type="const-gchar*"/> - <parameter name="tags" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="tags" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="MetaGetInfo" cname="gst_meta_get_info" shared="true"> @@ -11660,14 +11672,14 @@ <method name="ParseLaunchv" cname="gst_parse_launchv" shared="true"> <return-type type="GstElement*"/> <parameters throws="1"> - <parameter name="argv" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="argv" type="const gchar**" array="true" null_term_array="true"/> <parameter name="error" type="GError**"/> </parameters> </method> <method name="ParseLaunchvFull" cname="gst_parse_launchv_full" shared="true"> <return-type type="GstElement*"/> <parameters throws="1"> - <parameter name="argv" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="argv" type="const gchar**" array="true" null_term_array="true"/> <parameter allow-none="1" name="context" type="GstParseContext*"> <warning>missing glib:type-name</warning> </parameter> @@ -11690,7 +11702,7 @@ <method name="ProtectionFilterSystemsByAvailableDecryptors" cname="gst_protection_filter_systems_by_available_decryptors" shared="true" version="1.14"> <return-type type="gchar***" owned="true" array="true" null_term_array="true"/> <parameters> - <parameter name="system_identifiers" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="system_identifiers" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="ProtectionMetaApiGetType" cname="gst_protection_meta_api_get_type" shared="true"> @@ -11704,7 +11716,7 @@ <method name="ProtectionSelectSystem" cname="gst_protection_select_system" shared="true" version="1.6"> <return-type type="const-gchar*"/> <parameters> - <parameter name="system_identifiers" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="system_identifiers" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="QueryTypeGetFlags" cname="gst_query_type_get_flags" shared="true"> @@ -11966,7 +11978,7 @@ <method name="UtilDumpMem" cname="gst_util_dump_mem" shared="true"> <return-type type="void"/> <parameters> - <parameter name="mem" type="guchar*" array="true" array_length_param_index="1"/> + <parameter name="mem" type="const guchar*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> </parameters> </method> @@ -12815,8 +12827,8 @@ <constant value="-1" ctype="gint" gtype="gint" name="VALUE_LESS_THAN"/> <constant value="2" ctype="gint" gtype="gint" name="VALUE_UNORDERED"/> <constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR"/> - <constant value="90" ctype="gint" gtype="gint" name="VERSION_MICRO"/> - <constant value="15" ctype="gint" gtype="gint" name="VERSION_MINOR"/> + <constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO"/> + <constant value="16" ctype="gint" gtype="gint" name="VERSION_MINOR"/> <constant value="0" ctype="gint" gtype="gint" name="VERSION_NANO"/> </object> </namespace> @@ -14070,6 +14082,14 @@ <parameter name="frames" type="gint"/> </parameters> </method> + <method name="FinishSubframe" cname="gst_audio_decoder_finish_subframe" version="1.16"> + <return-type type="GstFlowReturn"/> + <parameters> + <parameter name="buf" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </method> <method name="GetAllocator" cname="gst_audio_decoder_get_allocator"> <return-type type="void"/> <parameters> @@ -14898,7 +14918,7 @@ <method name="SetChannelPositions" cname="gst_audio_ring_buffer_set_channel_positions"> <return-type type="void"/> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true"/> + <parameter name="position" type="const GstAudioChannelPosition*" array="true"/> </parameters> </method> <method name="SetFlushing" cname="gst_audio_ring_buffer_set_flushing"> @@ -15133,8 +15153,8 @@ </parameter> <parameter name="format" type="GstAudioFormat"/> <parameter name="channels" type="gint" array_index="4"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2"/> </parameters> </method> <method name="Truncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> @@ -15375,7 +15395,7 @@ <parameter name="format" type="GstAudioFormat"/> <parameter name="rate" type="gint"/> <parameter name="channels" type="gint"/> - <parameter allow-none="1" name="position" type="GstAudioChannelPosition*" array="true" array_len="64"/> + <parameter allow-none="1" name="position" type="const GstAudioChannelPosition*" array="true" array_len="64"/> </parameters> </method> <method name="ToCaps" cname="gst_audio_info_to_caps"> @@ -15607,8 +15627,8 @@ </parameter> <parameter name="format" type="GstAudioFormat"/> <parameter name="channels" type="gint" array_index="4"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2"/> </parameters> </method> <method name="AudioBufferTruncate" cname="gst_audio_buffer_truncate" shared="true" version="1.16"> @@ -15641,7 +15661,7 @@ <method name="AudioChannelPositionsToMask" cname="gst_audio_channel_positions_to_mask" shared="true"> <return-type type="gboolean"/> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" array_length_param_index="1"/> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="1"/> <parameter name="channels" type="gint"/> <parameter name="force_order" type="gboolean"/> <parameter name="channel_mask" type="guint64*" owned="true" pass_as="out"/> @@ -15650,7 +15670,7 @@ <method name="AudioChannelPositionsToString" cname="gst_audio_channel_positions_to_string" shared="true"> <return-type type="gchar*" owned="true"/> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" array_length_param_index="1"/> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="1"/> <parameter name="channels" type="gint"/> </parameters> </method> @@ -15664,7 +15684,7 @@ <method name="AudioCheckValidChannelPositions" cname="gst_audio_check_valid_channel_positions" shared="true"> <return-type type="gboolean"/> <parameters> - <parameter name="position" type="GstAudioChannelPosition*" array="true" array_length_param_index="1"/> + <parameter name="position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="1"/> <parameter name="channels" type="gint"/> <parameter name="force_order" type="gboolean"/> </parameters> @@ -15731,8 +15751,8 @@ <return-type type="gboolean" array_index="3"/> <parameters> <parameter name="channels" type="gint" array_index="3"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="0"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="0"/> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="0"/> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="0"/> <parameter name="reorder_map" type="gint*" array="true" array_length_param_index="0"/> </parameters> </method> @@ -15747,7 +15767,7 @@ <method name="AudioIec61937Payload" cname="gst_audio_iec61937_payload" shared="true"> <return-type type="gboolean"/> <parameters> - <parameter name="src" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="src" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="src_n" type="guint"/> <parameter name="dst" type="guint8*" array="true" array_length_param_index="3"/> <parameter name="dst_n" type="guint" array_index="2"/> @@ -15772,8 +15792,8 @@ <parameter name="size" type="gsize"/> <parameter name="format" type="GstAudioFormat"/> <parameter name="channels" type="gint" array_index="5"/> - <parameter name="from" type="GstAudioChannelPosition*" array="true" array_length_param_index="3"/> - <parameter name="to" type="GstAudioChannelPosition*" array="true" array_length_param_index="3"/> + <parameter name="from" type="const GstAudioChannelPosition*" array="true" array_length_param_index="3"/> + <parameter name="to" type="const GstAudioChannelPosition*" array="true" array_length_param_index="3"/> </parameters> </method> <method name="AudioResamplerNew" cname="gst_audio_resampler_new" shared="true"> @@ -15825,13 +15845,28 @@ <parameter name="buffer" type="GstBuffer*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="from_position" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="from_position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2"/> <parameter name="from_channels" type="gint" array_index="1"/> - <parameter name="to_position" type="GstAudioChannelPosition*" array="true" array_length_param_index="4"/> + <parameter name="to_position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="4"/> <parameter name="to_channels" type="gint" array_index="3"/> <parameter name="matrix" type="gfloat"/> </parameters> </method> + <method name="BufferAddAudioMeta" cname="gst_buffer_add_audio_meta" shared="true" version="1.16"> + <return-type type="GstAudioMeta*"> + <warning>missing glib:type-name</warning> + </return-type> + <parameters> + <parameter name="buffer" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="info" type="GstAudioInfo*"> + <warning>missing glib:type-name</warning> + </parameter> + <parameter name="samples" type="gsize"/> + <parameter allow-none="1" name="offsets" type="gsize"/> + </parameters> + </method> <method name="BufferGetAudioDownmixMetaForChannels" cname="gst_buffer_get_audio_downmix_meta_for_channels" shared="true"> <return-type type="GstAudioDownmixMeta*"> <warning>missing glib:type-name</warning> @@ -15840,7 +15875,7 @@ <parameter name="buffer" type="GstBuffer*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="to_position" type="GstAudioChannelPosition*" array="true" array_length_param_index="2"/> + <parameter name="to_position" type="const GstAudioChannelPosition*" array="true" array_length_param_index="2"/> <parameter name="to_channels" type="gint" array_index="1"/> </parameters> </method> @@ -16501,6 +16536,7 @@ </return-type> <parameters/> </method> + <property name="EmitSignals" cname="emit-signals" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16"/> <field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GstPad*"/> <field cname="segment" access="public" writeable="false" readable="true" is_callback="false" name="Segment" type="GstSegment"> <warning>missing glib:type-name</warning> @@ -16509,6 +16545,14 @@ <warning>missing glib:type-name</warning> </field> <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> + <signal name="BufferConsumed" cname="buffer-consumed" when="first"> + <return-type type="void"/> + <parameters> + <parameter name="_object" type="GstBuffer*"> + <warning>missing glib:type-name</warning> + </parameter> + </parameters> + </signal> </object> <object name="BaseParse" cname="GstBaseParse" defaultconstructoraccess="protected" opaque="false" hidden="false" parent="GstElement"> <class_struct cname="GstBaseParseClass"> @@ -18117,7 +18161,7 @@ <struct name="BaseSrcPrivate" cname="GstBaseSrcPrivate" opaque="true" hidden="true"/> <struct name="BaseTransformPrivate" cname="GstBaseTransformPrivate" opaque="true" hidden="true"/> <struct name="BitReader" cname="GstBitReader" opaque="false" hidden="false"> - <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="1"/> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="const guint8*" array="true" array_length_param_index="1"/> <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="guint"/> <field cname="byte" access="public" writeable="true" readable="true" is_callback="false" name="Byte" type="guint"/> <field cname="bit" access="public" writeable="true" readable="true" is_callback="false" name="Bit" type="guint"/> @@ -18169,7 +18213,7 @@ <method name="Init" cname="gst_bit_reader_init"> <return-type type="void"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> </parameters> </method> @@ -18257,25 +18301,6 @@ <return-type type="guint"/> <parameters/> </method> - <method name="Init" cname="gst_bit_writer_init"> - <return-type type="void"/> - <parameters/> - </method> - <method name="InitWithData" cname="gst_bit_writer_init_with_data"> - <return-type type="void"/> - <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> - <parameter name="size" type="guint"/> - <parameter name="initialized" type="gboolean"/> - </parameters> - </method> - <method name="InitWithSize" cname="gst_bit_writer_init_with_size"> - <return-type type="void"/> - <parameters> - <parameter name="size" type="guint32"/> - <parameter name="fixed" type="gboolean"/> - </parameters> - </method> <method name="PutBitsUint16" cname="gst_bit_writer_put_bits_uint16"> <return-type type="gboolean"/> <parameters> @@ -18333,7 +18358,7 @@ </method> </struct> <struct name="ByteReader" cname="GstByteReader" opaque="false" hidden="false"> - <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="guint8*" array="true" array_length_param_index="1"/> + <field cname="data" access="public" writeable="true" readable="true" is_callback="false" name="Data" type="const guint8*" array="true" array_length_param_index="1"/> <field cname="size" access="public" writeable="true" readable="true" is_callback="false" name="Size" type="guint"/> <field cname="byte" access="public" writeable="true" readable="true" is_callback="false" name="Byte" type="guint"/> <field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/> @@ -18370,7 +18395,7 @@ <return-type type="gboolean" array_index="1"/> <parameters> <parameter name="size" type="guint*" owned="true" pass_as="out" array_index="1"/> - <parameter name="val" type="guint8**" pass_as="out" array="true" array_length_param_index="0"/> + <parameter name="val" type="const guint8**" pass_as="out" array="true" array_length_param_index="0"/> </parameters> </method> <method name="GetFloat32Be" cname="gst_byte_reader_get_float32_be"> @@ -18466,7 +18491,7 @@ <method name="GetStringUtf8" cname="gst_byte_reader_get_string_utf8"> <return-type type="gboolean"/> <parameters> - <parameter name="str" type="const-gchar**" pass_as="out" array="true" null_term_array="true"/> + <parameter name="str" type="const gchar**" pass_as="out" array="true" null_term_array="true"/> </parameters> </method> <method name="GetUint16Be" cname="gst_byte_reader_get_uint16_be"> @@ -18526,7 +18551,7 @@ <method name="Init" cname="gst_byte_reader_init"> <return-type type="void"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> </parameters> </method> @@ -18553,7 +18578,7 @@ <return-type type="gboolean" array_index="1"/> <parameters> <parameter name="size" type="guint*" owned="true" pass_as="out" array_index="1"/> - <parameter name="val" type="guint8**" pass_as="out" array="true" array_length_param_index="0"/> + <parameter name="val" type="const guint8**" pass_as="out" array="true" array_length_param_index="0"/> </parameters> </method> <method name="PeekFloat32Be" cname="gst_byte_reader_peek_float32_be"> @@ -18637,7 +18662,7 @@ <method name="PeekStringUtf8" cname="gst_byte_reader_peek_string_utf8"> <return-type type="gboolean"/> <parameters> - <parameter name="str" type="const-gchar**" pass_as="out" array="true" null_term_array="true"/> + <parameter name="str" type="const gchar**" pass_as="out" array="true" null_term_array="true"/> </parameters> </method> <method name="PeekUint16Be" cname="gst_byte_reader_peek_uint16_be"> @@ -18790,7 +18815,7 @@ <method name="PutData" cname="gst_byte_writer_put_data"> <return-type type="gboolean"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> </parameters> </method> @@ -18875,13 +18900,13 @@ <method name="PutStringUtf16" cname="gst_byte_writer_put_string_utf16"> <return-type type="gboolean"/> <parameters> - <parameter name="data" type="guint16*" array="true" null_term_array="true"/> + <parameter name="data" type="const guint16*" array="true" null_term_array="true"/> </parameters> </method> <method name="PutStringUtf32" cname="gst_byte_writer_put_string_utf32"> <return-type type="gboolean"/> <parameters> - <parameter name="data" type="guint32*" array="true" null_term_array="true"/> + <parameter name="data" type="const guint32*" array="true" null_term_array="true"/> </parameters> </method> <method name="PutStringUtf8" cname="gst_byte_writer_put_string_utf8"> @@ -19100,7 +19125,7 @@ </return-type> <parameters> <parameter allow-none="1" name="obj" type="GstObject*"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="size" type="gsize" array_index="1"/> <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> </parameters> @@ -19111,7 +19136,7 @@ </return-type> <parameters> <parameter allow-none="1" name="obj" type="GstObject*"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="size" type="gsize" array_index="1"/> <parameter allow-none="1" name="extension" type="const-gchar*"/> <parameter allow-none="1" name="prob" type="GstTypeFindProbability" owned="true" pass_as="out"/> @@ -19641,7 +19666,7 @@ <field cname="remote_time" access="public" writeable="true" readable="true" is_callback="false" name="RemoteTime" type="guint64"/> <constructor cname="gst_net_time_packet_new"> <parameters> - <parameter name="buffer" type="guint8*" array="true"/> + <parameter name="buffer" type="const guint8*" array="true"/> </parameters> </constructor> <method name="Copy" cname="gst_net_time_packet_copy"> @@ -20039,7 +20064,7 @@ <parameters/> </method> <method name="GetMissingElementsInstallerDetails" cname="gst_discoverer_info_get_missing_elements_installer_details" version="1.4"> - <return-type type="const-gchar**" array="true" null_term_array="true"/> + <return-type type="const gchar**" array="true" null_term_array="true"/> <parameters/> </method> <method name="GetResult" cname="gst_discoverer_info_get_result"> @@ -20555,14 +20580,14 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="len" type="guint" array_index="1"/> </parameters> </method> <method name="CodecUtilsAacGetChannels" cname="gst_codec_utils_aac_get_channels" shared="true"> <return-type type="guint"/> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20575,21 +20600,21 @@ <method name="CodecUtilsAacGetLevel" cname="gst_codec_utils_aac_get_level" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> <method name="CodecUtilsAacGetProfile" cname="gst_codec_utils_aac_get_profile" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> <method name="CodecUtilsAacGetSampleRate" cname="gst_codec_utils_aac_get_sample_rate" shared="true"> <return-type type="guint"/> <parameters> - <parameter name="audio_config" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="audio_config" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20605,14 +20630,14 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="sps" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="sps" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="len" type="guint" array_index="1"/> </parameters> </method> <method name="CodecUtilsH264GetLevel" cname="gst_codec_utils_h264_get_level" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="sps" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="sps" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20625,7 +20650,7 @@ <method name="CodecUtilsH264GetProfile" cname="gst_codec_utils_h264_get_profile" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="sps" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="sps" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20635,14 +20660,14 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="len" type="guint" array_index="1"/> </parameters> </method> <method name="CodecUtilsH265GetLevel" cname="gst_codec_utils_h265_get_level" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20655,14 +20680,14 @@ <method name="CodecUtilsH265GetProfile" cname="gst_codec_utils_h265_get_profile" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> <method name="CodecUtilsH265GetTier" cname="gst_codec_utils_h265_get_tier" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="profile_tier_level" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="profile_tier_level" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20672,21 +20697,21 @@ <parameter name="caps" type="GstCaps*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="vis_obj_seq" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="vis_obj_seq" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="len" type="guint" array_index="1"/> </parameters> </method> <method name="CodecUtilsMpeg4videoGetLevel" cname="gst_codec_utils_mpeg4video_get_level" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="vis_obj_seq" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="vis_obj_seq" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> <method name="CodecUtilsMpeg4videoGetProfile" cname="gst_codec_utils_mpeg4video_get_profile" shared="true"> <return-type type="const-gchar*"/> <parameters> - <parameter name="vis_obj_seq" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="vis_obj_seq" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -20700,7 +20725,7 @@ <parameter name="channel_mapping_family" type="guint8"/> <parameter name="stream_count" type="guint8"/> <parameter name="coupled_count" type="guint8"/> - <parameter allow-none="1" name="channel_mapping" type="guint8*" array="true"/> + <parameter allow-none="1" name="channel_mapping" type="const guint8*" array="true"/> </parameters> </method> <method name="CodecUtilsOpusCreateCapsFromHeader" cname="gst_codec_utils_opus_create_caps_from_header" shared="true" version="1.8"> @@ -20726,7 +20751,7 @@ <parameter name="channel_mapping_family" type="guint8"/> <parameter name="stream_count" type="guint8"/> <parameter name="coupled_count" type="guint8"/> - <parameter allow-none="1" name="channel_mapping" type="guint8*" array="true"/> + <parameter allow-none="1" name="channel_mapping" type="const guint8*" array="true"/> <parameter name="pre_skip" type="guint16"/> <parameter name="output_gain" type="gint16"/> </parameters> @@ -20742,7 +20767,7 @@ <parameter name="channel_mapping_family" type="guint8*" owned="true" pass_as="out"/> <parameter name="stream_count" type="guint8*" owned="true" pass_as="out"/> <parameter name="coupled_count" type="guint8*" owned="true" pass_as="out"/> - <parameter name="channel_mapping" type="guint8*" owned="true" pass_as="out" array="true" array_len="256"/> + <parameter name="channel_mapping" type="guint8**" owned="true" pass_as="out" array="true" array_len="256"/> </parameters> </method> <method name="CodecUtilsOpusParseHeader" cname="gst_codec_utils_opus_parse_header" shared="true" version="1.8"> @@ -20756,7 +20781,7 @@ <parameter name="channel_mapping_family" type="guint8*" owned="true" pass_as="out"/> <parameter name="stream_count" type="guint8*" owned="true" pass_as="out"/> <parameter name="coupled_count" type="guint8*" owned="true" pass_as="out"/> - <parameter name="channel_mapping" type="guint8*" owned="true" pass_as="out" array="true" array_len="256"/> + <parameter name="channel_mapping" type="guint8**" owned="true" pass_as="out" array="true" array_len="256"/> <parameter name="pre_skip" type="guint16*" owned="true" pass_as="out"/> <parameter name="output_gain" type="gint16*" owned="true" pass_as="out"/> </parameters> @@ -20773,7 +20798,7 @@ <method name="InstallPluginsAsync" cname="gst_install_plugins_async" shared="true"> <return-type type="GstInstallPluginsReturn"/> <parameters> - <parameter name="details" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="details" type="const gchar* const*" array="true" null_term_array="true"/> <parameter allow-none="1" name="ctx" type="GstInstallPluginsContext*"> <warning>missing glib:type-name</warning> </parameter> @@ -20796,7 +20821,7 @@ <method name="InstallPluginsSync" cname="gst_install_plugins_sync" shared="true"> <return-type type="GstInstallPluginsReturn"/> <parameters> - <parameter name="details" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="details" type="const gchar* const*" array="true" null_term_array="true"/> <parameter allow-none="1" name="ctx" type="GstInstallPluginsContext*"> <warning>missing glib:type-name</warning> </parameter> @@ -20986,8 +21011,8 @@ <constant value="online-service" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_ONLINE_SERVICE"/> <constant value="storage-editing" ctype="gchar*" gtype="gchar*" name="ENCODING_CATEGORY_STORAGE_EDITING"/> <constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MAJOR"/> - <constant value="90" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO"/> - <constant value="15" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR"/> + <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO"/> + <constant value="16" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR"/> <constant value="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO"/> </object> </namespace> @@ -21108,7 +21133,7 @@ <method name="Push" cname="gst_rtp_base_audio_payload_push"> <return-type type="GstFlowReturn"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="payload_len" type="guint"/> <parameter name="timestamp" type="guint64"/> </parameters> @@ -21382,6 +21407,7 @@ <property name="MaxPtime" cname="max-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="MinPtime" cname="min-ptime" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="Mtu" cname="mtu" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/> + <property name="OnvifNoRateControl" cname="onvif-no-rate-control" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.16"/> <property name="PerfectRtptime" cname="perfect-rtptime" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="Pt" cname="pt" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/> <property name="PtimeMultiple" cname="ptime-multiple" type="gint64" readable="true" writeable="true" construct="false" construct-only="false"/> @@ -21537,7 +21563,7 @@ <method name="AddProfileSpecificExt" cname="gst_rtcp_packet_add_profile_specific_ext"> <return-type type="gboolean"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="len" type="guint"/> </parameters> </method> @@ -21752,7 +21778,7 @@ <parameters> <parameter name="type" type="GstRTCPSDESType"/> <parameter name="len" type="guint8" array_index="2"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> </parameters> </method> <method name="SdesAddItem" cname="gst_rtcp_packet_sdes_add_item"> @@ -22797,7 +22823,9 @@ <member cname="GST_RTSP_HDR_MEDIA_PROPERTIES" name="MediaProperties" value="84"/> <member cname="GST_RTSP_HDR_SEEK_STYLE" name="SeekStyle" value="85"/> <member cname="GST_RTSP_HDR_ACCEPT_RANGES" name="AcceptRanges" value="86"/> - <member cname="GST_RTSP_HDR_LAST" name="Last" value="87"/> + <member cname="GST_RTSP_HDR_FRAMES" name="Frames" value="87"/> + <member cname="GST_RTSP_HDR_RATE_CONTROL" name="RateControl" value="88"/> + <member cname="GST_RTSP_HDR_LAST" name="Last" value="89"/> </enum> <enum name="RTSPMsgType" cname="GstRTSPMsgType" type="enum" gtype="gst_rtsp_msg_type_get_type"> <member cname="GST_RTSP_MESSAGE_INVALID" name="Invalid" value="0"/> @@ -23629,7 +23657,7 @@ <method name="SetBody" cname="gst_rtsp_message_set_body"> <return-type type="GstRTSPResult"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> </parameters> </method> @@ -23956,7 +23984,7 @@ <method name="WriteData" cname="gst_rtsp_watch_write_data"> <return-type type="GstRTSPResult"/> <parameters> - <parameter name="data" type="guint8**" owned="true" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8**" owned="true" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> <parameter allow-none="1" name="id" type="guint*" owned="true" pass_as="out"/> </parameters> @@ -24238,6 +24266,7 @@ <member cname="GST_MIKEY_ENC_NULL" name="Null" value="0"/> <member cname="GST_MIKEY_ENC_AES_CM_128" name="AesCm128" value="1"/> <member cname="GST_MIKEY_ENC_AES_KW_128" name="AesKw128" value="2"/> + <member cname="GST_MIKEY_ENC_AES_GCM_128" name="AesGcm128" value="6"/> </enum> <enum name="MIKEYKVType" cname="GstMIKEYKVType" type="enum"> <member cname="GST_MIKEY_KV_NULL" name="Null" value="0"/> @@ -24292,6 +24321,7 @@ <member cname="GST_MIKEY_SP_SRTP_SRTP_AUTH" name="SrtpAuth" value="10"/> <member cname="GST_MIKEY_SP_SRTP_AUTH_TAG_LEN" name="AuthTagLen" value="11"/> <member cname="GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN" name="SrtpPrefixLen" value="12"/> + <member cname="GST_MIKEY_SP_SRTP_AEAD_AUTH_TAG_LEN" name="AeadAuthTagLen" value="20"/> </enum> <enum name="MIKEYTSType" cname="GstMIKEYTSType" type="enum"> <member cname="GST_MIKEY_TS_TYPE_NTP_UTC" name="NtpUtc" value="0"/> @@ -24382,14 +24412,14 @@ <parameters> <parameter name="C" type="GstMIKEYCacheType"/> <parameter name="data_len" type="guint16" array_index="2"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> </parameters> </method> <method name="AddRand" cname="gst_mikey_message_add_rand" version="1.4"> <return-type type="gboolean" array_index="1"/> <parameters> <parameter name="len" type="guint8" array_index="1"/> - <parameter name="rand" type="guint8*" array="true" array_length_param_index="0"/> + <parameter name="rand" type="const guint8*" array="true" array_length_param_index="0"/> </parameters> </method> <method name="AddRandLen" cname="gst_mikey_message_add_rand_len" version="1.4"> @@ -24402,7 +24432,7 @@ <return-type type="gboolean"/> <parameters> <parameter name="type" type="GstMIKEYTSType"/> - <parameter name="ts_value" type="guint8*" array="true"/> + <parameter name="ts_value" type="const guint8*" array="true"/> </parameters> </method> <method name="AddTNowNtpUtc" cname="gst_mikey_message_add_t_now_ntp_utc" version="1.4"> @@ -24576,9 +24606,9 @@ <return-type type="gboolean"/> <parameters> <parameter name="vf_len" type="guint8"/> - <parameter name="vf_data" type="guint8*" array_index="1" array="true" array_length_param_index="1"/> + <parameter name="vf_data" type="const guint8*" array_index="1" array="true" array_length_param_index="1"/> <parameter name="vt_len" type="guint8" array_index="3"/> - <parameter name="vt_data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="vt_data" type="const guint8*" array="true" array_length_param_index="2"/> </parameters> </method> <method name="KeyDataSetKey" cname="gst_mikey_payload_key_data_set_key" version="1.4"> @@ -24586,21 +24616,21 @@ <parameters> <parameter name="key_type" type="GstMIKEYKeyDataType"/> <parameter name="key_len" type="guint16" array_index="2"/> - <parameter name="key_data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="key_data" type="const guint8*" array="true" array_length_param_index="1"/> </parameters> </method> <method name="KeyDataSetSalt" cname="gst_mikey_payload_key_data_set_salt" version="1.4"> <return-type type="gboolean" array_index="1"/> <parameters> <parameter name="salt_len" type="guint16" array_index="1"/> - <parameter allow-none="1" name="salt_data" type="guint8*" array="true" array_length_param_index="0"/> + <parameter allow-none="1" name="salt_data" type="const guint8*" array="true" array_length_param_index="0"/> </parameters> </method> <method name="KeyDataSetSpi" cname="gst_mikey_payload_key_data_set_spi" version="1.4"> <return-type type="gboolean" array_index="1"/> <parameters> <parameter name="spi_len" type="guint8" array_index="1"/> - <parameter name="spi_data" type="guint8*" array="true" array_length_param_index="0"/> + <parameter name="spi_data" type="const guint8*" array="true" array_length_param_index="0"/> </parameters> </method> <method name="PkeSet" cname="gst_mikey_payload_pke_set" version="1.4"> @@ -24608,14 +24638,14 @@ <parameters> <parameter name="C" type="GstMIKEYCacheType"/> <parameter name="data_len" type="guint16" array_index="2"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> </parameters> </method> <method name="RandSet" cname="gst_mikey_payload_rand_set" version="1.4"> <return-type type="gboolean" array_index="1"/> <parameters> <parameter name="len" type="guint8" array_index="1"/> - <parameter name="rand" type="guint8*" array="true" array_length_param_index="0"/> + <parameter name="rand" type="const guint8*" array="true" array_length_param_index="0"/> </parameters> </method> <method name="SpAddParam" cname="gst_mikey_payload_sp_add_param" version="1.4"> @@ -24623,7 +24653,7 @@ <parameters> <parameter name="type" type="guint8"/> <parameter name="len" type="guint8" array_index="2"/> - <parameter name="val" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="val" type="const guint8*" array="true" array_length_param_index="1"/> </parameters> </method> <method name="SpGetNParams" cname="gst_mikey_payload_sp_get_n_params" version="1.4"> @@ -24655,7 +24685,7 @@ <return-type type="gboolean"/> <parameters> <parameter name="type" type="GstMIKEYTSType"/> - <parameter name="ts_value" type="guint8*" array="true"/> + <parameter name="ts_value" type="const guint8*" array="true"/> </parameters> </method> </boxed> @@ -25153,7 +25183,7 @@ <parameters> <parameter name="start" type="const-gchar*"/> <parameter name="stop" type="const-gchar*"/> - <parameter name="repeat" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="repeat" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="AddZone" cname="gst_sdp_message_add_zone"> @@ -25551,7 +25581,7 @@ <method name="ParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> <parameter name="msg" type="GstSDPMessage*"> <warning>missing glib:type-name</warning> @@ -25589,7 +25619,7 @@ <parameters> <parameter name="start" type="const-gchar*"/> <parameter name="stop" type="const-gchar*"/> - <parameter name="repeat" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="repeat" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> </struct> @@ -25672,7 +25702,7 @@ <method name="SdpMessageParseBuffer" cname="gst_sdp_message_parse_buffer" shared="true"> <return-type type="GstSDPResult"/> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="guint"/> <parameter name="msg" type="GstSDPMessage*"> <warning>missing glib:type-name</warning> @@ -25900,9 +25930,9 @@ <method name="TagFreeformStringToUtf8" cname="gst_tag_freeform_string_to_utf8" shared="true"> <return-type type="gchar*" owned="true"/> <parameters> - <parameter name="data" type="const-gchar*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const gchar*" array="true" array_length_param_index="1"/> <parameter name="size" type="gint"/> - <parameter name="env_vars" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="env_vars" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="TagFromId3Tag" cname="gst_tag_from_id3_tag" shared="true"> @@ -26012,7 +26042,7 @@ <warning>missing glib:type-name</warning> </return-type> <parameters> - <parameter name="image_data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="image_data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="image_data_len" type="guint"/> <parameter name="image_type" type="GstTagImageType"/> </parameters> @@ -26023,7 +26053,7 @@ <parameter name="tag_list" type="GstTagList*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="image_data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="image_data" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="image_data_len" type="guint" array_index="1"/> <parameter name="id3_picture_type" type="guint"/> </parameters> @@ -26065,9 +26095,9 @@ <warning>missing glib:type-name</warning> </return-type> <parameters> - <parameter name="data" type="guint8*" array="true" array_length_param_index="1"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="1"/> <parameter name="size" type="gsize"/> - <parameter name="id_data" type="guint8*" array="true" array_length_param_index="3"/> + <parameter name="id_data" type="const guint8*" array="true" array_length_param_index="3"/> <parameter name="id_data_length" type="guint" array_index="2"/> <parameter allow-none="1" name="vendor_string" type="gchar*" owned="true" pass_as="out"/> </parameters> @@ -26080,7 +26110,7 @@ <parameter name="buffer" type="GstBuffer*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="id_data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="id_data" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="id_data_length" type="guint" array_index="1"/> <parameter allow-none="1" name="vendor_string" type="gchar*" owned="true" pass_as="out"/> </parameters> @@ -26100,7 +26130,7 @@ <warning>missing glib:type-name</warning> </return-type> <parameters> - <parameter name="data" type="guint8*" array="true" array_len="128"/> + <parameter name="data" type="const guint8*" array="true" array_len="128"/> </parameters> </method> <method name="TagListToExifBuffer" cname="gst_tag_list_to_exif_buffer" shared="true"> @@ -26133,7 +26163,7 @@ <parameter name="list" type="GstTagList*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="id_data" type="guint8*" array="true" array_length_param_index="2"/> + <parameter name="id_data" type="const guint8*" array="true" array_length_param_index="2"/> <parameter name="id_data_length" type="guint" array_index="1"/> <parameter allow-none="1" name="vendor_string" type="const-gchar*"/> </parameters> @@ -26147,7 +26177,7 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="read_only" type="gboolean"/> - <parameter name="schemas" type="const-gchar**" array="true" null_term_array="true"/> + <parameter name="schemas" type="const gchar**" array="true" null_term_array="true"/> </parameters> </method> <method name="TagParseExtendedComment" cname="gst_tag_parse_extended_comment" shared="true"> @@ -26338,6 +26368,10 @@ <member cname="GST_VIDEO_COLOR_PRIMARIES_FILM" name="Film" value="6"/> <member cname="GST_VIDEO_COLOR_PRIMARIES_BT2020" name="Bt2020" value="7"/> <member cname="GST_VIDEO_COLOR_PRIMARIES_ADOBERGB" name="Adobergb" value="8"/> + <member cname="GST_VIDEO_COLOR_PRIMARIES_SMPTEST428" name="Smptest428" value="9"/> + <member cname="GST_VIDEO_COLOR_PRIMARIES_SMPTERP431" name="Smpterp431" value="10"/> + <member cname="GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432" name="Smpteeg432" value="11"/> + <member cname="GST_VIDEO_COLOR_PRIMARIES_EBU3213" name="Ebu3213" value="12"/> </enum> <enum name="VideoColorRange" cname="GstVideoColorRange" type="enum" gtype="gst_video_color_range_get_type"> <member cname="GST_VIDEO_COLOR_RANGE_UNKNOWN" name="Unknown" value="0"/> @@ -26441,6 +26475,8 @@ <member cname="GST_VIDEO_FORMAT_NV12_10LE40" name="Nv1210le40" value="81"/> <member cname="GST_VIDEO_FORMAT_Y210" name="Y210" value="82"/> <member cname="GST_VIDEO_FORMAT_Y410" name="Y410" value="83"/> + <member cname="GST_VIDEO_FORMAT_VUYA" name="Vuya" value="84"/> + <member cname="GST_VIDEO_FORMAT_BGR10A2_LE" name="Bgr10a2Le" value="85"/> </enum> <enum name="VideoGLTextureOrientation" cname="GstVideoGLTextureOrientation" type="enum"> <member cname="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL" name="NormalYNormal" value="0"/> @@ -29352,7 +29388,7 @@ <parameter name="composite" type="gboolean"/> <parameter name="DID" type="guint8"/> <parameter name="SDID_block_number" type="guint8"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="4"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="4"/> <parameter name="data_count" type="guint" array_index="3"/> </parameters> </method> @@ -29386,7 +29422,7 @@ <method name="AddLine" cname="gst_video_vbi_parser_add_line" version="1.16"> <return-type type="void"/> <parameters> - <parameter name="data" type="guint8*" array="true"/> + <parameter name="data" type="const guint8*" array="true"/> </parameters> </method> <method name="Copy" cname="gst_video_vbi_parser_copy"> @@ -29428,7 +29464,7 @@ <warning>missing glib:type-name</warning> </parameter> <parameter name="caption_type" type="GstVideoCaptionType"/> - <parameter name="data" type="guint8*" array="true" array_length_param_index="3"/> + <parameter name="data" type="const guint8*" array="true" array_length_param_index="3"/> <parameter name="size" type="gsize" array_index="2"/> </parameters> </method> @@ -29476,8 +29512,8 @@ <parameter name="width" type="guint"/> <parameter name="height" type="guint"/> <parameter name="n_planes" type="guint"/> - <parameter name="offset" type="gsize" array="true" array_len="4"/> - <parameter name="stride" type="gint" array="true" array_len="4"/> + <parameter name="offset" type="gsize*" array="true" array_len="4"/> + <parameter name="stride" type="gint*" array="true" array_len="4"/> </parameters> </method> <method name="BufferAddVideoOverlayCompositionMeta" cname="gst_buffer_add_video_overlay_composition_meta" shared="true"> @@ -29932,8 +29968,8 @@ <parameter name="info" type="GstVideoFormatInfo*"> <warning>missing glib:type-name</warning> </parameter> - <parameter name="offset" type="gint" pass_as="out" array="true" array_len="4"/> - <parameter name="scale" type="gint" pass_as="out" array="true" array_len="4"/> + <parameter name="offset" type="gint*" pass_as="out" array="true" array_len="4"/> + <parameter name="scale" type="gint*" pass_as="out" array="true" array_len="4"/> </parameters> </method> <method name="VideoColorTransferDecode" cname="gst_video_color_transfer_decode" shared="true" version="1.6"> @@ -30328,7 +30364,7 @@ <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_DECODER_SRC_NAME"/> <constant value="sink" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SINK_NAME"/> <constant value="src" ctype="gchar*" gtype="gchar*" name="VIDEO_ENCODER_SRC_NAME"/> - <constant value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL"/> + <constant value="{ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" ctype="gchar*" gtype="gchar*" name="VIDEO_FORMATS_ALL"/> <constant value="(fraction) [ 0, max ]" ctype="gchar*" gtype="gchar*" name="VIDEO_FPS_RANGE"/> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_COMPONENTS"/> <constant value="4" ctype="gint" gtype="gint" name="VIDEO_MAX_PLANES"/> |