Update bindings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/25>
This commit is contained in:
Olivier Crête 2020-10-16 15:37:35 -04:00
parent 9d02a62ec8
commit 2cdb1e714d
34 changed files with 3550 additions and 1709 deletions

View file

@ -26,6 +26,10 @@ namespace GES {
public const int PADDING = 4;
public const int PADDING_LARGE = 20;
public const uint TIMELINE_ELEMENT_NO_LAYER_PRIORITY = 4294967295;
public const int VERSION_MAJOR = 1;
public const int VERSION_MICRO = 0;
public const int VERSION_MINOR = 19;
public const int VERSION_NANO = 1;
#endregion
}
}

View file

@ -0,0 +1,24 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace GES {
using System;
public delegate void SelectElementTrackHandler(object o, SelectElementTrackArgs args);
public class SelectElementTrackArgs : GLib.SignalArgs {
public GES.Clip Clip{
get {
return (GES.Clip) Args [0];
}
}
public GES.TrackElement TrackElement{
get {
return (GES.TrackElement) Args [1];
}
}
}
}

View file

@ -120,6 +120,16 @@ namespace GES {
}
}
[GLib.Signal("track-added")]
public event GES.TrackAddedHandler TrackAdded {
add {
this.AddSignalHandler ("track-added", value, typeof (GES.TrackAddedArgs));
}
remove {
this.RemoveSignalHandler ("track-added", value);
}
}
[GLib.Signal("commited")]
public event System.EventHandler Commited {
add {
@ -170,13 +180,13 @@ namespace GES {
}
}
[GLib.Signal("track-added")]
public event GES.TrackAddedHandler TrackAdded {
[GLib.Signal("select-element-track")]
public event GES.SelectElementTrackHandler SelectElementTrack {
add {
this.AddSignalHandler ("track-added", value, typeof (GES.TrackAddedArgs));
this.AddSignalHandler ("select-element-track", value, typeof (GES.SelectElementTrackArgs));
}
remove {
this.RemoveSignalHandler ("track-added", value);
this.RemoveSignalHandler ("select-element-track", value);
}
}
@ -249,6 +259,66 @@ namespace GES {
v.Dispose ();
}
static SelectElementTrackNativeDelegate SelectElementTrack_cb_delegate;
static SelectElementTrackNativeDelegate SelectElementTrackVMCallback {
get {
if (SelectElementTrack_cb_delegate == null)
SelectElementTrack_cb_delegate = new SelectElementTrackNativeDelegate (SelectElementTrack_cb);
return SelectElementTrack_cb_delegate;
}
}
static void OverrideSelectElementTrack (GLib.GType gtype)
{
OverrideSelectElementTrack (gtype, SelectElementTrackVMCallback);
}
static void OverrideSelectElementTrack (GLib.GType gtype, SelectElementTrackNativeDelegate callback)
{
OverrideVirtualMethod (gtype, "select-element-track", callback);
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate IntPtr SelectElementTrackNativeDelegate (IntPtr inst, IntPtr clip, IntPtr track_element);
static IntPtr SelectElementTrack_cb (IntPtr inst, IntPtr clip, IntPtr track_element)
{
try {
Timeline __obj = GLib.Object.GetObject (inst, false) as Timeline;
GES.Track __result;
__result = __obj.OnSelectElementTrack (GLib.Object.GetObject(clip) as GES.Clip, GLib.Object.GetObject(track_element) as GES.TrackElement);
return __result == null ? IntPtr.Zero : __result.OwnedHandle;
} catch (Exception e) {
GLib.ExceptionManager.RaiseUnhandledException (e, true);
// NOTREACHED: above call does not return.
throw e;
}
}
[GLib.DefaultSignalHandler(Type=typeof(GES.Timeline), ConnectionMethod="OverrideSelectElementTrack")]
protected virtual GES.Track OnSelectElementTrack (GES.Clip clip, GES.TrackElement track_element)
{
return InternalSelectElementTrack (clip, track_element);
}
private GES.Track InternalSelectElementTrack (GES.Clip clip, GES.TrackElement track_element)
{
GLib.Value ret = new GLib.Value (GLib.GType.Object);
GLib.ValueArray inst_and_params = new GLib.ValueArray (3);
GLib.Value[] vals = new GLib.Value [3];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (clip);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (track_element);
inst_and_params.Append (vals [2]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
GES.Track result = (GES.Track) ret;
ret.Dispose ();
return result;
}
static SnappingEndedNativeDelegate SnappingEnded_cb_delegate;
static SnappingEndedNativeDelegate SnappingEndedVMCallback {
get {

View file

@ -0,0 +1,34 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace GES {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
public partial class UriSource : GLib.Opaque {
public UriSource(IntPtr raw) : base(raw) {}
// Internal representation of the wrapped structure ABI.
static GLib.AbiStruct _abi_info = null;
static public GLib.AbiStruct abi_info {
get {
if (_abi_info == null)
_abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{
});
return _abi_info;
}
}
// End of the ABI representation.
#endregion
}
}

View file

@ -28,6 +28,7 @@ namespace GES {
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
static extern int ges_video_transition_get_border(IntPtr raw);
[Obsolete]
[GLib.Property ("border")]
public int Border {
get {
@ -42,6 +43,7 @@ namespace GES {
}
}
[Obsolete]
[GLib.Property ("invert")]
public bool Invert {
get {
@ -112,6 +114,7 @@ namespace GES {
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
static extern bool ges_video_transition_is_inverted(IntPtr raw);
[Obsolete]
public bool IsInverted {
get {
bool raw_ret = ges_video_transition_is_inverted(Handle);
@ -123,6 +126,7 @@ namespace GES {
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
static extern void ges_video_transition_set_inverted(IntPtr raw, bool inverted);
[Obsolete]
public bool Inverted {
set {
ges_video_transition_set_inverted(Handle, value);

View file

@ -545,7 +545,7 @@
<parameter name="value" type="guint64" />
</parameters>
</method>
<method name="RegisterStaticMeta" cname="ges_meta_container_register_static_meta">
<method name="RegisterStaticMeta" cname="ges_meta_container_register_static_meta" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="flags" type="GESMetaFlag" />
@ -912,7 +912,7 @@
<property name="Uri" cname="uri" type="gchar*" readable="true" writeable="true" construct="false" construct-only="true" />
<field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GESAudioSource*" />
<field cname="uri" access="private" writeable="false" readable="false" is_callback="false" name="UriField" type="gchar*" />
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESAudioUriSourcePrivate*">
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESUriSource*">
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4" padding="true" />
@ -1063,7 +1063,7 @@
<parameter name="asset" type="GESAsset*" />
</parameters>
</method>
<method name="AddChildToTrack" cname="ges_clip_add_child_to_track">
<method name="AddChildToTrack" cname="ges_clip_add_child_to_track" version="1.18">
<return-type type="GESTrackElement*" />
<parameters throws="1">
<parameter name="child" type="GESTrackElement*" />
@ -1114,7 +1114,7 @@
<return-type type="GESTrackType" />
<parameters />
</method>
<method name="GetTimelineTimeFromInternalTime" cname="ges_clip_get_timeline_time_from_internal_time">
<method name="GetTimelineTimeFromInternalTime" cname="ges_clip_get_timeline_time_from_internal_time" version="1.18">
<return-type type="guint64" />
<parameters throws="1">
<parameter name="child" type="GESTrackElement*" />
@ -1206,7 +1206,7 @@
<parameter name="error" type="GError**" />
</parameters>
</method>
<property name="DurationLimit" cname="duration-limit" type="guint64" readable="true" writeable="false" construct="false" construct-only="false" />
<property name="DurationLimit" cname="duration-limit" type="guint64" readable="true" writeable="false" construct="false" construct-only="false" version="1.18" />
<property name="Layer" cname="layer" type="GESLayer*" readable="true" writeable="false" construct="false" construct-only="false" />
<property name="SupportedFormats" cname="supported-formats" type="GESTrackType" readable="true" writeable="true" construct="true" construct-only="false" />
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GESContainer*" />
@ -1231,20 +1231,20 @@
<method name="GetType" cname="ges_clip_asset_get_type" shared="true">
<return-type type="GType" />
</method>
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate">
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="framerate_n" type="gint" />
<parameter name="framerate_d" type="gint" />
</parameters>
</virtual_method>
<method name="GetFrameTime" cname="ges_clip_asset_get_frame_time">
<method name="GetFrameTime" cname="ges_clip_asset_get_frame_time" version="1.18">
<return-type type="guint64" />
<parameters>
<parameter name="frame_number" type="gint64" />
</parameters>
</method>
<method name="GetNaturalFramerate" cname="ges_clip_asset_get_natural_framerate">
<method name="GetNaturalFramerate" cname="ges_clip_asset_get_natural_framerate" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="framerate_n" type="gint" />
@ -1709,7 +1709,7 @@
<parameter name="error" type="GError**" />
</parameters>
</method>
<method name="GetActiveForTrack" cname="ges_layer_get_active_for_track">
<method name="GetActiveForTrack" cname="ges_layer_get_active_for_track" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="track" type="GESTrack*" />
@ -1752,7 +1752,7 @@
<parameter name="clip" type="GESClip*" />
</parameters>
</method>
<method name="SetActiveForTracks" cname="ges_layer_set_active_for_tracks">
<method name="SetActiveForTracks" cname="ges_layer_set_active_for_tracks" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="active" type="gboolean" />
@ -1787,7 +1787,7 @@
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4" padding="true" />
<signal name="ActiveChanged" cname="active-changed" when="first">
<signal name="ActiveChanged" cname="active-changed" when="first" version="1.18">
<return-type type="void" />
<parameters>
<parameter name="active" type="gboolean" />
@ -1807,7 +1807,7 @@
</parameters>
</signal>
</object>
<object name="Marker" cname="GESMarker" opaque="false" hidden="false" parent="GObject">
<object name="Marker" cname="GESMarker" opaque="false" hidden="false" parent="GObject" version="1.18">
<implements>
<interface cname="GESMetaContainer" />
</implements>
@ -1819,7 +1819,7 @@
<method name="GetType" cname="ges_marker_get_type" shared="true">
<return-type type="GType" />
</method>
<property name="Position" cname="position" type="guint64" readable="true" writeable="false" construct="false" construct-only="false" />
<property name="Position" cname="position" type="guint64" readable="true" writeable="false" construct="false" construct-only="false" version="1.18" />
</object>
<object name="MarkerList" cname="GESMarkerList" opaque="false" hidden="false" parent="GObject" version="1.18">
<class_struct cname="GESMarkerListClass">
@ -2282,7 +2282,7 @@
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4" padding="true" />
</object>
<object name="SourceClipAsset" cname="GESSourceClipAsset" opaque="false" hidden="false" parent="GESClipAsset">
<object name="SourceClipAsset" cname="GESSourceClipAsset" opaque="false" hidden="false" parent="GESClipAsset" version="1.18">
<implements>
<interface cname="GESMetaContainer" />
<interface cname="GAsyncInitable" />
@ -2623,13 +2623,13 @@
<parameter name="name" type="const-gchar*" />
</parameters>
</method>
<method name="GetFrameAt" cname="ges_timeline_get_frame_at">
<method name="GetFrameAt" cname="ges_timeline_get_frame_at" version="1.18">
<return-type type="gint64" />
<parameters>
<parameter name="timestamp" type="guint64" />
</parameters>
</method>
<method name="GetFrameTime" cname="ges_timeline_get_frame_time">
<method name="GetFrameTime" cname="ges_timeline_get_frame_time" version="1.18">
<return-type type="guint64" />
<parameters>
<parameter name="frame_number" type="gint64" />
@ -2767,6 +2767,13 @@
<parameter name="layer" type="GESLayer*" />
</parameters>
</signal>
<signal name="SelectElementTrack" cname="select-element-track" when="last" version="1.18">
<return-type type="GESTrack*" owned="true" />
<parameters>
<parameter name="clip" type="GESClip*" />
<parameter name="track_element" type="GESTrackElement*" />
</parameters>
</signal>
<signal name="SelectTracksForObject" cname="select-tracks-for-object" when="last">
<return-type type="*" owned="true" array="true" null_term_array="true" />
<parameters>
@ -2832,7 +2839,7 @@
<method vm="get_layer_priority" />
<method vm="get_natural_framerate" />
<method vm="set_child_property_full" />
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="14" padding="true" />
<field cname="_ges_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="14" padding="true" />
</class_struct>
<method name="GetType" cname="ges_timeline_element_get_type" shared="true">
<return-type type="GType" />
@ -2903,7 +2910,7 @@
<parameter name="start" type="guint64" />
</parameters>
</virtual_method>
<virtual_method name="SetChildProperty" cname="set_child_property">
<virtual_method name="SetChildProperty" cname="set_child_property" version="1.16">
<return-type type="void" />
<parameters>
<parameter name="child" type="GObject*" />
@ -2913,7 +2920,7 @@
</parameter>
</parameters>
</virtual_method>
<virtual_method name="SetChildPropertyFull" cname="set_child_property_full">
<virtual_method name="SetChildPropertyFull" cname="set_child_property_full" version="1.18">
<return-type type="gboolean" />
<parameters throws="1">
<parameter name="child" type="GObject*" />
@ -3223,14 +3230,14 @@
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="20" padding="true" />
<signal name="ChildPropertyAdded" cname="child-property-added" when="first">
<signal name="ChildPropertyAdded" cname="child-property-added" when="first" version="1.18">
<return-type type="void" />
<parameters>
<parameter name="prop_object" type="GObject*" />
<parameter name="prop" type="GParamSpec*" />
</parameters>
</signal>
<signal name="ChildPropertyRemoved" cname="child-property-removed" when="first">
<signal name="ChildPropertyRemoved" cname="child-property-removed" when="first" version="1.18">
<return-type type="void" />
<parameters>
<parameter name="prop_object" type="GObject*" />
@ -3706,7 +3713,7 @@
<return-type type="GESTrackType" />
<parameters />
</method>
<method name="HasInternalSource" cname="ges_track_element_has_internal_source">
<method name="HasInternalSource" cname="ges_track_element_has_internal_source" version="1.18">
<return-type type="gboolean" />
<parameters />
</method>
@ -3758,7 +3765,7 @@
<parameter name="binding_type" type="const-gchar*" />
</parameters>
</method>
<method name="SetHasInternalSource" cname="ges_track_element_set_has_internal_source">
<method name="SetHasInternalSource" cname="ges_track_element_set_has_internal_source" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="has_internal_source" type="gboolean" />
@ -3771,8 +3778,8 @@
</parameters>
</method>
<property name="Active" cname="active" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" />
<property name="AutoClampControlSources" cname="auto-clamp-control-sources" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" />
<property name="HasInternalSourceProp&#xA; " cname="has-internal-source" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" />
<property name="AutoClampControlSources" cname="auto-clamp-control-sources" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.18" />
<property name="HasInternalSourceProp&#xA; " cname="has-internal-source" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.18" />
<property name="Track" cname="track" type="GESTrack*" readable="true" writeable="false" construct="false" construct-only="false" />
<property name="TrackType" cname="track-type" type="GESTrackType" readable="true" writeable="true" construct="true" construct-only="false" />
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GESTimelineElement*" />
@ -3811,14 +3818,14 @@
<method name="GetType" cname="ges_track_element_asset_get_type" shared="true">
<return-type type="GType" />
</method>
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate">
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="framerate_n" type="gint" />
<parameter name="framerate_d" type="gint" />
</parameters>
</virtual_method>
<method name="GetNaturalFramerate" cname="ges_track_element_asset_get_natural_framerate">
<method name="GetNaturalFramerate" cname="ges_track_element_asset_get_natural_framerate" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="framerate_n" type="gint" />
@ -4009,7 +4016,7 @@
<return-type type="const GList*" element_type="GESUriSourceAsset*" />
<parameters />
</method>
<method name="IsImage" cname="ges_uri_clip_asset_is_image">
<method name="IsImage" cname="ges_uri_clip_asset_is_image" version="1.18">
<return-type type="gboolean" />
<parameters />
</method>
@ -4048,7 +4055,7 @@
<return-type type="const-gchar*" />
<parameters />
</method>
<method name="IsImage" cname="ges_uri_source_asset_is_image">
<method name="IsImage" cname="ges_uri_source_asset_is_image" version="1.18">
<return-type type="gboolean" />
<parameters />
</method>
@ -4084,7 +4091,7 @@
<method name="GetType" cname="ges_video_source_get_type" shared="true">
<return-type type="GType" />
</method>
<method name="GetNaturalSize" cname="ges_video_source_get_natural_size">
<method name="GetNaturalSize" cname="ges_video_source_get_natural_size" version="1.18">
<return-type type="gboolean" />
<parameters>
<parameter name="width" type="gint*" owned="true" pass_as="out" />
@ -4163,7 +4170,7 @@
<return-type type="GType" />
</method>
<constructor cname="ges_video_transition_new" disable_void_ctor="" />
<method name="GetBorder" cname="ges_video_transition_get_border">
<method name="GetBorder" cname="ges_video_transition_get_border" deprecated="true" deprecated-version="1.20">
<return-type type="gint" />
<parameters />
</method>
@ -4171,17 +4178,17 @@
<return-type type="GESVideoStandardTransitionType" />
<parameters />
</method>
<method name="IsInverted" cname="ges_video_transition_is_inverted">
<method name="IsInverted" cname="ges_video_transition_is_inverted" deprecated="true" deprecated-version="1.20">
<return-type type="gboolean" />
<parameters />
</method>
<method name="SetBorder" cname="ges_video_transition_set_border">
<method name="SetBorder" cname="ges_video_transition_set_border" deprecated="true" deprecated-version="1.20">
<return-type type="void" />
<parameters>
<parameter name="value" type="guint" />
</parameters>
</method>
<method name="SetInverted" cname="ges_video_transition_set_inverted">
<method name="SetInverted" cname="ges_video_transition_set_inverted" deprecated="true" deprecated-version="1.20">
<return-type type="void" />
<parameters>
<parameter name="inverted" type="gboolean" />
@ -4194,7 +4201,7 @@
</parameters>
</method>
<property name="Border" cname="border" type="guint" readable="true" writeable="true" construct="false" construct-only="false" />
<property name="Invert" cname="invert" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" />
<property name="Invert" cname="invert" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" deprecated="true" deprecated-version="1.20" />
<property name="TransitionType" cname="transition-type" type="GESVideoStandardTransitionType" readable="true" writeable="true" construct="false" construct-only="false" />
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GESTransition*" />
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESVideoTransitionPrivate*">
@ -4219,7 +4226,7 @@
<property name="Uri" cname="uri" type="gchar*" readable="true" writeable="true" construct="false" construct-only="true" />
<field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GESVideoSource*" />
<field cname="uri" access="private" writeable="false" readable="false" is_callback="false" name="UriField" type="gchar*" />
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESVideoUriSourcePrivate*">
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESUriSource*">
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4" padding="true" />
@ -4287,6 +4294,7 @@
<struct name="TransitionPrivate" cname="GESTransitionPrivate" opaque="true" hidden="true" />
<struct name="UriClipAssetPrivate" cname="GESUriClipAssetPrivate" opaque="true" hidden="true" />
<struct name="UriClipPrivate" cname="GESUriClipPrivate" opaque="true" hidden="true" />
<struct name="UriSource" cname="GESUriSource" opaque="true" hidden="false" />
<struct name="UriSourceAssetPrivate" cname="GESUriSourceAssetPrivate" opaque="true" hidden="true" />
<struct name="VideoSourcePrivate" cname="GESVideoSourcePrivate" opaque="true" hidden="true" />
<struct name="VideoTestSourcePrivate" cname="GESVideoTestSourcePrivate" opaque="true" hidden="true" />
@ -4305,7 +4313,7 @@
<method name="Deinit" cname="ges_deinit" shared="true">
<return-type type="void" />
</method>
<method name="EdgeName" cname="ges_edge_name" shared="true">
<method name="EdgeName" cname="ges_edge_name" shared="true" version="1.16">
<return-type type="const-gchar*" />
<parameters>
<parameter name="edge" type="GESEdge" />
@ -4402,6 +4410,10 @@
<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" />
<constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR" />
<constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO" />
<constant value="19" ctype="gint" gtype="gint" name="VERSION_MINOR" />
<constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO" />
</object>
</namespace>
</api>

View file

@ -83,6 +83,7 @@ generated_sources = [
'GES/PipelineFlags.cs',
'GES/PitiviFormatter.cs',
'GES/Project.cs',
'GES/SelectElementTrackHandler.cs',
'GES/SnappingEndedHandler.cs',
'GES/SnappingStartedHandler.cs',
'GES/Source.cs',
@ -109,6 +110,7 @@ generated_sources = [
'GES/TransitionClip.cs',
'GES/UriClip.cs',
'GES/UriClipAsset.cs',
'GES/UriSource.cs',
'GES/UriSourceAsset.cs',
'GES/VideoSource.cs',
'GES/VideoStandardTransitionType.cs',

View file

@ -545,7 +545,7 @@
<parameter name="value" type="guint64"/>
</parameters>
</method>
<method name="RegisterStaticMeta" cname="ges_meta_container_register_static_meta">
<method name="RegisterStaticMeta" cname="ges_meta_container_register_static_meta" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="flags" type="GESMetaFlag"/>
@ -912,7 +912,7 @@
<property name="Uri" cname="uri" type="gchar*" readable="true" writeable="true" construct="false" construct-only="true"/>
<field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GESAudioSource*"/>
<field cname="uri" access="private" writeable="false" readable="false" is_callback="false" name="UriField" type="gchar*"/>
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESAudioUriSourcePrivate*">
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESUriSource*">
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4"/>
@ -1059,7 +1059,7 @@
<parameter name="asset" type="GESAsset*"/>
</parameters>
</method>
<method name="AddChildToTrack" cname="ges_clip_add_child_to_track">
<method name="AddChildToTrack" cname="ges_clip_add_child_to_track" version="1.18">
<return-type type="GESTrackElement*"/>
<parameters throws="1">
<parameter name="child" type="GESTrackElement*"/>
@ -1110,7 +1110,7 @@
<return-type type="GESTrackType"/>
<parameters/>
</method>
<method name="GetTimelineTimeFromInternalTime" cname="ges_clip_get_timeline_time_from_internal_time">
<method name="GetTimelineTimeFromInternalTime" cname="ges_clip_get_timeline_time_from_internal_time" version="1.18">
<return-type type="guint64"/>
<parameters throws="1">
<parameter name="child" type="GESTrackElement*"/>
@ -1202,7 +1202,7 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
<property name="DurationLimit" cname="duration-limit" type="guint64" readable="true" writeable="false" construct="false" construct-only="false"/>
<property name="DurationLimit" cname="duration-limit" type="guint64" readable="true" writeable="false" construct="false" construct-only="false" version="1.18"/>
<property name="Layer" cname="layer" type="GESLayer*" readable="true" writeable="false" construct="false" construct-only="false"/>
<property name="SupportedFormats" cname="supported-formats" type="GESTrackType" readable="true" writeable="true" construct="true" construct-only="false"/>
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GESContainer*"/>
@ -1227,20 +1227,20 @@
<method name="GetType" cname="ges_clip_asset_get_type" shared="true">
<return-type type="GType"/>
</method>
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate">
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="framerate_n" type="gint"/>
<parameter name="framerate_d" type="gint"/>
</parameters>
</virtual_method>
<method name="GetFrameTime" cname="ges_clip_asset_get_frame_time">
<method name="GetFrameTime" cname="ges_clip_asset_get_frame_time" version="1.18">
<return-type type="guint64"/>
<parameters>
<parameter name="frame_number" type="gint64"/>
</parameters>
</method>
<method name="GetNaturalFramerate" cname="ges_clip_asset_get_natural_framerate">
<method name="GetNaturalFramerate" cname="ges_clip_asset_get_natural_framerate" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="framerate_n" type="gint"/>
@ -1705,7 +1705,7 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
<method name="GetActiveForTrack" cname="ges_layer_get_active_for_track">
<method name="GetActiveForTrack" cname="ges_layer_get_active_for_track" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="track" type="GESTrack*"/>
@ -1748,7 +1748,7 @@
<parameter name="clip" type="GESClip*"/>
</parameters>
</method>
<method name="SetActiveForTracks" cname="ges_layer_set_active_for_tracks">
<method name="SetActiveForTracks" cname="ges_layer_set_active_for_tracks" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="active" type="gboolean"/>
@ -1783,7 +1783,7 @@
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4"/>
<signal name="ActiveChanged" cname="active-changed" when="first">
<signal name="ActiveChanged" cname="active-changed" when="first" version="1.18">
<return-type type="void"/>
<parameters>
<parameter name="active" type="gboolean"/>
@ -1803,7 +1803,7 @@
</parameters>
</signal>
</object>
<object name="Marker" cname="GESMarker" opaque="false" hidden="false" parent="GObject">
<object name="Marker" cname="GESMarker" opaque="false" hidden="false" parent="GObject" version="1.18">
<implements>
<interface cname="GESMetaContainer"/>
</implements>
@ -1815,7 +1815,7 @@
<method name="GetType" cname="ges_marker_get_type" shared="true">
<return-type type="GType"/>
</method>
<property name="Position" cname="position" type="guint64" readable="true" writeable="false" construct="false" construct-only="false"/>
<property name="Position" cname="position" type="guint64" readable="true" writeable="false" construct="false" construct-only="false" version="1.18"/>
</object>
<object name="MarkerList" cname="GESMarkerList" opaque="false" hidden="false" parent="GObject" version="1.18">
<class_struct cname="GESMarkerListClass">
@ -2298,7 +2298,7 @@
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4"/>
</object>
<object name="SourceClipAsset" cname="GESSourceClipAsset" opaque="false" hidden="false" parent="GESClipAsset">
<object name="SourceClipAsset" cname="GESSourceClipAsset" opaque="false" hidden="false" parent="GESClipAsset" version="1.18">
<implements>
<interface cname="GESMetaContainer"/>
<interface cname="GAsyncInitable"/>
@ -2639,13 +2639,13 @@
<parameter name="name" type="const-gchar*"/>
</parameters>
</method>
<method name="GetFrameAt" cname="ges_timeline_get_frame_at">
<method name="GetFrameAt" cname="ges_timeline_get_frame_at" version="1.18">
<return-type type="gint64"/>
<parameters>
<parameter name="timestamp" type="guint64"/>
</parameters>
</method>
<method name="GetFrameTime" cname="ges_timeline_get_frame_time">
<method name="GetFrameTime" cname="ges_timeline_get_frame_time" version="1.18">
<return-type type="guint64"/>
<parameters>
<parameter name="frame_number" type="gint64"/>
@ -2783,6 +2783,13 @@
<parameter name="layer" type="GESLayer*"/>
</parameters>
</signal>
<signal name="SelectElementTrack" cname="select-element-track" when="last" version="1.18">
<return-type type="GESTrack*" owned="true"/>
<parameters>
<parameter name="clip" type="GESClip*"/>
<parameter name="track_element" type="GESTrackElement*"/>
</parameters>
</signal>
<signal name="SelectTracksForObject" cname="select-tracks-for-object" when="last">
<return-type type="*" owned="true" array="true" null_term_array="true"/>
<parameters>
@ -2848,7 +2855,7 @@
<method vm="get_layer_priority"/>
<method vm="get_natural_framerate"/>
<method vm="set_child_property_full"/>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="14"/>
<field cname="_ges_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="14"/>
</class_struct>
<method name="GetType" cname="ges_timeline_element_get_type" shared="true">
<return-type type="GType"/>
@ -2919,7 +2926,7 @@
<parameter name="start" type="guint64"/>
</parameters>
</virtual_method>
<virtual_method name="SetChildProperty" cname="set_child_property">
<virtual_method name="SetChildProperty" cname="set_child_property" version="1.16">
<return-type type="void"/>
<parameters>
<parameter name="child" type="GObject*"/>
@ -2929,7 +2936,7 @@
</parameter>
</parameters>
</virtual_method>
<virtual_method name="SetChildPropertyFull" cname="set_child_property_full">
<virtual_method name="SetChildPropertyFull" cname="set_child_property_full" version="1.18">
<return-type type="gboolean"/>
<parameters throws="1">
<parameter name="child" type="GObject*"/>
@ -3239,14 +3246,14 @@
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="20"/>
<signal name="ChildPropertyAdded" cname="child-property-added" when="first">
<signal name="ChildPropertyAdded" cname="child-property-added" when="first" version="1.18">
<return-type type="void"/>
<parameters>
<parameter name="prop_object" type="GObject*"/>
<parameter name="prop" type="GParamSpec*"/>
</parameters>
</signal>
<signal name="ChildPropertyRemoved" cname="child-property-removed" when="first">
<signal name="ChildPropertyRemoved" cname="child-property-removed" when="first" version="1.18">
<return-type type="void"/>
<parameters>
<parameter name="prop_object" type="GObject*"/>
@ -3718,7 +3725,7 @@
<return-type type="GESTrackType"/>
<parameters/>
</method>
<method name="HasInternalSource" cname="ges_track_element_has_internal_source">
<method name="HasInternalSource" cname="ges_track_element_has_internal_source" version="1.18">
<return-type type="gboolean"/>
<parameters/>
</method>
@ -3770,7 +3777,7 @@
<parameter name="binding_type" type="const-gchar*"/>
</parameters>
</method>
<method name="SetHasInternalSource" cname="ges_track_element_set_has_internal_source">
<method name="SetHasInternalSource" cname="ges_track_element_set_has_internal_source" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="has_internal_source" type="gboolean"/>
@ -3783,8 +3790,8 @@
</parameters>
</method>
<property name="Active" cname="active" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/>
<property name="AutoClampControlSources" cname="auto-clamp-control-sources" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/>
<property name="HasInternalSourceProp&#10;&#9;&#9;&#9;&#9;&#9;&#9;" cname="has-internal-source" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/>
<property name="AutoClampControlSources" cname="auto-clamp-control-sources" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.18"/>
<property name="HasInternalSourceProp&#10;&#9;&#9;&#9;&#9;&#9;&#9;" cname="has-internal-source" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.18"/>
<property name="Track" cname="track" type="GESTrack*" readable="true" writeable="false" construct="false" construct-only="false"/>
<property name="TrackType" cname="track-type" type="GESTrackType" readable="true" writeable="true" construct="true" construct-only="false"/>
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GESTimelineElement*"/>
@ -3823,14 +3830,14 @@
<method name="GetType" cname="ges_track_element_asset_get_type" shared="true">
<return-type type="GType"/>
</method>
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate">
<virtual_method name="GetNaturalFramerate" cname="get_natural_framerate" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="framerate_n" type="gint"/>
<parameter name="framerate_d" type="gint"/>
</parameters>
</virtual_method>
<method name="GetNaturalFramerate" cname="ges_track_element_asset_get_natural_framerate">
<method name="GetNaturalFramerate" cname="ges_track_element_asset_get_natural_framerate" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="framerate_n" type="gint"/>
@ -4031,7 +4038,7 @@
<return-type type="const GList*" element_type="GESUriSourceAsset*"/>
<parameters/>
</method>
<method name="IsImage" cname="ges_uri_clip_asset_is_image">
<method name="IsImage" cname="ges_uri_clip_asset_is_image" version="1.18">
<return-type type="gboolean"/>
<parameters/>
</method>
@ -4070,7 +4077,7 @@
<return-type type="const-gchar*"/>
<parameters/>
</method>
<method name="IsImage" cname="ges_uri_source_asset_is_image">
<method name="IsImage" cname="ges_uri_source_asset_is_image" version="1.18">
<return-type type="gboolean"/>
<parameters/>
</method>
@ -4100,7 +4107,7 @@
<method name="GetType" cname="ges_video_source_get_type" shared="true">
<return-type type="GType"/>
</method>
<method name="GetNaturalSize" cname="ges_video_source_get_natural_size">
<method name="GetNaturalSize" cname="ges_video_source_get_natural_size" version="1.18">
<return-type type="gboolean"/>
<parameters>
<parameter name="width" type="gint*" owned="true" pass_as="out"/>
@ -4179,7 +4186,7 @@
<return-type type="GType"/>
</method>
<constructor cname="ges_video_transition_new" disable_void_ctor=""/>
<method name="GetBorder" cname="ges_video_transition_get_border">
<method name="GetBorder" cname="ges_video_transition_get_border" deprecated="true" deprecated-version="1.20">
<return-type type="gint"/>
<parameters/>
</method>
@ -4187,17 +4194,17 @@
<return-type type="GESVideoStandardTransitionType"/>
<parameters/>
</method>
<method name="IsInverted" cname="ges_video_transition_is_inverted">
<method name="IsInverted" cname="ges_video_transition_is_inverted" deprecated="true" deprecated-version="1.20">
<return-type type="gboolean"/>
<parameters/>
</method>
<method name="SetBorder" cname="ges_video_transition_set_border">
<method name="SetBorder" cname="ges_video_transition_set_border" deprecated="true" deprecated-version="1.20">
<return-type type="void"/>
<parameters>
<parameter name="value" type="guint"/>
</parameters>
</method>
<method name="SetInverted" cname="ges_video_transition_set_inverted">
<method name="SetInverted" cname="ges_video_transition_set_inverted" deprecated="true" deprecated-version="1.20">
<return-type type="void"/>
<parameters>
<parameter name="inverted" type="gboolean"/>
@ -4210,7 +4217,7 @@
</parameters>
</method>
<property name="Border" cname="border" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/>
<property name="Invert" cname="invert" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/>
<property name="Invert" cname="invert" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" deprecated="true" deprecated-version="1.20"/>
<property name="TransitionType" cname="transition-type" type="GESVideoStandardTransitionType" readable="true" writeable="true" construct="false" construct-only="false"/>
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GESTransition*"/>
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESVideoTransitionPrivate*">
@ -4235,7 +4242,7 @@
<property name="Uri" cname="uri" type="gchar*" readable="true" writeable="true" construct="false" construct-only="true"/>
<field cname="parent" access="private" writeable="false" readable="false" is_callback="false" name="Parent" type="GESVideoSource*"/>
<field cname="uri" access="private" writeable="false" readable="false" is_callback="false" name="UriField" type="gchar*"/>
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESVideoUriSourcePrivate*">
<field cname="priv" access="private" writeable="false" readable="false" is_callback="false" name="Priv" type="GESUriSource*">
<warning>missing glib:type-name</warning>
</field>
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4"/>
@ -4303,6 +4310,7 @@
<struct name="TransitionPrivate" cname="GESTransitionPrivate" opaque="true" hidden="true"/>
<struct name="UriClipAssetPrivate" cname="GESUriClipAssetPrivate" opaque="true" hidden="true"/>
<struct name="UriClipPrivate" cname="GESUriClipPrivate" opaque="true" hidden="true"/>
<struct name="UriSource" cname="GESUriSource" opaque="true" hidden="false"/>
<struct name="UriSourceAssetPrivate" cname="GESUriSourceAssetPrivate" opaque="true" hidden="true"/>
<struct name="VideoSourcePrivate" cname="GESVideoSourcePrivate" opaque="true" hidden="true"/>
<struct name="VideoTestSourcePrivate" cname="GESVideoTestSourcePrivate" opaque="true" hidden="true"/>
@ -4321,7 +4329,7 @@
<method name="Deinit" cname="ges_deinit" shared="true">
<return-type type="void"/>
</method>
<method name="EdgeName" cname="ges_edge_name" shared="true">
<method name="EdgeName" cname="ges_edge_name" shared="true" version="1.16">
<return-type type="const-gchar*"/>
<parameters>
<parameter name="edge" type="GESEdge"/>
@ -4418,6 +4426,10 @@
<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"/>
<constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR"/>
<constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO"/>
<constant value="19" ctype="gint" gtype="gint" name="VERSION_MINOR"/>
<constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO"/>
</object>
</namespace>
</api>

File diff suppressed because it is too large Load diff

View file

@ -1550,21 +1550,21 @@ sent before pushing the buffer.</doc>
<virtual-method name="negotiate" invoker="negotiate" version="1.18">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1281">Negotiates src pad caps with downstream elements.
line="1279">Negotiates src pad caps with downstream elements.
Unmarks GST_PAD_FLAG_NEED_RECONFIGURE in any case. But marks it again
if #GstAggregatorClass.negotiate() fails.</doc>
<source-position filename="libs/gst/base/gstaggregator.h" line="323"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1289">%TRUE if the negotiation succeeded, else %FALSE.</doc>
line="1287">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1283">a #GstAggregator</doc>
line="1281">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
</parameters>
@ -1843,7 +1843,7 @@ sent before pushing the buffer.</doc>
<method name="get_allocator" c:identifier="gst_aggregator_get_allocator">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3619">Lets #GstAggregator sub-classes get the memory @allocator
line="3628">Lets #GstAggregator sub-classes get the memory @allocator
acquired by the base class and its @params.
Unref the @allocator after use it.</doc>
@ -1855,7 +1855,7 @@ Unref the @allocator after use it.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3621">a #GstAggregator</doc>
line="3630">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
<parameter name="allocator"
@ -1866,7 +1866,7 @@ Unref the @allocator after use it.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3622">the #GstAllocator
line="3631">the #GstAllocator
used</doc>
<type name="Gst.Allocator" c:type="GstAllocator**"/>
</parameter>
@ -1878,7 +1878,7 @@ used</doc>
allow-none="1">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3624">the
line="3633">the
#GstAllocationParams of @allocator</doc>
<type name="Gst.AllocationParams" c:type="GstAllocationParams*"/>
</parameter>
@ -1890,7 +1890,7 @@ used</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3600">the instance of the #GstBufferPool used
line="3609">the instance of the #GstBufferPool used
by @trans; free it after use it</doc>
<type name="Gst.BufferPool" c:type="GstBufferPool*"/>
</return-value>
@ -1898,7 +1898,7 @@ by @trans; free it after use it</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3598">a #GstAggregator</doc>
line="3607">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
</parameters>
@ -1906,7 +1906,7 @@ by @trans; free it after use it</doc>
<method name="get_latency" c:identifier="gst_aggregator_get_latency">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2137">Retrieves the latency values reported by @self in response to the latency
line="2139">Retrieves the latency values reported by @self in response to the latency
query, or %GST_CLOCK_TIME_NONE if there is not live source connected and the element
will not wait for the clock.
@ -1915,14 +1915,14 @@ Typically only called by subclasses.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2147">The latency or %GST_CLOCK_TIME_NONE if the element does not sync</doc>
line="2149">The latency or %GST_CLOCK_TIME_NONE if the element does not sync</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2139">a #GstAggregator</doc>
line="2141">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
</parameters>
@ -1932,21 +1932,21 @@ Typically only called by subclasses.</doc>
version="1.18">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1281">Negotiates src pad caps with downstream elements.
line="1279">Negotiates src pad caps with downstream elements.
Unmarks GST_PAD_FLAG_NEED_RECONFIGURE in any case. But marks it again
if #GstAggregatorClass.negotiate() fails.</doc>
<source-position filename="libs/gst/base/gstaggregator.h" line="388"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1289">%TRUE if the negotiation succeeded, else %FALSE.</doc>
line="1287">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1283">a #GstAggregator</doc>
line="1281">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
</parameters>
@ -1984,7 +1984,7 @@ control aggregating parameters for a given set of input samples.</doc>
version="1.18">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3713">Subclasses should call this when they have prepared the
line="3722">Subclasses should call this when they have prepared the
buffers they will aggregate for each of their sink pads, but
before using any of the properties of the pads that govern
*how* aggregation should be performed, for example z-index
@ -2006,19 +2006,19 @@ function.</doc>
<parameter name="pts" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3715">The presentation timestamp of the next output buffer</doc>
line="3724">The presentation timestamp of the next output buffer</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
<parameter name="dts" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3716">The decoding timestamp of the next output buffer</doc>
line="3725">The decoding timestamp of the next output buffer</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3717">The duration of the next output buffer</doc>
line="3726">The duration of the next output buffer</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
<parameter name="info"
@ -2027,7 +2027,7 @@ function.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3718">a #GstStructure containing additional information</doc>
line="3727">a #GstStructure containing additional information</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
</parameters>
@ -2035,7 +2035,7 @@ function.</doc>
<method name="set_latency" c:identifier="gst_aggregator_set_latency">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3556">Lets #GstAggregator sub-classes tell the baseclass what their internal
line="3565">Lets #GstAggregator sub-classes tell the baseclass what their internal
latency is. Will also post a LATENCY message on the bus so the pipeline
can reconfigure its global latency.</doc>
<source-position filename="libs/gst/base/gstaggregator.h" line="391"/>
@ -2046,19 +2046,19 @@ can reconfigure its global latency.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3558">a #GstAggregator</doc>
line="3567">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
<parameter name="min_latency" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3559">minimum latency</doc>
line="3568">minimum latency</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
<parameter name="max_latency" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3560">maximum latency</doc>
line="3569">maximum latency</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
@ -2091,7 +2091,7 @@ can reconfigure its global latency.</doc>
version="1.16">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3646">This is a simple #GstAggregatorClass.get_next_time() implementation that
line="3655">This is a simple #GstAggregatorClass.get_next_time() implementation that
just looks at the #GstSegment on the srcpad of the aggregator and bases
the next time on the running time there.
@ -2101,14 +2101,14 @@ and you have a dead line based aggregator subclass.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3657">The running time based on the position</doc>
line="3666">The running time based on the position</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3648">A #GstAggregator</doc>
line="3657">A #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</instance-parameter>
</parameters>
@ -2118,7 +2118,7 @@ and you have a dead line based aggregator subclass.</doc>
version="1.18">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3683">Subclasses should use this to update the segment on their
line="3692">Subclasses should use this to update the segment on their
source pad, instead of directly pushing new segment events
downstream.
@ -2143,7 +2143,7 @@ if it is used at all.</doc>
transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2780">Enables the emission of signals such as #GstAggregator::samples-selected</doc>
line="2782">Enables the emission of signals such as #GstAggregator::samples-selected</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="latency" writable="1" transfer-ownership="none">
@ -2155,7 +2155,7 @@ if it is used at all.</doc>
transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2746">Force minimum upstream latency (in nanoseconds). When sources with a
line="2748">Force minimum upstream latency (in nanoseconds). When sources with a
higher latency are expected to be plugged in dynamically after the
aggregator has started playing, this allows overriding the minimum
latency reported by the initial source(s). This is only taken into
@ -2190,7 +2190,7 @@ account when larger than the actually reported minimum latency.</doc>
<glib:signal name="samples-selected" when="first" version="1.18">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2792">Signals that the #GstAggregator subclass has selected the next set
line="2794">Signals that the #GstAggregator subclass has selected the next set
of input samples it will aggregate. Handlers may call
gst_aggregator_peek_next_sample() at that point.</doc>
<return-value transfer-ownership="none">
@ -2200,25 +2200,25 @@ gst_aggregator_peek_next_sample() at that point.</doc>
<parameter name="segment" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2795">The #GstSegment the next output buffer is part of</doc>
line="2797">The #GstSegment the next output buffer is part of</doc>
<type name="Gst.Segment"/>
</parameter>
<parameter name="pts" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2796">The presentation timestamp of the next output buffer</doc>
line="2798">The presentation timestamp of the next output buffer</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="dts" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2797">The decoding timestamp of the next output buffer</doc>
line="2799">The decoding timestamp of the next output buffer</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2798">The duration of the next output buffer</doc>
line="2800">The duration of the next output buffer</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="info"
@ -2227,7 +2227,7 @@ gst_aggregator_peek_next_sample() at that point.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="2799">a #GstStructure containing additional information</doc>
line="2801">a #GstStructure containing additional information</doc>
<type name="Gst.Structure"/>
</parameter>
</parameters>
@ -2591,14 +2591,14 @@ _finish_buffer from inside that function.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1289">%TRUE if the negotiation succeeded, else %FALSE.</doc>
line="1287">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="1283">a #GstAggregator</doc>
line="1281">a #GstAggregator</doc>
<type name="Aggregator" c:type="GstAggregator*"/>
</parameter>
</parameters>
@ -2744,19 +2744,19 @@ This class used to live in gst-plugins-bad and was moved to core.</doc>
<method name="drop_buffer" c:identifier="gst_aggregator_pad_drop_buffer">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3410">Drop the buffer currently queued in @pad.</doc>
line="3419">Drop the buffer currently queued in @pad.</doc>
<source-position filename="libs/gst/base/gstaggregator.h" line="116"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3416">TRUE if there was a buffer queued in @pad, or FALSE if not.</doc>
line="3425">TRUE if there was a buffer queued in @pad, or FALSE if not.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pad" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3412">the pad where to drop any pending buffer</doc>
line="3421">the pad where to drop any pending buffer</doc>
<type name="AggregatorPad" c:type="GstAggregatorPad*"/>
</instance-parameter>
</parameters>
@ -2766,21 +2766,21 @@ This class used to live in gst-plugins-bad and was moved to core.</doc>
version="1.14.1">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3469">This checks if a pad has a buffer available that will be returned by
line="3478">This checks if a pad has a buffer available that will be returned by
a call to gst_aggregator_pad_peek_buffer() or
gst_aggregator_pad_pop_buffer().</doc>
<source-position filename="libs/gst/base/gstaggregator.h" line="119"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3477">%TRUE if the pad has a buffer available as the next thing.</doc>
line="3486">%TRUE if the pad has a buffer available as the next thing.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pad" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3471">the pad to check the buffer on</doc>
line="3480">the pad to check the buffer on</doc>
<type name="AggregatorPad" c:type="GstAggregatorPad*"/>
</instance-parameter>
</parameters>
@ -2790,14 +2790,14 @@ gst_aggregator_pad_pop_buffer().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3505">%TRUE if the pad is EOS, otherwise %FALSE.</doc>
line="3514">%TRUE if the pad is EOS, otherwise %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pad" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3503">an aggregator pad</doc>
line="3512">an aggregator pad</doc>
<type name="AggregatorPad" c:type="GstAggregatorPad*"/>
</instance-parameter>
</parameters>
@ -2807,7 +2807,7 @@ gst_aggregator_pad_pop_buffer().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3436">A reference to the buffer in @pad or
line="3445">A reference to the buffer in @pad or
NULL if no buffer was queued. You should unref the buffer after
usage.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
@ -2816,7 +2816,7 @@ usage.</doc>
<instance-parameter name="pad" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3434">the pad to get buffer from</doc>
line="3443">the pad to get buffer from</doc>
<type name="AggregatorPad" c:type="GstAggregatorPad*"/>
</instance-parameter>
</parameters>
@ -2824,12 +2824,12 @@ usage.</doc>
<method name="pop_buffer" c:identifier="gst_aggregator_pad_pop_buffer">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3352">Steal the ref to the buffer currently queued in @pad.</doc>
line="3361">Steal the ref to the buffer currently queued in @pad.</doc>
<source-position filename="libs/gst/base/gstaggregator.h" line="110"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3358">The buffer in @pad or NULL if no buffer was
line="3367">The buffer in @pad or NULL if no buffer was
queued. You should unref the buffer after usage.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
@ -2837,7 +2837,7 @@ usage.</doc>
<instance-parameter name="pad" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3354">the pad to get buffer from</doc>
line="3363">the pad to get buffer from</doc>
<type name="AggregatorPad" c:type="GstAggregatorPad*"/>
</instance-parameter>
</parameters>
@ -2848,7 +2848,7 @@ usage.</doc>
transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstaggregator.c"
line="3263">Enables the emission of signals such as #GstAggregatorPad::buffer-consumed</doc>
line="3272">Enables the emission of signals such as #GstAggregatorPad::buffer-consumed</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent">
@ -3790,7 +3790,7 @@ Things that subclass need to take care of:
c:identifier="gst_base_parse_add_index_entry">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1972">Adds an entry to the index associating @offset to @ts. It is recommended
line="1975">Adds an entry to the index associating @offset to @ts. It is recommended
to only add keyframe entries. @force allows to bypass checks, such as
whether the stream is (upstream) seekable, another entry is already "close"
to the new entry, etc.</doc>
@ -3798,38 +3798,38 @@ to the new entry, etc.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1985">#gboolean indicating whether entry was added</doc>
line="1988">#gboolean indicating whether entry was added</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1974">#GstBaseParse.</doc>
line="1977">#GstBaseParse.</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1975">offset of entry</doc>
line="1978">offset of entry</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="ts" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1976">timestamp associated with offset</doc>
line="1979">timestamp associated with offset</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1977">whether entry refers to keyframe</doc>
line="1980">whether entry refers to keyframe</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="force" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1978">add entry disregarding sanity checks</doc>
line="1981">add entry disregarding sanity checks</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@ -3838,37 +3838,37 @@ to the new entry, etc.</doc>
c:identifier="gst_base_parse_convert_default">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1734">Default implementation of #GstBaseParseClass.convert().</doc>
line="1737">Default implementation of #GstBaseParseClass.convert().</doc>
<source-position filename="libs/gst/base/gstbaseparse.h" line="345"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1744">%TRUE if conversion was successful.</doc>
line="1747">%TRUE if conversion was successful.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1736">#GstBaseParse.</doc>
line="1739">#GstBaseParse.</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="src_format" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1737">#GstFormat describing the source format.</doc>
line="1740">#GstFormat describing the source format.</doc>
<type name="Gst.Format" c:type="GstFormat"/>
</parameter>
<parameter name="src_value" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1738">Source value to be converted.</doc>
line="1741">Source value to be converted.</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
<parameter name="dest_format" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1739">#GstFormat defining the converted format.</doc>
line="1742">#GstFormat defining the converted format.</doc>
<type name="Gst.Format" c:type="GstFormat"/>
</parameter>
<parameter name="dest_value"
@ -3877,7 +3877,7 @@ to the new entry, etc.</doc>
transfer-ownership="full">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="1740">Pointer where the conversion result will be put.</doc>
line="1743">Pointer where the conversion result will be put.</doc>
<type name="gint64" c:type="gint64*"/>
</parameter>
</parameters>
@ -3885,7 +3885,7 @@ to the new entry, etc.</doc>
<method name="drain" c:identifier="gst_base_parse_drain" version="1.12">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2753">Drains the adapter until it is empty. It decreases the min_frame_size to
line="2756">Drains the adapter until it is empty. It decreases the min_frame_size to
match the current adapter size and calls chain method until the adapter
is emptied or chain returns with error.</doc>
<source-position filename="libs/gst/base/gstbaseparse.h" line="320"/>
@ -3896,7 +3896,7 @@ is emptied or chain returns with error.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2755">a #GstBaseParse</doc>
line="2758">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
</parameters>
@ -3904,7 +3904,7 @@ is emptied or chain returns with error.</doc>
<method name="finish_frame" c:identifier="gst_base_parse_finish_frame">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2657">Collects parsed data and pushes this downstream.
line="2660">Collects parsed data and pushes this downstream.
Source pad caps must be set when this is called.
If @frame's out_buffer is set, that will be used as subsequent frame data.
@ -3919,26 +3919,26 @@ caller retains ownership of @frame.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2675">a #GstFlowReturn that should be escalated to caller (of caller)</doc>
line="2678">a #GstFlowReturn that should be escalated to caller (of caller)</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2659">a #GstBaseParse</doc>
line="2662">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="frame" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2660">a #GstBaseParseFrame</doc>
line="2663">a #GstBaseParseFrame</doc>
<type name="BaseParseFrame" c:type="GstBaseParseFrame*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2661">consumed input data represented by frame</doc>
line="2664">consumed input data represented by frame</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
@ -3948,7 +3948,7 @@ caller retains ownership of @frame.</doc>
version="1.6">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4989">Sets the parser subclass's tags and how they should be merged with any
line="4992">Sets the parser subclass's tags and how they should be merged with any
upstream stream tags. This will override any tags previously-set
with gst_base_parse_merge_tags().
@ -3962,7 +3962,7 @@ not required to use this and can still do tag handling on its own.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4991">a #GstBaseParse</doc>
line="4994">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="tags"
@ -3971,14 +3971,14 @@ not required to use this and can still do tag handling on its own.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4992">a #GstTagList to merge, or NULL to unset
line="4995">a #GstTagList to merge, or NULL to unset
previously-set tags</doc>
<type name="Gst.TagList" c:type="GstTagList*"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4994">the #GstTagMergeMode to use, usually #GST_TAG_MERGE_REPLACE</doc>
line="4997">the #GstTagMergeMode to use, usually #GST_TAG_MERGE_REPLACE</doc>
<type name="Gst.TagMergeMode" c:type="GstTagMergeMode"/>
</parameter>
</parameters>
@ -3986,7 +3986,7 @@ not required to use this and can still do tag handling on its own.</doc>
<method name="push_frame" c:identifier="gst_base_parse_push_frame">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2443">Pushes the frame's buffer downstream, sends any pending events and
line="2446">Pushes the frame's buffer downstream, sends any pending events and
does some timestamp and segment handling. Takes ownership of
frame's buffer, though caller retains ownership of @frame.
@ -3995,20 +3995,20 @@ This must be called with sinkpad STREAM_LOCK held.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2454">#GstFlowReturn</doc>
line="2457">#GstFlowReturn</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2445">#GstBaseParse.</doc>
line="2448">#GstBaseParse.</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="frame" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="2446">a #GstBaseParseFrame</doc>
line="2449">a #GstBaseParseFrame</doc>
<type name="BaseParseFrame" c:type="GstBaseParseFrame*"/>
</parameter>
</parameters>
@ -4017,7 +4017,7 @@ This must be called with sinkpad STREAM_LOCK held.</doc>
c:identifier="gst_base_parse_set_average_bitrate">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3879">Optionally sets the average bitrate detected in media (if non-zero),
line="3882">Optionally sets the average bitrate detected in media (if non-zero),
e.g. based on metadata, as it will be posted to the application.
By default, announced average bitrate is estimated. The average bitrate
@ -4032,13 +4032,13 @@ a seek position, if there's no index and the format is syncable
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3881">#GstBaseParse.</doc>
line="3884">#GstBaseParse.</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="bitrate" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3882">average bitrate in bits/second</doc>
line="3885">average bitrate in bits/second</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
@ -4046,7 +4046,7 @@ a seek position, if there's no index and the format is syncable
<method name="set_duration" c:identifier="gst_base_parse_set_duration">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3828">Sets the duration of the currently playing media. Subclass can use this
line="3831">Sets the duration of the currently playing media. Subclass can use this
when it is able to determine duration and/or notices a change in the media
duration. Alternatively, if @interval is non-zero (default), then stream
duration is determined based on estimated bitrate, and updated every @interval
@ -4059,25 +4059,25 @@ frames.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3830">#GstBaseParse.</doc>
line="3833">#GstBaseParse.</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="fmt" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3831">#GstFormat.</doc>
line="3834">#GstFormat.</doc>
<type name="Gst.Format" c:type="GstFormat"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3832">duration value.</doc>
line="3835">duration value.</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
<parameter name="interval" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3833">how often to update the duration estimate based on bitrate, or 0.</doc>
line="3836">how often to update the duration estimate based on bitrate, or 0.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
@ -4086,7 +4086,7 @@ frames.</doc>
c:identifier="gst_base_parse_set_frame_rate">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3917">If frames per second is configured, parser can take care of buffer duration
line="3920">If frames per second is configured, parser can take care of buffer duration
and timestamping. When performing segment clipping, or seeking to a specific
location, a corresponding decoder might need an initial @lead_in and a
following @lead_out number of frames to ensure the desired segment is
@ -4099,31 +4099,31 @@ entirely filled upon decoding.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3919">the #GstBaseParse to set</doc>
line="3922">the #GstBaseParse to set</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="fps_num" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3920">frames per second (numerator).</doc>
line="3923">frames per second (numerator).</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="fps_den" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3921">frames per second (denominator).</doc>
line="3924">frames per second (denominator).</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="lead_in" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3922">frames needed before a segment for subsequent decode</doc>
line="3925">frames needed before a segment for subsequent decode</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="lead_out" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3923">frames needed after a segment</doc>
line="3926">frames needed after a segment</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
@ -4132,7 +4132,7 @@ entirely filled upon decoding.</doc>
c:identifier="gst_base_parse_set_has_timing_info">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3974">Set if frames carry timing information which the subclass can (generally)
line="3977">Set if frames carry timing information which the subclass can (generally)
parse and provide. In particular, intrinsic (rather than estimated) time
can be obtained following a seek.</doc>
<source-position filename="libs/gst/base/gstbaseparse.h" line="317"/>
@ -4143,13 +4143,13 @@ can be obtained following a seek.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3976">a #GstBaseParse</doc>
line="3979">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="has_timing" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3977">whether frames carry timing information</doc>
line="3980">whether frames carry timing information</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@ -4157,7 +4157,7 @@ can be obtained following a seek.</doc>
<method name="set_infer_ts" c:identifier="gst_base_parse_set_infer_ts">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4045">By default, the base class might try to infer PTS from DTS and vice
line="4048">By default, the base class might try to infer PTS from DTS and vice
versa. While this is generally correct for audio data, it may not
be otherwise. Sub-classes implementing such formats should disable
timestamp inferring.</doc>
@ -4169,13 +4169,13 @@ timestamp inferring.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4047">a #GstBaseParse</doc>
line="4050">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="infer_ts" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4048">%TRUE if parser should infer DTS/PTS from each other</doc>
line="4051">%TRUE if parser should infer DTS/PTS from each other</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@ -4183,7 +4183,7 @@ timestamp inferring.</doc>
<method name="set_latency" c:identifier="gst_base_parse_set_latency">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4062">Sets the minimum and maximum (which may likely be equal) latency introduced
line="4065">Sets the minimum and maximum (which may likely be equal) latency introduced
by the parsing process. If there is such a latency, which depends on the
particular parsing of the format, it typically corresponds to 1 frame duration.</doc>
<source-position filename="libs/gst/base/gstbaseparse.h" line="341"/>
@ -4194,19 +4194,19 @@ particular parsing of the format, it typically corresponds to 1 frame duration.<
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4064">a #GstBaseParse</doc>
line="4067">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="min_latency" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4065">minimum parse latency</doc>
line="4068">minimum parse latency</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
<parameter name="max_latency" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4066">maximum parse latency</doc>
line="4069">maximum parse latency</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
@ -4215,7 +4215,7 @@ particular parsing of the format, it typically corresponds to 1 frame duration.<
c:identifier="gst_base_parse_set_min_frame_size">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3899">Subclass can use this function to tell the base class that it needs to
line="3902">Subclass can use this function to tell the base class that it needs to
be given buffers of at least @min_size bytes.</doc>
<source-position filename="libs/gst/base/gstbaseparse.h" line="314"/>
<return-value transfer-ownership="none">
@ -4225,13 +4225,13 @@ be given buffers of at least @min_size bytes.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3901">#GstBaseParse.</doc>
line="3904">#GstBaseParse.</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="min_size" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3902">Minimum size in bytes of the data that this base class should
line="3905">Minimum size in bytes of the data that this base class should
give to subclass.</doc>
<type name="guint" c:type="guint"/>
</parameter>
@ -4241,7 +4241,7 @@ be given buffers of at least @min_size bytes.</doc>
c:identifier="gst_base_parse_set_passthrough">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4006">Set if the nature of the format or configuration does not allow (much)
line="4009">Set if the nature of the format or configuration does not allow (much)
parsing, and the parser should operate in passthrough mode (which only
applies when operating in push mode). That is, incoming buffers are
pushed through unmodified, i.e. no #GstBaseParseClass.handle_frame()
@ -4256,13 +4256,13 @@ passthrough semantics in #GstBaseParseClass.pre_push_frame().</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4008">a #GstBaseParse</doc>
line="4011">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="passthrough" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4009">%TRUE if parser should run in passthrough mode</doc>
line="4012">%TRUE if parser should run in passthrough mode</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@ -4271,7 +4271,7 @@ passthrough semantics in #GstBaseParseClass.pre_push_frame().</doc>
c:identifier="gst_base_parse_set_pts_interpolation">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4026">By default, the base class will guess PTS timestamps using a simple
line="4029">By default, the base class will guess PTS timestamps using a simple
interpolation (previous timestamp + duration), which is incorrect for
data streams with reordering, where PTS can go backward. Sub-classes
implementing such formats should disable PTS interpolation.</doc>
@ -4283,13 +4283,13 @@ implementing such formats should disable PTS interpolation.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4028">a #GstBaseParse</doc>
line="4031">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="pts_interpolate" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4029">%TRUE if parser should interpolate PTS timestamps</doc>
line="4032">%TRUE if parser should interpolate PTS timestamps</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@ -4297,7 +4297,7 @@ implementing such formats should disable PTS interpolation.</doc>
<method name="set_syncable" c:identifier="gst_base_parse_set_syncable">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3990">Set if frame starts can be identified. This is set by default and
line="3993">Set if frame starts can be identified. This is set by default and
determines whether seeking based on bitrate averages
is possible for a format/stream.</doc>
<source-position filename="libs/gst/base/gstbaseparse.h" line="323"/>
@ -4308,13 +4308,13 @@ is possible for a format/stream.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3992">a #GstBaseParse</doc>
line="3995">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="syncable" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="3993">set if frame starts can be identified</doc>
line="3996">set if frame starts can be identified</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@ -4324,7 +4324,7 @@ is possible for a format/stream.</doc>
version="1.2">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4949">This function should only be called from a @handle_frame implementation.
line="4952">This function should only be called from a @handle_frame implementation.
#GstBaseParse creates initial timestamps for frames by using the last
timestamp seen in the stream before the frame starts. In certain
@ -4340,13 +4340,13 @@ into the frame data that the picture starts.</doc>
<instance-parameter name="parse" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4951">a #GstBaseParse</doc>
line="4954">a #GstBaseParse</doc>
<type name="BaseParse" c:type="GstBaseParse*"/>
</instance-parameter>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve"
filename="libs/gst/base/gstbaseparse.c"
line="4952">offset into current buffer</doc>
line="4955">offset into current buffer</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>

View file

@ -4178,7 +4178,7 @@ in debugging.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="PLUGINS_BASE_VERSION_MINOR"
value="18"
value="19"
c:type="GST_PLUGINS_BASE_VERSION_MINOR">
<doc xml:space="preserve"
filename="gst-libs/gst/pbutils/gstpluginsbaseversion.h"

View file

@ -3763,20 +3763,20 @@ audio codec</doc>
version="1.16">
<doc xml:space="preserve"
filename="gst-libs/gst/rtp/gstrtpbasedepayload.c"
line="1152">Queries whether #GstRTPSourceMeta will be added to depayloaded buffers.</doc>
line="1153">Queries whether #GstRTPSourceMeta will be added to depayloaded buffers.</doc>
<source-position filename="gst-libs/gst/rtp/gstrtpbasedepayload.h"
line="124"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gst-libs/gst/rtp/gstrtpbasedepayload.c"
line="1158">%TRUE if source-info is enabled.</doc>
line="1159">%TRUE if source-info is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="depayload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gst-libs/gst/rtp/gstrtpbasedepayload.c"
line="1154">a #GstRTPBaseDepayload</doc>
line="1155">a #GstRTPBaseDepayload</doc>
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
</parameters>
@ -3845,7 +3845,7 @@ the outgoing buffer when it didn't have a timestamp already.</doc>
version="1.16">
<doc xml:space="preserve"
filename="gst-libs/gst/rtp/gstrtpbasedepayload.c"
line="1136">Enable or disable adding #GstRTPSourceMeta to depayloaded buffers.</doc>
line="1137">Enable or disable adding #GstRTPSourceMeta to depayloaded buffers.</doc>
<source-position filename="gst-libs/gst/rtp/gstrtpbasedepayload.h"
line="127"/>
<return-value transfer-ownership="none">
@ -3855,13 +3855,13 @@ the outgoing buffer when it didn't have a timestamp already.</doc>
<instance-parameter name="depayload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gst-libs/gst/rtp/gstrtpbasedepayload.c"
line="1138">a #GstRTPBaseDepayload</doc>
line="1139">a #GstRTPBaseDepayload</doc>
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="enable" transfer-ownership="none">
<doc xml:space="preserve"
filename="gst-libs/gst/rtp/gstrtpbasedepayload.c"
line="1139">whether to add meta about RTP sources to buffer</doc>
line="1140">whether to add meta about RTP sources to buffer</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>

View file

@ -5336,20 +5336,20 @@ is invalid.</doc>
<method name="free" c:identifier="gst_rtsp_transport_free">
<doc xml:space="preserve"
filename="gst-libs/gst/rtsp/gstrtsptransport.c"
line="751">Free the memory used by @transport.</doc>
line="759">Free the memory used by @transport.</doc>
<source-position filename="gst-libs/gst/rtsp/gstrtsptransport.h"
line="197"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gst-libs/gst/rtsp/gstrtsptransport.c"
line="757">#GST_RTSP_OK.</doc>
line="765">#GST_RTSP_OK.</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
</return-value>
<parameters>
<instance-parameter name="transport" transfer-ownership="none">
<doc xml:space="preserve"
filename="gst-libs/gst/rtsp/gstrtsptransport.c"
line="753">a #GstRTSPTransport</doc>
line="761">a #GstRTSPTransport</doc>
<type name="RTSPTransport" c:type="GstRTSPTransport*"/>
</instance-parameter>
</parameters>

File diff suppressed because it is too large Load diff

View file

@ -603,6 +603,7 @@ namespace Gst.Video {
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_video_color_transfer_decode(int func, double val);
[Obsolete]
public static double VideoColorTransferDecode(Gst.Video.VideoTransferFunction func, double val) {
double raw_ret = gst_video_color_transfer_decode((int) func, val);
double ret = raw_ret;
@ -612,6 +613,7 @@ namespace Gst.Video {
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_video_color_transfer_encode(int func, double val);
[Obsolete]
public static double VideoColorTransferEncode(Gst.Video.VideoTransferFunction func, double val) {
double raw_ret = gst_video_color_transfer_encode((int) func, val);
double ret = raw_ret;
@ -1093,6 +1095,24 @@ namespace Gst.Video {
return ret;
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_video_transfer_function_decode(int func, double val);
public static double VideoTransferFunctionDecode(Gst.Video.VideoTransferFunction func, double val) {
double raw_ret = gst_video_transfer_function_decode((int) func, val);
double ret = raw_ret;
return ret;
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern double gst_video_transfer_function_encode(int func, double val);
public static double VideoTransferFunctionEncode(Gst.Video.VideoTransferFunction func, double val) {
double raw_ret = gst_video_transfer_function_encode((int) func, val);
double ret = raw_ret;
return ret;
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_video_transfer_function_from_iso(uint value);

View file

@ -14,6 +14,7 @@ namespace Gst.Video {
SyncPoint = 2,
ForceKeyframe = 4,
ForceKeyframeHeaders = 8,
Corrupted = 16,
}
#endregion
}

View file

@ -18,6 +18,21 @@ namespace Gst.Video {
CreateNativeObject (new string [0], new GLib.Value [0]);
}
[GLib.Property ("discard-corrupted-frames")]
public bool DiscardCorruptedFrames {
get {
GLib.Value val = GetProperty ("discard-corrupted-frames");
bool ret = (bool) val;
val.Dispose ();
return ret;
}
set {
GLib.Value val = new GLib.Value(value);
SetProperty("discard-corrupted-frames", val);
val.Dispose ();
}
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_video_decoder_get_max_errors(IntPtr raw);
@ -36,6 +51,21 @@ namespace Gst.Video {
}
}
[GLib.Property ("min-force-key-unit-interval")]
public ulong MinForceKeyUnitInterval {
get {
GLib.Value val = GetProperty ("min-force-key-unit-interval");
ulong ret = (ulong) val;
val.Dispose ();
return ret;
}
set {
GLib.Value val = new GLib.Value(value);
SetProperty("min-force-key-unit-interval", val);
val.Dispose ();
}
}
[GLib.Property ("qos")]
public bool Qos {
get {
@ -1567,6 +1597,23 @@ namespace Gst.Video {
}
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_video_decoder_get_needs_sync_point(IntPtr raw);
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_decoder_set_needs_sync_point(IntPtr raw, bool enabled);
public bool NeedsSyncPoint {
get {
bool raw_ret = gst_video_decoder_get_needs_sync_point(Handle);
bool ret = raw_ret;
return ret;
}
set {
gst_video_decoder_set_needs_sync_point(Handle, value);
}
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_video_decoder_get_oldest_frame(IntPtr raw);
@ -1679,6 +1726,15 @@ namespace Gst.Video {
Marshal.FreeHGlobal (native_frame);
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_decoder_request_sync_point(IntPtr raw, IntPtr frame, int flags);
public void RequestSyncPoint(Gst.Video.VideoCodecFrame frame, Gst.Video.VideoDecoderRequestSyncPointFlags flags) {
IntPtr native_frame = GLib.Marshaller.StructureToPtrAlloc (frame);
gst_video_decoder_request_sync_point(Handle, native_frame, (int) flags);
Marshal.FreeHGlobal (native_frame);
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_video_decoder_set_estimate_rate(IntPtr raw, bool enabled);

View file

@ -0,0 +1,17 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst.Video {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
[Flags]
public enum VideoDecoderRequestSyncPointFlags {
DiscardInput = 1,
CorruptOutput = 2,
}
#endregion
}

View file

@ -112,6 +112,17 @@ namespace Gst {
}
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_custom_meta(IntPtr raw, IntPtr name);
public Gst.CustomMeta AddCustomMeta(string name) {
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
IntPtr raw_ret = gst_buffer_add_custom_meta(Handle, native_name);
Gst.CustomMeta ret = Gst.CustomMeta.New (raw_ret);
GLib.Marshaller.Free (native_name);
return ret;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_add_meta(IntPtr raw, IntPtr info, IntPtr parms);
@ -241,6 +252,17 @@ namespace Gst {
}
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_get_custom_meta(IntPtr raw, IntPtr name);
public Gst.CustomMeta GetCustomMeta(string name) {
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
IntPtr raw_ret = gst_buffer_get_custom_meta(Handle, native_name);
Gst.CustomMeta ret = Gst.CustomMeta.New (raw_ret);
GLib.Marshaller.Free (native_name);
return ret;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gst_buffer_get_flags(IntPtr raw);

View file

@ -0,0 +1,80 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct CustomMeta : IEquatable<CustomMeta> {
public Gst.Meta Meta;
public static Gst.CustomMeta Zero = new Gst.CustomMeta ();
public static Gst.CustomMeta New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gst.CustomMeta.Zero;
return (Gst.CustomMeta) Marshal.PtrToStructure (raw, typeof (Gst.CustomMeta));
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_custom_meta_get_structure(IntPtr raw);
public Gst.Structure Structure {
get {
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);
IntPtr raw_ret = gst_custom_meta_get_structure(this_as_native);
Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
ReadNative (this_as_native, ref this);
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
return ret;
}
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_custom_meta_has_name(IntPtr raw, IntPtr name);
public bool HasName(string name) {
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);
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
bool raw_ret = gst_custom_meta_has_name(this_as_native, native_name);
bool ret = raw_ret;
ReadNative (this_as_native, ref this);
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
GLib.Marshaller.Free (native_name);
return ret;
}
static void ReadNative (IntPtr native, ref Gst.CustomMeta target)
{
target = New (native);
}
public bool Equals (CustomMeta other)
{
return true && Meta.Equals (other.Meta);
}
public override bool Equals (object other)
{
return other is CustomMeta && Equals ((CustomMeta) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}

View file

@ -0,0 +1,10 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst {
using System;
public delegate bool CustomMetaTransformFunction(Gst.Buffer transbuf, Gst.CustomMeta meta, Gst.Buffer buffer, uint type, IntPtr data);
}

View file

@ -162,6 +162,17 @@ namespace Gst {
gst_event_parse_gap(Handle, out timestamp, out duration);
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_event_parse_gap_flags(IntPtr raw, out int flags);
public Gst.GapFlags ParseGapFlags() {
Gst.GapFlags flags;
int native_flags;
gst_event_parse_gap_flags(Handle, out native_flags);
flags = (Gst.GapFlags) native_flags;
return flags;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_event_parse_group_id(IntPtr raw, out uint group_id);
@ -379,6 +390,15 @@ namespace Gst {
return uid;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_event_set_gap_flags(IntPtr raw, int flags);
public Gst.GapFlags GapFlags {
set {
gst_event_set_gap_flags(Handle, (int) value);
}
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gst_event_set_group_id(IntPtr raw, uint group_id);

View file

@ -0,0 +1,28 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
[Flags]
[GLib.GType (typeof (Gst.GapFlagsGType))]
public enum GapFlags {
Data = 1,
}
internal class GapFlagsGType {
[DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_gap_flags_get_type ();
public static GLib.GType GType {
get {
return new GLib.GType (gst_gap_flags_get_type ());
}
}
}
#endregion
}

View file

@ -236,6 +236,36 @@ namespace Gst {
return ret;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_meta_register_custom(IntPtr name, IntPtr[] tags, GstSharp.CustomMetaTransformFunctionNative transform_func, IntPtr user_data, GLib.DestroyNotify destroy_data);
public static Gst.MetaInfo MetaRegisterCustom(string name, string[] tags, Gst.CustomMetaTransformFunction transform_func) {
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
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 [cnt_tags] = IntPtr.Zero;
GstSharp.CustomMetaTransformFunctionWrapper transform_func_wrapper = new GstSharp.CustomMetaTransformFunctionWrapper (transform_func);
IntPtr user_data;
GLib.DestroyNotify destroy_data;
if (transform_func == null) {
user_data = IntPtr.Zero;
destroy_data = null;
} else {
user_data = (IntPtr) GCHandle.Alloc (transform_func_wrapper);
destroy_data = GLib.DestroyHelper.NotifyHandler;
}
IntPtr raw_ret = gst_meta_register_custom(native_name, native_tags, transform_func_wrapper.NativeDelegate, user_data, destroy_data);
Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret);
GLib.Marshaller.Free (native_name);
return ret;
}
public static Gst.MetaInfo MetaRegisterCustom(string name, string[] tags) {
return MetaRegisterCustom (name, tags, null);
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_parent_buffer_meta_api_get_type();

View file

@ -0,0 +1,97 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace GstSharp {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
internal delegate bool CustomMetaTransformFunctionNative(IntPtr transbuf, IntPtr meta, IntPtr buffer, uint type, IntPtr data, IntPtr user_data);
internal class CustomMetaTransformFunctionInvoker {
CustomMetaTransformFunctionNative native_cb;
IntPtr __data;
GLib.DestroyNotify __notify;
~CustomMetaTransformFunctionInvoker ()
{
if (__notify == null)
return;
__notify (__data);
}
internal CustomMetaTransformFunctionInvoker (CustomMetaTransformFunctionNative native_cb) : this (native_cb, IntPtr.Zero, null) {}
internal CustomMetaTransformFunctionInvoker (CustomMetaTransformFunctionNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal CustomMetaTransformFunctionInvoker (CustomMetaTransformFunctionNative native_cb, IntPtr data, GLib.DestroyNotify notify)
{
this.native_cb = native_cb;
__data = data;
__notify = notify;
}
internal Gst.CustomMetaTransformFunction Handler {
get {
return new Gst.CustomMetaTransformFunction(InvokeNative);
}
}
bool InvokeNative (Gst.Buffer transbuf, Gst.CustomMeta meta, Gst.Buffer buffer, uint type, IntPtr data)
{
IntPtr native_meta = GLib.Marshaller.StructureToPtrAlloc (meta);
bool __result = native_cb (transbuf == null ? IntPtr.Zero : transbuf.Handle, native_meta, buffer == null ? IntPtr.Zero : buffer.Handle, type, __data, __data);
Marshal.FreeHGlobal (native_meta);
return __result;
}
}
internal class CustomMetaTransformFunctionWrapper {
public bool NativeCallback (IntPtr transbuf, IntPtr meta, IntPtr buffer, uint type, IntPtr data, IntPtr user_data)
{
try {
bool __ret = managed (transbuf == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (transbuf, typeof (Gst.Buffer), false), Gst.CustomMeta.New (meta), buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (buffer, typeof (Gst.Buffer), false), type, data);
if (release_on_call)
gch.Free ();
return __ret;
} catch (Exception e) {
GLib.ExceptionManager.RaiseUnhandledException (e, false);
return false;
}
}
bool release_on_call = false;
GCHandle gch;
public void PersistUntilCalled ()
{
release_on_call = true;
gch = GCHandle.Alloc (this);
}
internal CustomMetaTransformFunctionNative NativeDelegate;
Gst.CustomMetaTransformFunction managed;
public CustomMetaTransformFunctionWrapper (Gst.CustomMetaTransformFunction managed)
{
this.managed = managed;
if (managed != null)
NativeDelegate = new CustomMetaTransformFunctionNative (NativeCallback);
}
public static Gst.CustomMetaTransformFunction GetManagedDelegate (CustomMetaTransformFunctionNative native)
{
if (native == null)
return null;
CustomMetaTransformFunctionWrapper wrapper = (CustomMetaTransformFunctionWrapper) native.Target;
if (wrapper == null)
return null;
return wrapper.managed;
}
}
#endregion
}

View file

@ -0,0 +1,99 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace GstSharp {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
internal delegate bool ValueDeserializeWithPSpecFuncNative(IntPtr dest, IntPtr s, IntPtr pspec);
internal class ValueDeserializeWithPSpecFuncInvoker {
ValueDeserializeWithPSpecFuncNative native_cb;
IntPtr __data;
GLib.DestroyNotify __notify;
~ValueDeserializeWithPSpecFuncInvoker ()
{
if (__notify == null)
return;
__notify (__data);
}
internal ValueDeserializeWithPSpecFuncInvoker (ValueDeserializeWithPSpecFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}
internal ValueDeserializeWithPSpecFuncInvoker (ValueDeserializeWithPSpecFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal ValueDeserializeWithPSpecFuncInvoker (ValueDeserializeWithPSpecFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify)
{
this.native_cb = native_cb;
__data = data;
__notify = notify;
}
internal Gst.ValueDeserializeWithPSpecFunc Handler {
get {
return new Gst.ValueDeserializeWithPSpecFunc(InvokeNative);
}
}
bool InvokeNative (GLib.Value dest, string s, IntPtr pspec)
{
IntPtr native_dest = GLib.Marshaller.StructureToPtrAlloc (dest);
IntPtr native_s = GLib.Marshaller.StringToPtrGStrdup (s);
bool __result = native_cb (native_dest, native_s, pspec);
Marshal.FreeHGlobal (native_dest);
GLib.Marshaller.Free (native_s);
return __result;
}
}
internal class ValueDeserializeWithPSpecFuncWrapper {
public bool NativeCallback (IntPtr dest, IntPtr s, IntPtr pspec)
{
try {
bool __ret = managed ((GLib.Value) Marshal.PtrToStructure (dest, typeof (GLib.Value)), GLib.Marshaller.Utf8PtrToString (s), pspec);
if (release_on_call)
gch.Free ();
return __ret;
} catch (Exception e) {
GLib.ExceptionManager.RaiseUnhandledException (e, false);
return false;
}
}
bool release_on_call = false;
GCHandle gch;
public void PersistUntilCalled ()
{
release_on_call = true;
gch = GCHandle.Alloc (this);
}
internal ValueDeserializeWithPSpecFuncNative NativeDelegate;
Gst.ValueDeserializeWithPSpecFunc managed;
public ValueDeserializeWithPSpecFuncWrapper (Gst.ValueDeserializeWithPSpecFunc managed)
{
this.managed = managed;
if (managed != null)
NativeDelegate = new ValueDeserializeWithPSpecFuncNative (NativeCallback);
}
public static Gst.ValueDeserializeWithPSpecFunc GetManagedDelegate (ValueDeserializeWithPSpecFuncNative native)
{
if (native == null)
return null;
ValueDeserializeWithPSpecFuncWrapper wrapper = (ValueDeserializeWithPSpecFuncWrapper) native.Target;
if (wrapper == null)
return null;
return wrapper.managed;
}
}
#endregion
}

View file

@ -110,6 +110,36 @@ namespace Gst {
return ret;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_meta_register_custom(IntPtr name, IntPtr[] tags, GstSharp.CustomMetaTransformFunctionNative transform_func, IntPtr user_data, GLib.DestroyNotify destroy_data);
public static Gst.MetaInfo RegisterCustom(string name, string[] tags, Gst.CustomMetaTransformFunction transform_func) {
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
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 [cnt_tags] = IntPtr.Zero;
GstSharp.CustomMetaTransformFunctionWrapper transform_func_wrapper = new GstSharp.CustomMetaTransformFunctionWrapper (transform_func);
IntPtr user_data;
GLib.DestroyNotify destroy_data;
if (transform_func == null) {
user_data = IntPtr.Zero;
destroy_data = null;
} else {
user_data = (IntPtr) GCHandle.Alloc (transform_func_wrapper);
destroy_data = GLib.DestroyHelper.NotifyHandler;
}
IntPtr raw_ret = gst_meta_register_custom(native_name, native_tags, transform_func_wrapper.NativeDelegate, user_data, destroy_data);
Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret);
GLib.Marshaller.Free (native_name);
return ret;
}
public static Gst.MetaInfo RegisterCustom(string name, string[] tags) {
return RegisterCustom (name, tags, null);
}
static void ReadNative (IntPtr native, ref Gst.Meta target)
{
target = New (native);

View file

@ -50,6 +50,26 @@ namespace Gst {
return (Gst.MetaInfo) Marshal.PtrToStructure (raw, typeof (Gst.MetaInfo));
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_meta_info_is_custom(IntPtr raw);
public bool IsCustom {
get {
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);
bool raw_ret = gst_meta_info_is_custom(this_as_native);
bool ret = raw_ret;
ReadNative (this_as_native, ref this);
System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);
return ret;
}
}
static void ReadNative (IntPtr native, ref Gst.MetaInfo target)
{
target = New (native);
}
public bool Equals (MetaInfo other)
{
return true && Api.Equals (other.Api) && Type.Equals (other.Type) && Size.Equals (other.Size) && InitFunc.Equals (other.InitFunc) && FreeFunc.Equals (other.FreeFunc) && TransformFunc.Equals (other.TransformFunc);

View file

@ -88,6 +88,24 @@ namespace Gst {
return ret;
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_value_deserialize_with_pspec(IntPtr dest, IntPtr src, IntPtr pspec);
public static bool DeserializeWithPspec(out GLib.Value dest, string src, IntPtr pspec) {
IntPtr native_dest = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (GLib.Value)));
IntPtr native_src = GLib.Marshaller.StringToPtrGStrdup (src);
bool raw_ret = gst_value_deserialize_with_pspec(native_dest, native_src, pspec);
bool ret = raw_ret;
dest = (GLib.Value) Marshal.PtrToStructure (native_dest, typeof (GLib.Value));
Marshal.FreeHGlobal (native_dest);
GLib.Marshaller.Free (native_src);
return ret;
}
public static bool DeserializeWithPspec(out GLib.Value dest, string src) {
return DeserializeWithPspec (out dest, src, IntPtr.Zero);
}
[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gst_value_fixate(IntPtr dest, IntPtr src);

View file

@ -0,0 +1,10 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst {
using System;
public delegate bool ValueDeserializeWithPSpecFunc(GLib.Value dest, string s, IntPtr pspec);
}

View file

@ -31,7 +31,13 @@ namespace Gst {
return GstSharp.ValueDeserializeFuncWrapper.GetManagedDelegate (_deserialize);
}
}
[MarshalAs (UnmanagedType.ByValArray, SizeConst=4)]
private GstSharp.ValueDeserializeWithPSpecFuncNative _deserialize_with_pspec;
public Gst.ValueDeserializeWithPSpecFunc DeserializeWithPspec {
get {
return GstSharp.ValueDeserializeWithPSpecFuncWrapper.GetManagedDelegate (_deserialize_with_pspec);
}
}
[MarshalAs (UnmanagedType.ByValArray, SizeConst=3)]
private IntPtr[] _gstGstReserved;
public static Gst.ValueTable Zero = new Gst.ValueTable ();
@ -44,7 +50,7 @@ namespace Gst {
public bool Equals (ValueTable other)
{
return true && Type.Equals (other.Type) && Compare.Equals (other.Compare) && Serialize.Equals (other.Serialize) && Deserialize.Equals (other.Deserialize);
return true && Type.Equals (other.Type) && Compare.Equals (other.Compare) && Serialize.Equals (other.Serialize) && Deserialize.Equals (other.Deserialize) && DeserializeWithPspec.Equals (other.DeserializeWithPspec);
}
public override bool Equals (object other)
@ -54,7 +60,7 @@ namespace Gst {
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ Type.GetHashCode () ^ Compare.GetHashCode () ^ Serialize.GetHashCode () ^ Deserialize.GetHashCode ();
return this.GetType ().FullName.GetHashCode () ^ Type.GetHashCode () ^ Compare.GetHashCode () ^ Serialize.GetHashCode () ^ Deserialize.GetHashCode () ^ DeserializeWithPspec.GetHashCode ();
}
private static GLib.GType GType {

View file

@ -494,6 +494,9 @@
<member cname="GST_EVENT_TYPE_STICKY" name="Sticky" value="8" />
<member cname="GST_EVENT_TYPE_STICKY_MULTI" name="StickyMulti" value="16" />
</enum>
<enum name="GapFlags" cname="GstGapFlags" type="flags" gtype="gst_gap_flags_get_type" version="1.20">
<member cname="GST_GAP_FLAG_MISSING_DATA" name="Data" value="1" />
</enum>
<enum name="LockFlags" cname="GstLockFlags" type="flags" gtype="gst_lock_flags_get_type">
<member cname="GST_LOCK_FLAG_READ" name="Read" value="1" />
<member cname="GST_LOCK_FLAG_WRITE" name="Write" value="2" />
@ -824,6 +827,23 @@
<parameter name="values" type="gdouble" />
</parameters>
</callback>
<callback name="CustomMetaTransformFunction" cname="GstCustomMetaTransformFunction" version="1.20">
<return-type type="gboolean" />
<parameters>
<parameter name="transbuf" type="GstBuffer*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="meta" type="GstCustomMeta*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="buffer" type="GstBuffer*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="type" type="guint32" />
<parameter allow-none="1" name="data" type="gpointer" />
<parameter allow-none="1" closure="5" name="user_data" type="gpointer" />
</parameters>
</callback>
<callback name="DebugFuncPtr" cname="GstDebugFuncPtr">
<return-type type="void" />
</callback>
@ -1347,6 +1367,16 @@
<parameter name="s" type="const-gchar*" />
</parameters>
</callback>
<callback name="ValueDeserializeWithPSpecFunc" cname="GstValueDeserializeWithPSpecFunc" version="1.20">
<return-type type="gboolean" />
<parameters>
<parameter name="dest" type="GValue*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="s" type="const-gchar*" />
<parameter name="pspec" type="GParamSpec*" />
</parameters>
</callback>
<callback name="ValueSerializeFunc" cname="GstValueSerializeFunc">
<return-type type="gchar*" owned="true" />
<parameters>
@ -6256,6 +6286,14 @@
<parameter name="notify" type="GDestroyNotify" />
</parameters>
</constructor>
<method name="AddCustomMeta" cname="gst_buffer_add_custom_meta" version="1.20">
<return-type type="GstCustomMeta*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*" />
</parameters>
</method>
<method name="AddMeta" cname="gst_buffer_add_meta">
<return-type type="GstMeta*">
<warning>missing glib:type-name</warning>
@ -6404,6 +6442,14 @@
</return-type>
<parameters />
</method>
<method name="GetCustomMeta" cname="gst_buffer_get_custom_meta" version="1.20">
<return-type type="GstCustomMeta*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*" />
</parameters>
</method>
<method name="GetFlags" cname="gst_buffer_get_flags" version="1.10">
<return-type type="GstBufferFlags" />
<parameters />
@ -7220,6 +7266,23 @@
</method>
</boxed>
<struct name="ControlBindingPrivate" cname="GstControlBindingPrivate" opaque="true" hidden="true" />
<struct name="CustomMeta" cname="GstCustomMeta" opaque="false" hidden="false" version="1.20">
<field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta">
<warning>missing glib:type-name</warning>
</field>
<method name="GetStructure" cname="gst_custom_meta_get_structure" version="1.20">
<return-type type="GstStructure*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters />
</method>
<method name="HasName" cname="gst_custom_meta_has_name" version="1.20">
<return-type type="gboolean" />
<parameters>
<parameter name="name" type="const-gchar*" />
</parameters>
</method>
</struct>
<boxed name="DateTime" cname="GstDateTime" opaque="true" hidden="false">
<method name="GetType" cname="gst_date_time_get_type" shared="true">
<return-type type="GType" />
@ -7649,6 +7712,12 @@
<parameter allow-none="1" name="duration" type="guint64" owned="true" pass_as="out" />
</parameters>
</method>
<method name="ParseGapFlags" cname="gst_event_parse_gap_flags" version="1.20">
<return-type type="void" />
<parameters>
<parameter name="flags" type="GstGapFlags" owned="true" pass_as="out" />
</parameters>
</method>
<method name="ParseGroupId" cname="gst_event_parse_group_id" version="1.2">
<return-type type="gboolean" />
<parameters>
@ -7811,6 +7880,12 @@
</return-type>
<parameters />
</method>
<method name="SetGapFlags" cname="gst_event_set_gap_flags" version="1.20">
<return-type type="void" />
<parameters>
<parameter name="flags" type="GstGapFlags" />
</parameters>
</method>
<method name="SetGroupId" cname="gst_event_set_group_id" version="1.2">
<return-type type="void" />
<parameters>
@ -8897,6 +8972,18 @@
<parameter scope="async" name="transform_func" type="GstMetaTransformFunction" />
</parameters>
</method>
<method name="RegisterCustom" cname="gst_meta_register_custom" shared="true" version="1.20">
<return-type type="GstMetaInfo*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*" />
<parameter name="tags" type="const gchar**" array="true" null_term_array="true" />
<parameter closure="3" destroy="4" scope="notified" allow-none="1" name="transform_func" type="GstCustomMetaTransformFunction" />
<parameter allow-none="1" name="user_data" type="gpointer" />
<parameter scope="async" name="destroy_data" type="GDestroyNotify" />
</parameters>
</method>
</struct>
<struct name="MetaInfo" cname="GstMetaInfo" opaque="false" hidden="false">
<field cname="api" access="public" writeable="true" readable="true" is_callback="false" name="Api" type="GType" />
@ -8905,6 +8992,10 @@
<field cname="init_func" access="public" writeable="true" readable="true" is_callback="false" name="InitFunc" type="GstMetaInitFunction" />
<field cname="free_func" access="public" writeable="true" readable="true" is_callback="false" name="FreeFunc" type="GstMetaFreeFunction" />
<field cname="transform_func" access="public" writeable="true" readable="true" is_callback="false" name="TransformFunc" type="GstMetaTransformFunction" />
<method name="IsCustom" cname="gst_meta_info_is_custom" version="1.20">
<return-type type="gboolean" />
<parameters />
</method>
</struct>
<struct name="MetaTransformCopy" cname="GstMetaTransformCopy" opaque="false" hidden="false">
<field cname="region" access="public" writeable="true" readable="true" is_callback="false" name="Region" type="gboolean" />
@ -11445,7 +11536,8 @@
<field cname="compare" access="public" writeable="true" readable="true" is_callback="false" name="Compare" type="GstValueCompareFunc" />
<field cname="serialize" access="public" writeable="true" readable="true" is_callback="false" name="Serialize" type="GstValueSerializeFunc" />
<field cname="deserialize" access="public" writeable="true" readable="true" is_callback="false" name="Deserialize" type="GstValueDeserializeFunc" />
<field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4" padding="true" />
<field cname="deserialize_with_pspec" access="public" writeable="true" readable="true" is_callback="false" name="DeserializeWithPspec" type="GstValueDeserializeWithPSpecFunc" />
<field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="3" padding="true" />
</struct>
<object name="Global" cname="GstGlobal" opaque="true">
<method name="BufferGetMaxMemory" cname="gst_buffer_get_max_memory" shared="true" version="1.2">
@ -11585,6 +11677,18 @@
<parameter scope="async" name="transform_func" type="GstMetaTransformFunction" />
</parameters>
</method>
<method name="MetaRegisterCustom" cname="gst_meta_register_custom" shared="true" version="1.20">
<return-type type="GstMetaInfo*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*" />
<parameter name="tags" type="const gchar**" array="true" null_term_array="true" />
<parameter closure="3" destroy="4" scope="notified" allow-none="1" name="transform_func" type="GstCustomMetaTransformFunction" />
<parameter allow-none="1" name="user_data" type="gpointer" />
<parameter scope="async" name="destroy_data" type="GDestroyNotify" />
</parameters>
</method>
<method name="MiniObjectReplace" cname="gst_mini_object_replace" shared="true" hidden="true">
<return-type type="gboolean" />
<parameters>
@ -12323,6 +12427,16 @@
<parameter name="src" type="const-gchar*" />
</parameters>
</method>
<method name="ValueDeserializeWithPspec" cname="gst_value_deserialize_with_pspec" shared="true" version="1.20">
<return-type type="gboolean" />
<parameters>
<parameter name="dest" type="GValue*" pass_as="out">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="src" type="const-gchar*" />
<parameter allow-none="1" name="pspec" type="GParamSpec*" />
</parameters>
</method>
<method name="ValueFixate" cname="gst_value_fixate" shared="true">
<return-type type="gboolean" />
<parameters>
@ -26895,6 +27009,11 @@
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT" name="SyncPoint" value="2" />
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME" name="ForceKeyframe" value="4" />
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS" name="ForceKeyframeHeaders" value="8" />
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_CORRUPTED" name="Corrupted" value="16" />
</enum>
<enum name="VideoDecoderRequestSyncPointFlags" cname="GstVideoDecoderRequestSyncPointFlags" type="flags" version="1.20">
<member cname="GST_VIDEO_DECODER_REQUEST_SYNC_POINT_DISCARD_INPUT" name="DiscardInput" value="1" />
<member cname="GST_VIDEO_DECODER_REQUEST_SYNC_POINT_CORRUPT_OUTPUT" name="CorruptOutput" value="2" />
</enum>
<enum name="VideoDitherFlags" cname="GstVideoDitherFlags" type="flags" gtype="gst_video_dither_flags_get_type">
<member cname="GST_VIDEO_DITHER_FLAG_NONE" name="None" value="0" />
@ -28044,6 +28163,10 @@
<return-type type="gboolean" />
<parameters />
</method>
<method name="GetNeedsSyncPoint" cname="gst_video_decoder_get_needs_sync_point" version="1.20">
<return-type type="gboolean" />
<parameters />
</method>
<method name="GetOldestFrame" cname="gst_video_decoder_get_oldest_frame">
<return-type type="GstVideoCodecFrame*" owned="true">
<warning>missing glib:type-name</warning>
@ -28106,6 +28229,15 @@
</parameter>
</parameters>
</method>
<method name="RequestSyncPoint" cname="gst_video_decoder_request_sync_point" version="1.20">
<return-type type="void" />
<parameters>
<parameter name="frame" type="GstVideoCodecFrame*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="flags" type="GstVideoDecoderRequestSyncPointFlags" />
</parameters>
</method>
<method name="SetEstimateRate" cname="gst_video_decoder_set_estimate_rate">
<return-type type="void" />
<parameters>
@ -28145,6 +28277,12 @@
<parameter name="enabled" type="gboolean" />
</parameters>
</method>
<method name="SetNeedsSyncPoint" cname="gst_video_decoder_set_needs_sync_point" version="1.20">
<return-type type="void" />
<parameters>
<parameter name="enabled" type="gboolean" />
</parameters>
</method>
<method name="SetOutputState" cname="gst_video_decoder_set_output_state">
<return-type type="GstVideoCodecState*" owned="true">
<warning>missing glib:type-name</warning>
@ -28170,7 +28308,9 @@
<parameter name="use" type="gboolean" />
</parameters>
</method>
<property name="DiscardCorruptedFrames" cname="discard-corrupted-frames" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.20" />
<property name="MaxErrors" cname="max-errors" type="gint" readable="true" writeable="true" construct="false" construct-only="false" version="1.18" />
<property name="MinForceKeyUnitInterval" cname="min-force-key-unit-interval" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.20" />
<property name="Qos" cname="qos" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.18" />
<field cname="element" access="private" writeable="false" readable="false" is_callback="false" name="Element" type="GstElement*" />
<field cname="sinkpad" access="private" writeable="false" readable="false" is_callback="false" name="Sinkpad" type="GstPad*" />
@ -30507,14 +30647,14 @@
<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">
<method name="VideoColorTransferDecode" cname="gst_video_color_transfer_decode" shared="true" version="1.6" deprecated="true">
<return-type type="gdouble" />
<parameters>
<parameter name="func" type="GstVideoTransferFunction" />
<parameter name="val" type="gdouble" />
</parameters>
</method>
<method name="VideoColorTransferEncode" cname="gst_video_color_transfer_encode" shared="true" version="1.6">
<method name="VideoColorTransferEncode" cname="gst_video_color_transfer_encode" shared="true" version="1.6" deprecated="true">
<return-type type="gdouble" />
<parameters>
<parameter name="func" type="GstVideoTransferFunction" />
@ -30879,6 +31019,20 @@
<warning>missing glib:type-name</warning>
</return-type>
</method>
<method name="VideoTransferFunctionDecode" cname="gst_video_transfer_function_decode" shared="true" version="1.20">
<return-type type="gdouble" />
<parameters>
<parameter name="func" type="GstVideoTransferFunction" />
<parameter name="val" type="gdouble" />
</parameters>
</method>
<method name="VideoTransferFunctionEncode" cname="gst_video_transfer_function_encode" shared="true" version="1.20">
<return-type type="gdouble" />
<parameters>
<parameter name="func" type="GstVideoTransferFunction" />
<parameter name="val" type="gdouble" />
</parameters>
</method>
<method name="VideoTransferFunctionFromIso" cname="gst_video_transfer_function_from_iso" shared="true" version="1.18">
<return-type type="GstVideoTransferFunction" />
<parameters>

View file

@ -349,6 +349,7 @@ generated_sources = [
'Gst.Video/VideoConverter.cs',
'Gst.Video/VideoCropMeta.cs',
'Gst.Video/VideoDecoder.cs',
'Gst.Video/VideoDecoderRequestSyncPointFlags.cs',
'Gst.Video/VideoDirectionAdapter.cs',
'Gst.Video/VideoDither.cs',
'Gst.Video/VideoDitherFlags.cs',
@ -490,6 +491,8 @@ generated_sources = [
'Gst/ControlSourceGetValue.cs',
'Gst/ControlSourceGetValueArray.cs',
'Gst/CoreError.cs',
'Gst/CustomMeta.cs',
'Gst/CustomMetaTransformFunction.cs',
'Gst/DateTime.cs',
'Gst/Debug.cs',
'Gst/DebugCategory.cs',
@ -523,6 +526,7 @@ generated_sources = [
'Gst/FlowReturn.cs',
'Gst/Format.cs',
'Gst/FormatDefinition.cs',
'Gst/GapFlags.cs',
'Gst/GhostPad.cs',
'Gst/Global.cs',
'Gst/GstSharp.BufferForeachMetaFuncNative.cs',
@ -536,6 +540,7 @@ generated_sources = [
'Gst/GstSharp.ControlBindingConvertNative.cs',
'Gst/GstSharp.ControlSourceGetValueArrayNative.cs',
'Gst/GstSharp.ControlSourceGetValueNative.cs',
'Gst/GstSharp.CustomMetaTransformFunctionNative.cs',
'Gst/GstSharp.DebugFuncPtrNative.cs',
'Gst/GstSharp.ElementCallAsyncFuncNative.cs',
'Gst/GstSharp.ElementForeachPadFuncNative.cs',
@ -591,6 +596,7 @@ generated_sources = [
'Gst/GstSharp.TypeFindFunctionNative.cs',
'Gst/GstSharp.ValueCompareFuncNative.cs',
'Gst/GstSharp.ValueDeserializeFuncNative.cs',
'Gst/GstSharp.ValueDeserializeWithPSpecFuncNative.cs',
'Gst/GstSharp.ValueSerializeFuncNative.cs',
'Gst/IChildProxy.cs',
'Gst/IPreset.cs',
@ -778,6 +784,7 @@ generated_sources = [
'Gst/ValueArray.cs',
'Gst/ValueCompareFunc.cs',
'Gst/ValueDeserializeFunc.cs',
'Gst/ValueDeserializeWithPSpecFunc.cs',
'Gst/ValueList.cs',
'Gst/ValueSerializeFunc.cs',
'Gst/ValueTable.cs',

View file

@ -494,6 +494,9 @@
<member cname="GST_EVENT_TYPE_STICKY" name="Sticky" value="8"/>
<member cname="GST_EVENT_TYPE_STICKY_MULTI" name="StickyMulti" value="16"/>
</enum>
<enum name="GapFlags" cname="GstGapFlags" type="flags" gtype="gst_gap_flags_get_type" version="1.20">
<member cname="GST_GAP_FLAG_MISSING_DATA" name="Data" value="1"/>
</enum>
<enum name="LockFlags" cname="GstLockFlags" type="flags" gtype="gst_lock_flags_get_type">
<member cname="GST_LOCK_FLAG_READ" name="Read" value="1"/>
<member cname="GST_LOCK_FLAG_WRITE" name="Write" value="2"/>
@ -824,6 +827,23 @@
<parameter name="values" type="gdouble"/>
</parameters>
</callback>
<callback name="CustomMetaTransformFunction" cname="GstCustomMetaTransformFunction" version="1.20">
<return-type type="gboolean"/>
<parameters>
<parameter name="transbuf" type="GstBuffer*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="meta" type="GstCustomMeta*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="buffer" type="GstBuffer*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="type" type="guint32"/>
<parameter allow-none="1" name="data" type="gpointer"/>
<parameter allow-none="1" closure="5" name="user_data" type="gpointer"/>
</parameters>
</callback>
<callback name="DebugFuncPtr" cname="GstDebugFuncPtr">
<return-type type="void"/>
</callback>
@ -1347,6 +1367,16 @@
<parameter name="s" type="const-gchar*"/>
</parameters>
</callback>
<callback name="ValueDeserializeWithPSpecFunc" cname="GstValueDeserializeWithPSpecFunc" version="1.20">
<return-type type="gboolean"/>
<parameters>
<parameter name="dest" type="GValue*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="s" type="const-gchar*"/>
<parameter name="pspec" type="GParamSpec*"/>
</parameters>
</callback>
<callback name="ValueSerializeFunc" cname="GstValueSerializeFunc">
<return-type type="gchar*" owned="true"/>
<parameters>
@ -6251,6 +6281,14 @@
<parameter name="notify" type="GDestroyNotify"/>
</parameters>
</constructor>
<method name="AddCustomMeta" cname="gst_buffer_add_custom_meta" version="1.20">
<return-type type="GstCustomMeta*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*"/>
</parameters>
</method>
<method name="AddMeta" cname="gst_buffer_add_meta">
<return-type type="GstMeta*">
<warning>missing glib:type-name</warning>
@ -6399,6 +6437,14 @@
</return-type>
<parameters/>
</method>
<method name="GetCustomMeta" cname="gst_buffer_get_custom_meta" version="1.20">
<return-type type="GstCustomMeta*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*"/>
</parameters>
</method>
<method name="GetFlags" cname="gst_buffer_get_flags" version="1.10">
<return-type type="GstBufferFlags"/>
<parameters/>
@ -7215,6 +7261,23 @@
</method>
</boxed>
<struct name="ControlBindingPrivate" cname="GstControlBindingPrivate" opaque="true" hidden="true"/>
<struct name="CustomMeta" cname="GstCustomMeta" opaque="false" hidden="false" version="1.20">
<field cname="meta" access="public" writeable="true" readable="true" is_callback="false" name="Meta" type="GstMeta">
<warning>missing glib:type-name</warning>
</field>
<method name="GetStructure" cname="gst_custom_meta_get_structure" version="1.20">
<return-type type="GstStructure*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters/>
</method>
<method name="HasName" cname="gst_custom_meta_has_name" version="1.20">
<return-type type="gboolean"/>
<parameters>
<parameter name="name" type="const-gchar*"/>
</parameters>
</method>
</struct>
<boxed name="DateTime" cname="GstDateTime" opaque="false" hidden="false">
<method name="GetType" cname="gst_date_time_get_type" shared="true">
<return-type type="GType"/>
@ -7644,6 +7707,12 @@
<parameter allow-none="1" name="duration" type="guint64" owned="true" pass_as="out"/>
</parameters>
</method>
<method name="ParseGapFlags" cname="gst_event_parse_gap_flags" version="1.20">
<return-type type="void"/>
<parameters>
<parameter name="flags" type="GstGapFlags" owned="true" pass_as="out"/>
</parameters>
</method>
<method name="ParseGroupId" cname="gst_event_parse_group_id" version="1.2">
<return-type type="gboolean"/>
<parameters>
@ -7806,6 +7875,12 @@
</return-type>
<parameters/>
</method>
<method name="SetGapFlags" cname="gst_event_set_gap_flags" version="1.20">
<return-type type="void"/>
<parameters>
<parameter name="flags" type="GstGapFlags"/>
</parameters>
</method>
<method name="SetGroupId" cname="gst_event_set_group_id" version="1.2">
<return-type type="void"/>
<parameters>
@ -8889,6 +8964,18 @@
<parameter scope="async" name="transform_func" type="GstMetaTransformFunction"/>
</parameters>
</method>
<method name="RegisterCustom" cname="gst_meta_register_custom" shared="true" version="1.20">
<return-type type="GstMetaInfo*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*"/>
<parameter name="tags" type="const gchar**" array="true" null_term_array="true"/>
<parameter closure="3" destroy="4" scope="notified" allow-none="1" name="transform_func" type="GstCustomMetaTransformFunction"/>
<parameter allow-none="1" name="user_data" type="gpointer"/>
<parameter scope="async" name="destroy_data" type="GDestroyNotify"/>
</parameters>
</method>
</struct>
<struct name="MetaInfo" cname="GstMetaInfo" opaque="false" hidden="false">
<field cname="api" access="public" writeable="true" readable="true" is_callback="false" name="Api" type="GType"/>
@ -8897,6 +8984,10 @@
<field cname="init_func" access="public" writeable="true" readable="true" is_callback="false" name="InitFunc" type="GstMetaInitFunction"/>
<field cname="free_func" access="public" writeable="true" readable="true" is_callback="false" name="FreeFunc" type="GstMetaFreeFunction"/>
<field cname="transform_func" access="public" writeable="true" readable="true" is_callback="false" name="TransformFunc" type="GstMetaTransformFunction"/>
<method name="IsCustom" cname="gst_meta_info_is_custom" version="1.20">
<return-type type="gboolean"/>
<parameters/>
</method>
</struct>
<struct name="MetaTransformCopy" cname="GstMetaTransformCopy" opaque="false" hidden="false">
<field cname="region" access="public" writeable="true" readable="true" is_callback="false" name="Region" type="gboolean"/>
@ -11437,7 +11528,8 @@
<field cname="compare" access="public" writeable="true" readable="true" is_callback="false" name="Compare" type="GstValueCompareFunc"/>
<field cname="serialize" access="public" writeable="true" readable="true" is_callback="false" name="Serialize" type="GstValueSerializeFunc"/>
<field cname="deserialize" access="public" writeable="true" readable="true" is_callback="false" name="Deserialize" type="GstValueDeserializeFunc"/>
<field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/>
<field cname="deserialize_with_pspec" access="public" writeable="true" readable="true" is_callback="false" name="DeserializeWithPspec" type="GstValueDeserializeWithPSpecFunc"/>
<field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="3"/>
</struct>
<object name="Global" cname="GstGlobal" opaque="true">
<method name="BufferGetMaxMemory" cname="gst_buffer_get_max_memory" shared="true" version="1.2">
@ -11827,6 +11919,18 @@
<parameter scope="async" name="transform_func" type="GstMetaTransformFunction"/>
</parameters>
</method>
<method name="MetaRegisterCustom" cname="gst_meta_register_custom" shared="true" version="1.20">
<return-type type="GstMetaInfo*">
<warning>missing glib:type-name</warning>
</return-type>
<parameters>
<parameter name="name" type="const-gchar*"/>
<parameter name="tags" type="const gchar**" array="true" null_term_array="true"/>
<parameter closure="3" destroy="4" scope="notified" allow-none="1" name="transform_func" type="GstCustomMetaTransformFunction"/>
<parameter allow-none="1" name="user_data" type="gpointer"/>
<parameter scope="async" name="destroy_data" type="GDestroyNotify"/>
</parameters>
</method>
<method name="MiniObjectReplace" cname="gst_mini_object_replace" shared="true">
<return-type type="gboolean"/>
<parameters>
@ -12507,6 +12611,16 @@
<parameter name="src" type="const-gchar*"/>
</parameters>
</method>
<method name="ValueDeserializeWithPspec" cname="gst_value_deserialize_with_pspec" shared="true" version="1.20">
<return-type type="gboolean"/>
<parameters>
<parameter name="dest" type="GValue*" pass_as="out">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="src" type="const-gchar*"/>
<parameter allow-none="1" name="pspec" type="GParamSpec*"/>
</parameters>
</method>
<method name="ValueFixate" cname="gst_value_fixate" shared="true">
<return-type type="gboolean"/>
<parameters>
@ -13129,7 +13243,7 @@
<constant value="2" ctype="gint" gtype="gint" name="VALUE_UNORDERED"/>
<constant value="1" ctype="gint" gtype="gint" name="VERSION_MAJOR"/>
<constant value="0" ctype="gint" gtype="gint" name="VERSION_MICRO"/>
<constant value="18" ctype="gint" gtype="gint" name="VERSION_MINOR"/>
<constant value="19" ctype="gint" gtype="gint" name="VERSION_MINOR"/>
<constant value="1" ctype="gint" gtype="gint" name="VERSION_NANO"/>
</object>
</namespace>
@ -21499,7 +21613,7 @@
<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="0" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MICRO"/>
<constant value="18" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR"/>
<constant value="19" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_MINOR"/>
<constant value="1" ctype="gint" gtype="gint" name="PLUGINS_BASE_VERSION_NANO"/>
</object>
</namespace>
@ -27266,6 +27380,11 @@
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT" name="SyncPoint" value="2"/>
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME" name="ForceKeyframe" value="4"/>
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS" name="ForceKeyframeHeaders" value="8"/>
<member cname="GST_VIDEO_CODEC_FRAME_FLAG_CORRUPTED" name="Corrupted" value="16"/>
</enum>
<enum name="VideoDecoderRequestSyncPointFlags" cname="GstVideoDecoderRequestSyncPointFlags" type="flags" version="1.20">
<member cname="GST_VIDEO_DECODER_REQUEST_SYNC_POINT_DISCARD_INPUT" name="DiscardInput" value="1"/>
<member cname="GST_VIDEO_DECODER_REQUEST_SYNC_POINT_CORRUPT_OUTPUT" name="CorruptOutput" value="2"/>
</enum>
<enum name="VideoDitherFlags" cname="GstVideoDitherFlags" type="flags" gtype="gst_video_dither_flags_get_type">
<member cname="GST_VIDEO_DITHER_FLAG_NONE" name="None" value="0"/>
@ -28416,6 +28535,10 @@
<return-type type="gboolean"/>
<parameters/>
</method>
<method name="GetNeedsSyncPoint" cname="gst_video_decoder_get_needs_sync_point" version="1.20">
<return-type type="gboolean"/>
<parameters/>
</method>
<method name="GetOldestFrame" cname="gst_video_decoder_get_oldest_frame">
<return-type type="GstVideoCodecFrame*" owned="true">
<warning>missing glib:type-name</warning>
@ -28478,6 +28601,15 @@
</parameter>
</parameters>
</method>
<method name="RequestSyncPoint" cname="gst_video_decoder_request_sync_point" version="1.20">
<return-type type="void"/>
<parameters>
<parameter name="frame" type="GstVideoCodecFrame*">
<warning>missing glib:type-name</warning>
</parameter>
<parameter name="flags" type="GstVideoDecoderRequestSyncPointFlags"/>
</parameters>
</method>
<method name="SetEstimateRate" cname="gst_video_decoder_set_estimate_rate">
<return-type type="void"/>
<parameters>
@ -28517,6 +28649,12 @@
<parameter name="enabled" type="gboolean"/>
</parameters>
</method>
<method name="SetNeedsSyncPoint" cname="gst_video_decoder_set_needs_sync_point" version="1.20">
<return-type type="void"/>
<parameters>
<parameter name="enabled" type="gboolean"/>
</parameters>
</method>
<method name="SetOutputState" cname="gst_video_decoder_set_output_state">
<return-type type="GstVideoCodecState*" owned="true">
<warning>missing glib:type-name</warning>
@ -28542,7 +28680,9 @@
<parameter name="use" type="gboolean"/>
</parameters>
</method>
<property name="DiscardCorruptedFrames" cname="discard-corrupted-frames" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.20"/>
<property name="MaxErrors" cname="max-errors" type="gint" readable="true" writeable="true" construct="false" construct-only="false" version="1.18"/>
<property name="MinForceKeyUnitInterval" cname="min-force-key-unit-interval" type="guint64" readable="true" writeable="true" construct="false" construct-only="false" version="1.20"/>
<property name="Qos" cname="qos" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" version="1.18"/>
<field cname="element" access="private" writeable="false" readable="false" is_callback="false" name="Element" type="GstElement*"/>
<field cname="sinkpad" access="private" writeable="false" readable="false" is_callback="false" name="Sinkpad" type="GstPad*"/>
@ -30896,14 +31036,14 @@
<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">
<method name="VideoColorTransferDecode" cname="gst_video_color_transfer_decode" shared="true" version="1.6" deprecated="true">
<return-type type="gdouble"/>
<parameters>
<parameter name="func" type="GstVideoTransferFunction"/>
<parameter name="val" type="gdouble"/>
</parameters>
</method>
<method name="VideoColorTransferEncode" cname="gst_video_color_transfer_encode" shared="true" version="1.6">
<method name="VideoColorTransferEncode" cname="gst_video_color_transfer_encode" shared="true" version="1.6" deprecated="true">
<return-type type="gdouble"/>
<parameters>
<parameter name="func" type="GstVideoTransferFunction"/>
@ -31268,6 +31408,20 @@
<warning>missing glib:type-name</warning>
</return-type>
</method>
<method name="VideoTransferFunctionDecode" cname="gst_video_transfer_function_decode" shared="true" version="1.20">
<return-type type="gdouble"/>
<parameters>
<parameter name="func" type="GstVideoTransferFunction"/>
<parameter name="val" type="gdouble"/>
</parameters>
</method>
<method name="VideoTransferFunctionEncode" cname="gst_video_transfer_function_encode" shared="true" version="1.20">
<return-type type="gdouble"/>
<parameters>
<parameter name="func" type="GstVideoTransferFunction"/>
<parameter name="val" type="gdouble"/>
</parameters>
</method>
<method name="VideoTransferFunctionFromIso" cname="gst_video_transfer_function_from_iso" shared="true" version="1.18">
<return-type type="GstVideoTransferFunction"/>
<parameters>