Commit 6ad219d5 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

Release 1.16.0

parent cf3b88ae
Pipeline #31911 failed with stages
in 82 minutes and 16 seconds
......@@ -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
}
}
......@@ -29,6 +29,15 @@ namespace GES {
ges_deinit();
}
[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();
......
......@@ -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
......@@ -1378,6 +1444,17 @@ namespace GES {
return value;
}
[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);
......
......@@ -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 {
......
......@@ -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) {
......
......@@ -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));
......
......@@ -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") + "\"");
......
......@@ -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
......@@ -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>
</
......@@ -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*"/>