mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Update GES with latest master
This commit is contained in:
parent
9f1fac402e
commit
24730900aa
14 changed files with 375 additions and 169 deletions
|
@ -38,6 +38,17 @@ namespace GES {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_is_initialized();
|
||||||
|
|
||||||
|
public static bool IsInitialized {
|
||||||
|
get {
|
||||||
|
bool raw_ret = ges_is_initialized();
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern IntPtr ges_list_assets(IntPtr filter);
|
static extern IntPtr ges_list_assets(IntPtr filter);
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@ namespace GES {
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern void ges_layer_set_priority(IntPtr raw, uint priority);
|
static extern void ges_layer_set_priority(IntPtr raw, uint priority);
|
||||||
|
|
||||||
|
[Obsolete]
|
||||||
[GLib.Property ("priority")]
|
[GLib.Property ("priority")]
|
||||||
public uint Priority {
|
public uint Priority {
|
||||||
get {
|
get {
|
||||||
|
@ -96,16 +97,6 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.Signal("clip-added")]
|
|
||||||
public event GES.ClipAddedHandler ClipAdded {
|
|
||||||
add {
|
|
||||||
this.AddSignalHandler ("clip-added", value, typeof (GES.ClipAddedArgs));
|
|
||||||
}
|
|
||||||
remove {
|
|
||||||
this.RemoveSignalHandler ("clip-added", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[GLib.Signal("clip-removed")]
|
[GLib.Signal("clip-removed")]
|
||||||
public event GES.ClipRemovedHandler ClipRemoved {
|
public event GES.ClipRemovedHandler ClipRemoved {
|
||||||
add {
|
add {
|
||||||
|
@ -116,6 +107,16 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[GLib.Signal("clip-added")]
|
||||||
|
public event GES.ClipAddedHandler ClipAdded {
|
||||||
|
add {
|
||||||
|
this.AddSignalHandler ("clip-added", value, typeof (GES.ClipAddedArgs));
|
||||||
|
}
|
||||||
|
remove {
|
||||||
|
this.RemoveSignalHandler ("clip-added", value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static ClipAddedNativeDelegate ClipAdded_cb_delegate;
|
static ClipAddedNativeDelegate ClipAdded_cb_delegate;
|
||||||
static ClipAddedNativeDelegate ClipAddedVMCallback {
|
static ClipAddedNativeDelegate ClipAddedVMCallback {
|
||||||
get {
|
get {
|
||||||
|
|
|
@ -43,16 +43,6 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.Signal("asset-removed")]
|
|
||||||
public event GES.AssetRemovedHandler AssetRemoved {
|
|
||||||
add {
|
|
||||||
this.AddSignalHandler ("asset-removed", value, typeof (GES.AssetRemovedArgs));
|
|
||||||
}
|
|
||||||
remove {
|
|
||||||
this.RemoveSignalHandler ("asset-removed", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[GLib.Signal("loaded")]
|
[GLib.Signal("loaded")]
|
||||||
public event GES.LoadedHandler Loaded {
|
public event GES.LoadedHandler Loaded {
|
||||||
add {
|
add {
|
||||||
|
@ -73,6 +63,16 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[GLib.Signal("asset-removed")]
|
||||||
|
public event GES.AssetRemovedHandler AssetRemoved {
|
||||||
|
add {
|
||||||
|
this.AddSignalHandler ("asset-removed", value, typeof (GES.AssetRemovedArgs));
|
||||||
|
}
|
||||||
|
remove {
|
||||||
|
this.RemoveSignalHandler ("asset-removed", value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[GLib.Signal("asset-loading")]
|
[GLib.Signal("asset-loading")]
|
||||||
public event GES.AssetLoadingHandler AssetLoading {
|
public event GES.AssetLoadingHandler AssetLoading {
|
||||||
add {
|
add {
|
||||||
|
@ -459,6 +459,15 @@ namespace GES {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern IntPtr ges_project_list_encoding_profiles(IntPtr raw);
|
||||||
|
|
||||||
|
public Gst.PbUtils.EncodingProfile[] ListEncodingProfiles() {
|
||||||
|
IntPtr raw_ret = ges_project_list_encoding_profiles(Handle);
|
||||||
|
Gst.PbUtils.EncodingProfile[] ret = (Gst.PbUtils.EncodingProfile[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), false, false, typeof(Gst.PbUtils.EncodingProfile));
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern unsafe bool ges_project_load(IntPtr raw, IntPtr timeline, out IntPtr error);
|
static extern unsafe bool ges_project_load(IntPtr raw, IntPtr timeline, out IntPtr error);
|
||||||
|
|
||||||
|
|
|
@ -8,19 +8,19 @@ namespace GES {
|
||||||
public delegate void SnappingEndedHandler(object o, SnappingEndedArgs args);
|
public delegate void SnappingEndedHandler(object o, SnappingEndedArgs args);
|
||||||
|
|
||||||
public class SnappingEndedArgs : GLib.SignalArgs {
|
public class SnappingEndedArgs : GLib.SignalArgs {
|
||||||
public GES.TrackElement Object{
|
public GES.TrackElement Obj1{
|
||||||
get {
|
get {
|
||||||
return (GES.TrackElement) Args [0];
|
return (GES.TrackElement) Args [0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public GES.TrackElement P0{
|
public GES.TrackElement Obj2{
|
||||||
get {
|
get {
|
||||||
return (GES.TrackElement) Args [1];
|
return (GES.TrackElement) Args [1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong P1{
|
public ulong Position{
|
||||||
get {
|
get {
|
||||||
return (ulong) Args [2];
|
return (ulong) Args [2];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,19 +8,19 @@ namespace GES {
|
||||||
public delegate void SnappingStartedHandler(object o, SnappingStartedArgs args);
|
public delegate void SnappingStartedHandler(object o, SnappingStartedArgs args);
|
||||||
|
|
||||||
public class SnappingStartedArgs : GLib.SignalArgs {
|
public class SnappingStartedArgs : GLib.SignalArgs {
|
||||||
public GES.TrackElement Object{
|
public GES.TrackElement Obj1{
|
||||||
get {
|
get {
|
||||||
return (GES.TrackElement) Args [0];
|
return (GES.TrackElement) Args [0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public GES.TrackElement P0{
|
public GES.TrackElement Obj2{
|
||||||
get {
|
get {
|
||||||
return (GES.TrackElement) Args [1];
|
return (GES.TrackElement) Args [1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong P1{
|
public ulong Position{
|
||||||
get {
|
get {
|
||||||
return (ulong) Args [2];
|
return (ulong) Args [2];
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,16 +130,6 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.Signal("layer-removed")]
|
|
||||||
public event GES.LayerRemovedHandler LayerRemoved {
|
|
||||||
add {
|
|
||||||
this.AddSignalHandler ("layer-removed", value, typeof (GES.LayerRemovedArgs));
|
|
||||||
}
|
|
||||||
remove {
|
|
||||||
this.RemoveSignalHandler ("layer-removed", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[GLib.Signal("group-added")]
|
[GLib.Signal("group-added")]
|
||||||
public event GES.GroupAddedHandler GroupAdded {
|
public event GES.GroupAddedHandler GroupAdded {
|
||||||
add {
|
add {
|
||||||
|
@ -170,13 +160,13 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.Signal("snapping-ended")]
|
[GLib.Signal("layer-removed")]
|
||||||
public event GES.SnappingEndedHandler SnappingEnded {
|
public event GES.LayerRemovedHandler LayerRemoved {
|
||||||
add {
|
add {
|
||||||
this.AddSignalHandler ("snapping-ended", value, typeof (GES.SnappingEndedArgs));
|
this.AddSignalHandler ("layer-removed", value, typeof (GES.LayerRemovedArgs));
|
||||||
}
|
}
|
||||||
remove {
|
remove {
|
||||||
this.RemoveSignalHandler ("snapping-ended", value);
|
this.RemoveSignalHandler ("layer-removed", value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,6 +190,16 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[GLib.Signal("snapping-ended")]
|
||||||
|
public event GES.SnappingEndedHandler SnappingEnded {
|
||||||
|
add {
|
||||||
|
this.AddSignalHandler ("snapping-ended", value, typeof (GES.SnappingEndedArgs));
|
||||||
|
}
|
||||||
|
remove {
|
||||||
|
this.RemoveSignalHandler ("snapping-ended", value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static CommitedNativeDelegate Commited_cb_delegate;
|
static CommitedNativeDelegate Commited_cb_delegate;
|
||||||
static CommitedNativeDelegate CommitedVMCallback {
|
static CommitedNativeDelegate CommitedVMCallback {
|
||||||
get {
|
get {
|
||||||
|
@ -268,36 +268,36 @@ namespace GES {
|
||||||
OverrideVirtualMethod (gtype, "snapping-ended", callback);
|
OverrideVirtualMethod (gtype, "snapping-ended", callback);
|
||||||
}
|
}
|
||||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||||
delegate void SnappingEndedNativeDelegate (IntPtr inst, IntPtr _object, IntPtr p0, ulong p1);
|
delegate void SnappingEndedNativeDelegate (IntPtr inst, IntPtr obj1, IntPtr obj2, ulong position);
|
||||||
|
|
||||||
static void SnappingEnded_cb (IntPtr inst, IntPtr _object, IntPtr p0, ulong p1)
|
static void SnappingEnded_cb (IntPtr inst, IntPtr obj1, IntPtr obj2, ulong position)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
Timeline __obj = GLib.Object.GetObject (inst, false) as Timeline;
|
Timeline __obj = GLib.Object.GetObject (inst, false) as Timeline;
|
||||||
__obj.OnSnappingEnded (GLib.Object.GetObject(_object) as GES.TrackElement, GLib.Object.GetObject(p0) as GES.TrackElement, p1);
|
__obj.OnSnappingEnded (GLib.Object.GetObject(obj1) as GES.TrackElement, GLib.Object.GetObject(obj2) as GES.TrackElement, position);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
GLib.ExceptionManager.RaiseUnhandledException (e, false);
|
GLib.ExceptionManager.RaiseUnhandledException (e, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.DefaultSignalHandler(Type=typeof(GES.Timeline), ConnectionMethod="OverrideSnappingEnded")]
|
[GLib.DefaultSignalHandler(Type=typeof(GES.Timeline), ConnectionMethod="OverrideSnappingEnded")]
|
||||||
protected virtual void OnSnappingEnded (GES.TrackElement _object, GES.TrackElement p0, ulong p1)
|
protected virtual void OnSnappingEnded (GES.TrackElement obj1, GES.TrackElement obj2, ulong position)
|
||||||
{
|
{
|
||||||
InternalSnappingEnded (_object, p0, p1);
|
InternalSnappingEnded (obj1, obj2, position);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InternalSnappingEnded (GES.TrackElement _object, GES.TrackElement p0, ulong p1)
|
private void InternalSnappingEnded (GES.TrackElement obj1, GES.TrackElement obj2, ulong position)
|
||||||
{
|
{
|
||||||
GLib.Value ret = GLib.Value.Empty;
|
GLib.Value ret = GLib.Value.Empty;
|
||||||
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
|
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
|
||||||
GLib.Value[] vals = new GLib.Value [4];
|
GLib.Value[] vals = new GLib.Value [4];
|
||||||
vals [0] = new GLib.Value (this);
|
vals [0] = new GLib.Value (this);
|
||||||
inst_and_params.Append (vals [0]);
|
inst_and_params.Append (vals [0]);
|
||||||
vals [1] = new GLib.Value (_object);
|
vals [1] = new GLib.Value (obj1);
|
||||||
inst_and_params.Append (vals [1]);
|
inst_and_params.Append (vals [1]);
|
||||||
vals [2] = new GLib.Value (p0);
|
vals [2] = new GLib.Value (obj2);
|
||||||
inst_and_params.Append (vals [2]);
|
inst_and_params.Append (vals [2]);
|
||||||
vals [3] = new GLib.Value (p1);
|
vals [3] = new GLib.Value (position);
|
||||||
inst_and_params.Append (vals [3]);
|
inst_and_params.Append (vals [3]);
|
||||||
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
|
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
|
||||||
foreach (GLib.Value v in vals)
|
foreach (GLib.Value v in vals)
|
||||||
|
@ -323,36 +323,36 @@ namespace GES {
|
||||||
OverrideVirtualMethod (gtype, "snapping-started", callback);
|
OverrideVirtualMethod (gtype, "snapping-started", callback);
|
||||||
}
|
}
|
||||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||||
delegate void SnappingStartedNativeDelegate (IntPtr inst, IntPtr _object, IntPtr p0, ulong p1);
|
delegate void SnappingStartedNativeDelegate (IntPtr inst, IntPtr obj1, IntPtr obj2, ulong position);
|
||||||
|
|
||||||
static void SnappingStarted_cb (IntPtr inst, IntPtr _object, IntPtr p0, ulong p1)
|
static void SnappingStarted_cb (IntPtr inst, IntPtr obj1, IntPtr obj2, ulong position)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
Timeline __obj = GLib.Object.GetObject (inst, false) as Timeline;
|
Timeline __obj = GLib.Object.GetObject (inst, false) as Timeline;
|
||||||
__obj.OnSnappingStarted (GLib.Object.GetObject(_object) as GES.TrackElement, GLib.Object.GetObject(p0) as GES.TrackElement, p1);
|
__obj.OnSnappingStarted (GLib.Object.GetObject(obj1) as GES.TrackElement, GLib.Object.GetObject(obj2) as GES.TrackElement, position);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
GLib.ExceptionManager.RaiseUnhandledException (e, false);
|
GLib.ExceptionManager.RaiseUnhandledException (e, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.DefaultSignalHandler(Type=typeof(GES.Timeline), ConnectionMethod="OverrideSnappingStarted")]
|
[GLib.DefaultSignalHandler(Type=typeof(GES.Timeline), ConnectionMethod="OverrideSnappingStarted")]
|
||||||
protected virtual void OnSnappingStarted (GES.TrackElement _object, GES.TrackElement p0, ulong p1)
|
protected virtual void OnSnappingStarted (GES.TrackElement obj1, GES.TrackElement obj2, ulong position)
|
||||||
{
|
{
|
||||||
InternalSnappingStarted (_object, p0, p1);
|
InternalSnappingStarted (obj1, obj2, position);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InternalSnappingStarted (GES.TrackElement _object, GES.TrackElement p0, ulong p1)
|
private void InternalSnappingStarted (GES.TrackElement obj1, GES.TrackElement obj2, ulong position)
|
||||||
{
|
{
|
||||||
GLib.Value ret = GLib.Value.Empty;
|
GLib.Value ret = GLib.Value.Empty;
|
||||||
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
|
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
|
||||||
GLib.Value[] vals = new GLib.Value [4];
|
GLib.Value[] vals = new GLib.Value [4];
|
||||||
vals [0] = new GLib.Value (this);
|
vals [0] = new GLib.Value (this);
|
||||||
inst_and_params.Append (vals [0]);
|
inst_and_params.Append (vals [0]);
|
||||||
vals [1] = new GLib.Value (_object);
|
vals [1] = new GLib.Value (obj1);
|
||||||
inst_and_params.Append (vals [1]);
|
inst_and_params.Append (vals [1]);
|
||||||
vals [2] = new GLib.Value (p0);
|
vals [2] = new GLib.Value (obj2);
|
||||||
inst_and_params.Append (vals [2]);
|
inst_and_params.Append (vals [2]);
|
||||||
vals [3] = new GLib.Value (p1);
|
vals [3] = new GLib.Value (position);
|
||||||
inst_and_params.Append (vals [3]);
|
inst_and_params.Append (vals [3]);
|
||||||
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
|
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
|
||||||
foreach (GLib.Value v in vals)
|
foreach (GLib.Value v in vals)
|
||||||
|
@ -825,6 +825,15 @@ namespace GES {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_timeline_move_layer(IntPtr raw, IntPtr layer, uint new_layer_priority);
|
||||||
|
|
||||||
|
public bool MoveLayer(GES.Layer layer, uint new_layer_priority) {
|
||||||
|
bool raw_ret = ges_timeline_move_layer(Handle, layer == null ? IntPtr.Zero : layer.Handle, new_layer_priority);
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern IntPtr ges_timeline_paste_element(IntPtr raw, IntPtr element, ulong position, int layer_priority);
|
static extern IntPtr ges_timeline_paste_element(IntPtr raw, IntPtr element, ulong position, int layer_priority);
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,6 @@ namespace GES {
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern ulong ges_timeline_element_get_duration(IntPtr raw);
|
static extern ulong ges_timeline_element_get_duration(IntPtr raw);
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
static extern void ges_timeline_element_set_duration(IntPtr raw, ulong duration);
|
|
||||||
|
|
||||||
[GLib.Property ("duration")]
|
[GLib.Property ("duration")]
|
||||||
public ulong Duration {
|
public ulong Duration {
|
||||||
get {
|
get {
|
||||||
|
@ -31,8 +28,10 @@ namespace GES {
|
||||||
ulong ret = raw_ret;
|
ulong ret = raw_ret;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
ges_timeline_element_set_duration(Handle, value);
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("duration", val);
|
||||||
|
val.Dispose ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,9 +53,6 @@ namespace GES {
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern ulong ges_timeline_element_get_max_duration(IntPtr raw);
|
static extern ulong ges_timeline_element_get_max_duration(IntPtr raw);
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
static extern void ges_timeline_element_set_max_duration(IntPtr raw, ulong maxduration);
|
|
||||||
|
|
||||||
[GLib.Property ("max-duration")]
|
[GLib.Property ("max-duration")]
|
||||||
public ulong MaxDuration {
|
public ulong MaxDuration {
|
||||||
get {
|
get {
|
||||||
|
@ -64,8 +60,10 @@ namespace GES {
|
||||||
ulong ret = raw_ret;
|
ulong ret = raw_ret;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
ges_timeline_element_set_max_duration(Handle, value);
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("max-duration", val);
|
||||||
|
val.Dispose ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,10 +104,6 @@ namespace GES {
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern uint ges_timeline_element_get_priority(IntPtr raw);
|
static extern uint ges_timeline_element_get_priority(IntPtr raw);
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
static extern void ges_timeline_element_set_priority(IntPtr raw, uint priority);
|
|
||||||
|
|
||||||
[Obsolete]
|
|
||||||
[GLib.Property ("priority")]
|
[GLib.Property ("priority")]
|
||||||
public uint Priority {
|
public uint Priority {
|
||||||
get {
|
get {
|
||||||
|
@ -117,8 +111,10 @@ namespace GES {
|
||||||
uint ret = raw_ret;
|
uint ret = raw_ret;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
ges_timeline_element_set_priority(Handle, value);
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("priority", val);
|
||||||
|
val.Dispose ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,9 +136,6 @@ namespace GES {
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern ulong ges_timeline_element_get_start(IntPtr raw);
|
static extern ulong ges_timeline_element_get_start(IntPtr raw);
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
static extern void ges_timeline_element_set_start(IntPtr raw, ulong start);
|
|
||||||
|
|
||||||
[GLib.Property ("start")]
|
[GLib.Property ("start")]
|
||||||
public ulong Start {
|
public ulong Start {
|
||||||
get {
|
get {
|
||||||
|
@ -150,8 +143,10 @@ namespace GES {
|
||||||
ulong ret = raw_ret;
|
ulong ret = raw_ret;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
ges_timeline_element_set_start(Handle, value);
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("start", val);
|
||||||
|
val.Dispose ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,18 +179,12 @@ namespace GES {
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern ulong ges_timeline_element_get_inpoint(IntPtr raw);
|
static extern ulong ges_timeline_element_get_inpoint(IntPtr raw);
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
static extern void ges_timeline_element_set_inpoint(IntPtr raw, ulong inpoint);
|
|
||||||
|
|
||||||
public ulong Inpoint {
|
public ulong Inpoint {
|
||||||
get {
|
get {
|
||||||
ulong raw_ret = ges_timeline_element_get_inpoint(Handle);
|
ulong raw_ret = ges_timeline_element_get_inpoint(Handle);
|
||||||
ulong ret = raw_ret;
|
ulong ret = raw_ret;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
set {
|
|
||||||
ges_timeline_element_set_inpoint(Handle, value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong DurationField {
|
public ulong DurationField {
|
||||||
|
@ -1119,6 +1108,61 @@ namespace GES {
|
||||||
return (GES.TrackType) __result;
|
return (GES.TrackType) __result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static SetChildPropertyNativeDelegate SetChildProperty_cb_delegate;
|
||||||
|
static SetChildPropertyNativeDelegate SetChildPropertyVMCallback {
|
||||||
|
get {
|
||||||
|
if (SetChildProperty_cb_delegate == null)
|
||||||
|
SetChildProperty_cb_delegate = new SetChildPropertyNativeDelegate (SetChildProperty_cb);
|
||||||
|
return SetChildProperty_cb_delegate;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void OverrideSetChildProperty (GLib.GType gtype)
|
||||||
|
{
|
||||||
|
OverrideSetChildProperty (gtype, SetChildPropertyVMCallback);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void OverrideSetChildProperty (GLib.GType gtype, SetChildPropertyNativeDelegate callback)
|
||||||
|
{
|
||||||
|
unsafe {
|
||||||
|
IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("set_child_property"));
|
||||||
|
*raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||||
|
delegate void SetChildPropertyNativeDelegate (IntPtr inst, IntPtr child, IntPtr pspec, IntPtr value);
|
||||||
|
|
||||||
|
static void SetChildProperty_cb (IntPtr inst, IntPtr child, IntPtr pspec, IntPtr value)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
TimelineElement __obj = GLib.Object.GetObject (inst, false) as TimelineElement;
|
||||||
|
__obj.OnSetChildProperty (GLib.Object.GetObject (child), pspec, (GLib.Value) Marshal.PtrToStructure (value, typeof (GLib.Value)));
|
||||||
|
} catch (Exception e) {
|
||||||
|
GLib.ExceptionManager.RaiseUnhandledException (e, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[GLib.DefaultSignalHandler(Type=typeof(GES.TimelineElement), ConnectionMethod="OverrideSetChildProperty")]
|
||||||
|
protected virtual void OnSetChildProperty (GLib.Object child, IntPtr pspec, GLib.Value value)
|
||||||
|
{
|
||||||
|
InternalSetChildProperty (child, pspec, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void InternalSetChildProperty (GLib.Object child, IntPtr pspec, GLib.Value value)
|
||||||
|
{
|
||||||
|
SetChildPropertyNativeDelegate unmanaged = null;
|
||||||
|
unsafe {
|
||||||
|
IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("set_child_property"));
|
||||||
|
unmanaged = (SetChildPropertyNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(SetChildPropertyNativeDelegate));
|
||||||
|
}
|
||||||
|
if (unmanaged == null) return;
|
||||||
|
|
||||||
|
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);
|
||||||
|
unmanaged (this.Handle, child == null ? IntPtr.Zero : child.Handle, pspec, native_value);
|
||||||
|
Marshal.FreeHGlobal (native_value);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Internal representation of the wrapped structure ABI.
|
// Internal representation of the wrapped structure ABI.
|
||||||
static GLib.AbiStruct _class_abi = null;
|
static GLib.AbiStruct _class_abi = null;
|
||||||
|
@ -1250,14 +1294,22 @@ namespace GES {
|
||||||
, -1
|
, -1
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr)) // get_track_types
|
, (uint) Marshal.SizeOf(typeof(IntPtr)) // get_track_types
|
||||||
, "lookup_child"
|
, "lookup_child"
|
||||||
|
, "set_child_property"
|
||||||
|
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
||||||
|
, 0
|
||||||
|
),
|
||||||
|
new GLib.AbiField("set_child_property"
|
||||||
|
, -1
|
||||||
|
, (uint) Marshal.SizeOf(typeof(IntPtr)) // set_child_property
|
||||||
|
, "get_track_types"
|
||||||
, "_ges_reserved"
|
, "_ges_reserved"
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
||||||
, 0
|
, 0
|
||||||
),
|
),
|
||||||
new GLib.AbiField("_ges_reserved"
|
new GLib.AbiField("_ges_reserved"
|
||||||
, -1
|
, -1
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr)) * 18 // _ges_reserved
|
, (uint) Marshal.SizeOf(typeof(IntPtr)) * 17 // _ges_reserved
|
||||||
, "get_track_types"
|
, "set_child_property"
|
||||||
, null
|
, null
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
||||||
, 0
|
, 0
|
||||||
|
@ -1437,6 +1489,33 @@ namespace GES {
|
||||||
Marshal.FreeHGlobal (native_value);
|
Marshal.FreeHGlobal (native_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_timeline_element_set_duration(IntPtr raw, ulong duration);
|
||||||
|
|
||||||
|
public bool SetDuration(ulong duration) {
|
||||||
|
bool raw_ret = ges_timeline_element_set_duration(Handle, duration);
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_timeline_element_set_inpoint(IntPtr raw, ulong inpoint);
|
||||||
|
|
||||||
|
public bool SetInpoint(ulong inpoint) {
|
||||||
|
bool raw_ret = ges_timeline_element_set_inpoint(Handle, inpoint);
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_timeline_element_set_max_duration(IntPtr raw, ulong maxduration);
|
||||||
|
|
||||||
|
public bool SetMaxDuration(ulong maxduration) {
|
||||||
|
bool raw_ret = ges_timeline_element_set_max_duration(Handle, maxduration);
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern bool ges_timeline_element_set_name(IntPtr raw, IntPtr name);
|
static extern bool ges_timeline_element_set_name(IntPtr raw, IntPtr name);
|
||||||
|
|
||||||
|
@ -1461,6 +1540,25 @@ namespace GES {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_timeline_element_set_priority(IntPtr raw, uint priority);
|
||||||
|
|
||||||
|
[Obsolete]
|
||||||
|
public bool SetPriority(uint priority) {
|
||||||
|
bool raw_ret = ges_timeline_element_set_priority(Handle, priority);
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern bool ges_timeline_element_set_start(IntPtr raw, ulong start);
|
||||||
|
|
||||||
|
public bool SetStart(ulong start) {
|
||||||
|
bool raw_ret = ges_timeline_element_set_start(Handle, start);
|
||||||
|
bool ret = raw_ret;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern bool ges_timeline_element_set_timeline(IntPtr raw, IntPtr timeline);
|
static extern bool ges_timeline_element_set_timeline(IntPtr raw, IntPtr timeline);
|
||||||
|
|
||||||
|
|
|
@ -63,16 +63,6 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[GLib.Signal("control-binding-removed")]
|
|
||||||
public event GES.ControlBindingRemovedHandler ControlBindingRemoved {
|
|
||||||
add {
|
|
||||||
this.AddSignalHandler ("control-binding-removed", value, typeof (GES.ControlBindingRemovedArgs));
|
|
||||||
}
|
|
||||||
remove {
|
|
||||||
this.RemoveSignalHandler ("control-binding-removed", value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[GLib.Signal("control-binding-added")]
|
[GLib.Signal("control-binding-added")]
|
||||||
public event GES.ControlBindingAddedHandler ControlBindingAdded {
|
public event GES.ControlBindingAddedHandler ControlBindingAdded {
|
||||||
add {
|
add {
|
||||||
|
@ -83,6 +73,16 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[GLib.Signal("control-binding-removed")]
|
||||||
|
public event GES.ControlBindingRemovedHandler ControlBindingRemoved {
|
||||||
|
add {
|
||||||
|
this.AddSignalHandler ("control-binding-removed", value, typeof (GES.ControlBindingRemovedArgs));
|
||||||
|
}
|
||||||
|
remove {
|
||||||
|
this.RemoveSignalHandler ("control-binding-removed", value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static ControlBindingAddedNativeDelegate ControlBindingAdded_cb_delegate;
|
static ControlBindingAddedNativeDelegate ControlBindingAdded_cb_delegate;
|
||||||
static ControlBindingAddedNativeDelegate ControlBindingAddedVMCallback {
|
static ControlBindingAddedNativeDelegate ControlBindingAddedVMCallback {
|
||||||
get {
|
get {
|
||||||
|
|
|
@ -54,14 +54,22 @@ namespace GES {
|
||||||
, -1
|
, -1
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr)) // sync_discoverer
|
, (uint) Marshal.SizeOf(typeof(IntPtr)) // sync_discoverer
|
||||||
, "discoverer"
|
, "discoverer"
|
||||||
|
, "discovered"
|
||||||
|
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
||||||
|
, 0
|
||||||
|
),
|
||||||
|
new GLib.AbiField("discovered"
|
||||||
|
, -1
|
||||||
|
, (uint) Marshal.SizeOf(typeof(IntPtr)) // discovered
|
||||||
|
, "sync_discoverer"
|
||||||
, "_ges_reserved"
|
, "_ges_reserved"
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
||||||
, 0
|
, 0
|
||||||
),
|
),
|
||||||
new GLib.AbiField("_ges_reserved"
|
new GLib.AbiField("_ges_reserved"
|
||||||
, -1
|
, -1
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _ges_reserved
|
, (uint) Marshal.SizeOf(typeof(IntPtr)) * 3 // _ges_reserved
|
||||||
, "sync_discoverer"
|
, "discovered"
|
||||||
, null
|
, null
|
||||||
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
, (uint) Marshal.SizeOf(typeof(IntPtr))
|
||||||
, 0
|
, 0
|
||||||
|
@ -95,6 +103,17 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern unsafe IntPtr ges_uri_clip_asset_finish(IntPtr res, out IntPtr error);
|
||||||
|
|
||||||
|
public static unsafe GES.UriClipAsset Finish(GLib.IAsyncResult res) {
|
||||||
|
IntPtr error = IntPtr.Zero;
|
||||||
|
IntPtr raw_ret = ges_uri_clip_asset_finish(res == null ? IntPtr.Zero : ((res is GLib.Object) ? (res as GLib.Object).Handle : (res as GLib.AsyncResultAdapter).Handle), out error);
|
||||||
|
GES.UriClipAsset ret = GLib.Object.GetObject(raw_ret, true) as GES.UriClipAsset;
|
||||||
|
if (error != IntPtr.Zero) throw new GLib.GException (error);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern void ges_uri_clip_asset_new(IntPtr uri, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data);
|
static extern void ges_uri_clip_asset_new(IntPtr uri, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data);
|
||||||
|
|
||||||
|
@ -117,7 +136,7 @@ namespace GES {
|
||||||
IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup (uri);
|
IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup (uri);
|
||||||
IntPtr error = IntPtr.Zero;
|
IntPtr error = IntPtr.Zero;
|
||||||
IntPtr raw_ret = ges_uri_clip_asset_request_sync(native_uri, out error);
|
IntPtr raw_ret = ges_uri_clip_asset_request_sync(native_uri, out error);
|
||||||
GES.UriClipAsset ret = GLib.Object.GetObject(raw_ret) as GES.UriClipAsset;
|
GES.UriClipAsset ret = GLib.Object.GetObject(raw_ret, true) as GES.UriClipAsset;
|
||||||
GLib.Marshaller.Free (native_uri);
|
GLib.Marshaller.Free (native_uri);
|
||||||
if (error != IntPtr.Zero) throw new GLib.GException (error);
|
if (error != IntPtr.Zero) throw new GLib.GException (error);
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -134,6 +153,17 @@ namespace GES {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
static extern IntPtr ges_uri_clip_asset_get_stream_assets(IntPtr raw);
|
||||||
|
|
||||||
|
public GES.UriSourceAsset[] StreamAssets {
|
||||||
|
get {
|
||||||
|
IntPtr raw_ret = ges_uri_clip_asset_get_stream_assets(Handle);
|
||||||
|
GES.UriSourceAsset[] ret = (GES.UriSourceAsset[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), false, false, typeof(GES.UriSourceAsset));
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport("ges-1.0", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern bool ges_uri_clip_asset_is_image(IntPtr raw);
|
static extern bool ges_uri_clip_asset_is_image(IntPtr raw);
|
||||||
|
|
||||||
|
|
|
@ -173,6 +173,7 @@ int main (int argc, char *argv[]) {
|
||||||
g_print("\"GESTimelineElementClass.list_children_properties\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, list_children_properties));
|
g_print("\"GESTimelineElementClass.list_children_properties\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, list_children_properties));
|
||||||
g_print("\"GESTimelineElementClass.lookup_child\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, lookup_child));
|
g_print("\"GESTimelineElementClass.lookup_child\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, lookup_child));
|
||||||
g_print("\"GESTimelineElementClass.get_track_types\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, get_track_types));
|
g_print("\"GESTimelineElementClass.get_track_types\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, get_track_types));
|
||||||
|
g_print("\"GESTimelineElementClass.set_child_property\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElementClass, set_child_property));
|
||||||
g_print("\"sizeof(GESTimelineElement)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESTimelineElement));
|
g_print("\"sizeof(GESTimelineElement)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESTimelineElement));
|
||||||
g_print("\"GESTimelineElement.parent\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElement, parent));
|
g_print("\"GESTimelineElement.parent\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElement, parent));
|
||||||
g_print("\"GESTimelineElement.asset\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElement, asset));
|
g_print("\"GESTimelineElement.asset\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESTimelineElement, asset));
|
||||||
|
@ -223,6 +224,7 @@ int main (int argc, char *argv[]) {
|
||||||
g_print("\"sizeof(GESUriClipAssetClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESUriClipAssetClass));
|
g_print("\"sizeof(GESUriClipAssetClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESUriClipAssetClass));
|
||||||
g_print("\"GESUriClipAssetClass.discoverer\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAssetClass, discoverer));
|
g_print("\"GESUriClipAssetClass.discoverer\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAssetClass, discoverer));
|
||||||
g_print("\"GESUriClipAssetClass.sync_discoverer\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAssetClass, sync_discoverer));
|
g_print("\"GESUriClipAssetClass.sync_discoverer\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAssetClass, sync_discoverer));
|
||||||
|
g_print("\"GESUriClipAssetClass.discovered\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAssetClass, discovered));
|
||||||
g_print("\"sizeof(GESUriClipAsset)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESUriClipAsset));
|
g_print("\"sizeof(GESUriClipAsset)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESUriClipAsset));
|
||||||
g_print("\"GESUriClipAsset.priv\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAsset, priv));
|
g_print("\"GESUriClipAsset.priv\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) G_STRUCT_OFFSET(GESUriClipAsset, priv));
|
||||||
g_print("\"sizeof(GESUriSourceAssetClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESUriSourceAssetClass));
|
g_print("\"sizeof(GESUriSourceAssetClass)\": \"%" G_GUINT64_FORMAT "\"\n", (guint64) sizeof(GESUriSourceAssetClass));
|
||||||
|
|
|
@ -188,6 +188,7 @@ namespace AbiTester {
|
||||||
Console.WriteLine("\"GESTimelineElementClass.list_children_properties\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("list_children_properties") + "\"");
|
Console.WriteLine("\"GESTimelineElementClass.list_children_properties\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("list_children_properties") + "\"");
|
||||||
Console.WriteLine("\"GESTimelineElementClass.lookup_child\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("lookup_child") + "\"");
|
Console.WriteLine("\"GESTimelineElementClass.lookup_child\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("lookup_child") + "\"");
|
||||||
Console.WriteLine("\"GESTimelineElementClass.get_track_types\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("get_track_types") + "\"");
|
Console.WriteLine("\"GESTimelineElementClass.get_track_types\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("get_track_types") + "\"");
|
||||||
|
Console.WriteLine("\"GESTimelineElementClass.set_child_property\": \"" + GES.TimelineElement.class_abi.GetFieldOffset("set_child_property") + "\"");
|
||||||
Console.WriteLine("\"sizeof(GESTimelineElement)\": \"" + GES.TimelineElement.abi_info.Size + "\"");
|
Console.WriteLine("\"sizeof(GESTimelineElement)\": \"" + GES.TimelineElement.abi_info.Size + "\"");
|
||||||
Console.WriteLine("\"GESTimelineElement.parent\": \"" + GES.TimelineElement.abi_info.GetFieldOffset("parent") + "\"");
|
Console.WriteLine("\"GESTimelineElement.parent\": \"" + GES.TimelineElement.abi_info.GetFieldOffset("parent") + "\"");
|
||||||
Console.WriteLine("\"GESTimelineElement.asset\": \"" + GES.TimelineElement.abi_info.GetFieldOffset("asset") + "\"");
|
Console.WriteLine("\"GESTimelineElement.asset\": \"" + GES.TimelineElement.abi_info.GetFieldOffset("asset") + "\"");
|
||||||
|
@ -238,6 +239,7 @@ namespace AbiTester {
|
||||||
Console.WriteLine("\"sizeof(GESUriClipAssetClass)\": \"" + GES.UriClipAsset.class_abi.Size + "\"");
|
Console.WriteLine("\"sizeof(GESUriClipAssetClass)\": \"" + GES.UriClipAsset.class_abi.Size + "\"");
|
||||||
Console.WriteLine("\"GESUriClipAssetClass.discoverer\": \"" + GES.UriClipAsset.class_abi.GetFieldOffset("discoverer") + "\"");
|
Console.WriteLine("\"GESUriClipAssetClass.discoverer\": \"" + GES.UriClipAsset.class_abi.GetFieldOffset("discoverer") + "\"");
|
||||||
Console.WriteLine("\"GESUriClipAssetClass.sync_discoverer\": \"" + GES.UriClipAsset.class_abi.GetFieldOffset("sync_discoverer") + "\"");
|
Console.WriteLine("\"GESUriClipAssetClass.sync_discoverer\": \"" + GES.UriClipAsset.class_abi.GetFieldOffset("sync_discoverer") + "\"");
|
||||||
|
Console.WriteLine("\"GESUriClipAssetClass.discovered\": \"" + GES.UriClipAsset.class_abi.GetFieldOffset("discovered") + "\"");
|
||||||
Console.WriteLine("\"sizeof(GESUriClipAsset)\": \"" + GES.UriClipAsset.abi_info.Size + "\"");
|
Console.WriteLine("\"sizeof(GESUriClipAsset)\": \"" + GES.UriClipAsset.abi_info.Size + "\"");
|
||||||
Console.WriteLine("\"GESUriClipAsset.priv\": \"" + GES.UriClipAsset.abi_info.GetFieldOffset("priv") + "\"");
|
Console.WriteLine("\"GESUriClipAsset.priv\": \"" + GES.UriClipAsset.abi_info.GetFieldOffset("priv") + "\"");
|
||||||
Console.WriteLine("\"sizeof(GESUriSourceAssetClass)\": \"" + GES.UriSourceAsset.class_abi.Size + "\"");
|
Console.WriteLine("\"sizeof(GESUriSourceAssetClass)\": \"" + GES.UriSourceAsset.class_abi.Size + "\"");
|
||||||
|
|
|
@ -1243,7 +1243,7 @@
|
||||||
<parameter name="element" type="GESTimelineElement*" />
|
<parameter name="element" type="GESTimelineElement*" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="ChildRemoved" cname="child-removed" when="first" field_name="child_removed">
|
<signal name="ChildRemoved" cname="child-removed" when="last" field_name="child_removed">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="element" type="GESTimelineElement*" />
|
<parameter name="element" type="GESTimelineElement*" />
|
||||||
|
@ -1573,7 +1573,7 @@
|
||||||
<parameter name="auto_transition" type="gboolean" />
|
<parameter name="auto_transition" type="gboolean" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetPriority" cname="ges_layer_set_priority">
|
<method name="SetPriority" cname="ges_layer_set_priority" deprecated="true" deprecated-version="1.16.0">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="priority" type="guint" />
|
<parameter name="priority" type="guint" />
|
||||||
|
@ -1586,7 +1586,7 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<property name="AutoTransition" cname="auto-transition" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" />
|
<property name="AutoTransition" cname="auto-transition" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false" />
|
||||||
<property name="Priority" cname="priority" type="guint" readable="true" writeable="true" construct="false" construct-only="false" />
|
<property name="Priority" cname="priority" type="guint" readable="true" writeable="true" construct="false" construct-only="false" deprecated="true" deprecated-version="1.16.0" />
|
||||||
<field cname="parent" access="private" writeable="false" readable="true" is_callback="false" name="Parent" type="GInitiallyUnowned*" />
|
<field cname="parent" access="private" writeable="false" readable="true" is_callback="false" name="Parent" type="GInitiallyUnowned*" />
|
||||||
<field cname="timeline" access="public" writeable="false" readable="true" is_callback="false" name="Timeline" type="GESTimeline*" />
|
<field cname="timeline" access="public" writeable="false" readable="true" is_callback="false" name="Timeline" type="GESTimeline*" />
|
||||||
<field cname="min_nle_priority" access="public" writeable="false" readable="true" is_callback="false" name="MinNlePriority" type="guint32" />
|
<field cname="min_nle_priority" access="public" writeable="false" readable="true" is_callback="false" name="MinNlePriority" type="guint32" />
|
||||||
|
@ -2359,6 +2359,13 @@
|
||||||
<parameter name="error" type="GError**" />
|
<parameter name="error" type="GError**" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="MoveLayer" cname="ges_timeline_move_layer">
|
||||||
|
<return-type type="gboolean" />
|
||||||
|
<parameters>
|
||||||
|
<parameter name="layer" type="GESLayer*" />
|
||||||
|
<parameter name="new_layer_priority" type="guint" />
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="PasteElement" cname="ges_timeline_paste_element">
|
<method name="PasteElement" cname="ges_timeline_paste_element">
|
||||||
<return-type type="GESTimelineElement*" />
|
<return-type type="GESTimelineElement*" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -2449,17 +2456,17 @@
|
||||||
<signal name="SnappingEnded" cname="snapping-ended" when="last">
|
<signal name="SnappingEnded" cname="snapping-ended" when="last">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="_object" type="GESTrackElement*" />
|
<parameter name="obj1" type="GESTrackElement*" />
|
||||||
<parameter name="p0" type="GESTrackElement*" />
|
<parameter name="obj2" type="GESTrackElement*" />
|
||||||
<parameter name="p1" type="guint64" />
|
<parameter name="position" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="SnappingStarted" cname="snapping-started" when="last">
|
<signal name="SnappingStarted" cname="snapping-started" when="last">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="_object" type="GESTrackElement*" />
|
<parameter name="obj1" type="GESTrackElement*" />
|
||||||
<parameter name="p0" type="GESTrackElement*" />
|
<parameter name="obj2" type="GESTrackElement*" />
|
||||||
<parameter name="p1" type="guint64" />
|
<parameter name="position" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="TrackAdded" cname="track-added" when="first" field_name="track_added">
|
<signal name="TrackAdded" cname="track-added" when="first" field_name="track_added">
|
||||||
|
@ -2500,7 +2507,8 @@
|
||||||
<method vm="list_children_properties" />
|
<method vm="list_children_properties" />
|
||||||
<method vm="lookup_child" />
|
<method vm="lookup_child" />
|
||||||
<method vm="get_track_types" />
|
<method vm="get_track_types" />
|
||||||
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="18" padding="true" />
|
<method vm="set_child_property" />
|
||||||
|
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="17" padding="true" />
|
||||||
</class_struct>
|
</class_struct>
|
||||||
<method name="GetType" cname="ges_timeline_element_get_type" shared="true">
|
<method name="GetType" cname="ges_timeline_element_get_type" shared="true">
|
||||||
<return-type type="GType" />
|
<return-type type="GType" />
|
||||||
|
@ -2560,6 +2568,16 @@
|
||||||
<parameter name="start" type="guint64" />
|
<parameter name="start" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
|
<virtual_method name="SetChildProperty" cname="set_child_property">
|
||||||
|
<return-type type="void" />
|
||||||
|
<parameters>
|
||||||
|
<parameter name="child" type="GObject*" />
|
||||||
|
<parameter name="pspec" type="GParamSpec*" />
|
||||||
|
<parameter name="value" type="GValue*">
|
||||||
|
<warning>missing glib:type-name</warning>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</virtual_method>
|
||||||
<virtual_method name="SetDuration" cname="set_duration">
|
<virtual_method name="SetDuration" cname="set_duration">
|
||||||
<return-type type="gboolean" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -2584,7 +2602,7 @@
|
||||||
<parameter name="parent" type="GESTimelineElement*" />
|
<parameter name="parent" type="GESTimelineElement*" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
<virtual_method name="SetPriority" cname="set_priority">
|
<virtual_method name="SetPriority" cname="set_priority" deprecated="true">
|
||||||
<return-type type="gboolean" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="priority" type="guint32" />
|
<parameter name="priority" type="guint32" />
|
||||||
|
@ -2742,19 +2760,19 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetDuration" cname="ges_timeline_element_set_duration">
|
<method name="SetDuration" cname="ges_timeline_element_set_duration">
|
||||||
<return-type type="void" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="duration" type="guint64" />
|
<parameter name="duration" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetInpoint" cname="ges_timeline_element_set_inpoint">
|
<method name="SetInpoint" cname="ges_timeline_element_set_inpoint">
|
||||||
<return-type type="void" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="inpoint" type="guint64" />
|
<parameter name="inpoint" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetMaxDuration" cname="ges_timeline_element_set_max_duration">
|
<method name="SetMaxDuration" cname="ges_timeline_element_set_max_duration">
|
||||||
<return-type type="void" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="maxduration" type="guint64" />
|
<parameter name="maxduration" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -2772,13 +2790,13 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetPriority" cname="ges_timeline_element_set_priority" deprecated="true">
|
<method name="SetPriority" cname="ges_timeline_element_set_priority" deprecated="true">
|
||||||
<return-type type="void" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="priority" type="guint32" />
|
<parameter name="priority" type="guint32" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetStart" cname="ges_timeline_element_set_start">
|
<method name="SetStart" cname="ges_timeline_element_set_start">
|
||||||
<return-type type="void" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="start" type="guint64" />
|
<parameter name="start" type="guint64" />
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -3459,8 +3477,18 @@
|
||||||
</field>
|
</field>
|
||||||
<field cname="discoverer" access="private" writeable="false" readable="false" is_callback="false" name="Discoverer" type="GstDiscoverer*" />
|
<field cname="discoverer" access="private" writeable="false" readable="false" is_callback="false" name="Discoverer" type="GstDiscoverer*" />
|
||||||
<field cname="sync_discoverer" access="private" writeable="false" readable="false" is_callback="false" name="SyncDiscoverer" type="GstDiscoverer*" />
|
<field cname="sync_discoverer" access="private" writeable="false" readable="false" is_callback="false" name="SyncDiscoverer" type="GstDiscoverer*" />
|
||||||
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4" padding="true" />
|
<method vm="discovered" />
|
||||||
|
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="3" padding="true" />
|
||||||
</class_struct>
|
</class_struct>
|
||||||
|
<virtual_method name="Discovered" cname="discovered" shared="true">
|
||||||
|
<return-type type="void" />
|
||||||
|
<parameters>
|
||||||
|
<parameter name="discoverer" type="GstDiscoverer*" />
|
||||||
|
<parameter name="info" type="GstDiscovererInfo*" />
|
||||||
|
<parameter name="err" type="GLib.Error" />
|
||||||
|
<parameter closure="3" allow-none="1" name="user_data" type="gpointer" />
|
||||||
|
</parameters>
|
||||||
|
</virtual_method>
|
||||||
<method name="SetTimeout" cname="ges_uri_clip_asset_class_set_timeout" shared="true">
|
<method name="SetTimeout" cname="ges_uri_clip_asset_class_set_timeout" shared="true">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3470,6 +3498,13 @@
|
||||||
<method name="GetType" cname="ges_uri_clip_asset_get_type" shared="true">
|
<method name="GetType" cname="ges_uri_clip_asset_get_type" shared="true">
|
||||||
<return-type type="GType" />
|
<return-type type="GType" />
|
||||||
</method>
|
</method>
|
||||||
|
<method name="Finish" cname="ges_uri_clip_asset_finish" shared="true">
|
||||||
|
<return-type type="GESUriClipAsset*" owned="true" />
|
||||||
|
<parameters throws="1">
|
||||||
|
<parameter name="res" type="GAsyncResult*" />
|
||||||
|
<parameter name="error" type="GError**" />
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="New" cname="ges_uri_clip_asset_new" shared="true">
|
<method name="New" cname="ges_uri_clip_asset_new" shared="true">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3480,7 +3515,7 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="RequestSync" cname="ges_uri_clip_asset_request_sync" shared="true">
|
<method name="RequestSync" cname="ges_uri_clip_asset_request_sync" shared="true">
|
||||||
<return-type type="GESUriClipAsset*" />
|
<return-type type="GESUriClipAsset*" owned="true" />
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="uri" type="const-gchar*" />
|
<parameter name="uri" type="const-gchar*" />
|
||||||
<parameter name="error" type="GError**" />
|
<parameter name="error" type="GError**" />
|
||||||
|
@ -3793,6 +3828,9 @@
|
||||||
<parameter name="error" type="GError**" />
|
<parameter name="error" type="GError**" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="IsInitialized" cname="ges_is_initialized" shared="true">
|
||||||
|
<return-type type="gboolean" />
|
||||||
|
</method>
|
||||||
<method name="ListAssets" cname="ges_list_assets" shared="true">
|
<method name="ListAssets" cname="ges_list_assets" shared="true">
|
||||||
<return-type type="GList*" element_type="GESAsset*" elements_owned="true" />
|
<return-type type="GList*" element_type="GESAsset*" elements_owned="true" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
|
|
@ -1243,7 +1243,7 @@
|
||||||
<parameter name="element" type="GESTimelineElement*"/>
|
<parameter name="element" type="GESTimelineElement*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="ChildRemoved" cname="child-removed" when="first" field_name="child_removed">
|
<signal name="ChildRemoved" cname="child-removed" when="last" field_name="child_removed">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="element" type="GESTimelineElement*"/>
|
<parameter name="element" type="GESTimelineElement*"/>
|
||||||
|
@ -1573,7 +1573,7 @@
|
||||||
<parameter name="auto_transition" type="gboolean"/>
|
<parameter name="auto_transition" type="gboolean"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetPriority" cname="ges_layer_set_priority">
|
<method name="SetPriority" cname="ges_layer_set_priority" deprecated="true" deprecated-version="1.16.0">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="priority" type="guint"/>
|
<parameter name="priority" type="guint"/>
|
||||||
|
@ -1586,7 +1586,7 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<property name="AutoTransition" cname="auto-transition" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/>
|
<property name="AutoTransition" cname="auto-transition" type="gboolean" readable="true" writeable="true" construct="false" construct-only="false"/>
|
||||||
<property name="Priority" cname="priority" type="guint" readable="true" writeable="true" construct="false" construct-only="false"/>
|
<property name="Priority" cname="priority" type="guint" readable="true" writeable="true" construct="false" construct-only="false" deprecated="true" deprecated-version="1.16.0"/>
|
||||||
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GInitiallyUnowned*"/>
|
<field cname="parent" access="public" writeable="false" readable="true" is_callback="false" name="Parent" type="GInitiallyUnowned*"/>
|
||||||
<field cname="timeline" access="public" writeable="false" readable="true" is_callback="false" name="Timeline" type="GESTimeline*"/>
|
<field cname="timeline" access="public" writeable="false" readable="true" is_callback="false" name="Timeline" type="GESTimeline*"/>
|
||||||
<field cname="min_nle_priority" access="public" writeable="false" readable="true" is_callback="false" name="MinNlePriority" type="guint32"/>
|
<field cname="min_nle_priority" access="public" writeable="false" readable="true" is_callback="false" name="MinNlePriority" type="guint32"/>
|
||||||
|
@ -1969,36 +1969,6 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
</object>
|
</object>
|
||||||
<object name="SmartAdder" cname="GESSmartAdder" opaque="false" hidden="false" parent="GstBin">
|
|
||||||
<implements>
|
|
||||||
<interface cname="GstChildProxy"/>
|
|
||||||
</implements>
|
|
||||||
<class_struct cname="GESSmartAdderClass">
|
|
||||||
<field cname="parent_class" access="public" writeable="false" readable="true" is_callback="false" name="ParentClass" type="GstBinClass">
|
|
||||||
<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"/>
|
|
||||||
</class_struct>
|
|
||||||
<method name="GetType" cname="ges_smart_adder_get_type" shared="true">
|
|
||||||
<return-type type="GType"/>
|
|
||||||
</method>
|
|
||||||
<constructor cname="ges_smart_adder_new">
|
|
||||||
<parameters>
|
|
||||||
<parameter name="track" type="GESTrack*"/>
|
|
||||||
</parameters>
|
|
||||||
</constructor>
|
|
||||||
<field cname="parent_instance" access="public" writeable="false" readable="true" is_callback="false" name="ParentInstance" type="GstBin*"/>
|
|
||||||
<field cname="pads_infos" access="public" writeable="false" readable="true" is_callback="false" name="PadsInfos" type="GHashTable*" element_type="gpointer"/>
|
|
||||||
<field cname="srcpad" access="public" writeable="false" readable="true" is_callback="false" name="Srcpad" type="GstPad*"/>
|
|
||||||
<field cname="adder" access="public" writeable="false" readable="true" is_callback="false" name="Adder" type="GstElement*"/>
|
|
||||||
<field cname="capsfilter" access="public" writeable="false" readable="true" is_callback="false" name="Capsfilter" type="GstElement*"/>
|
|
||||||
<field cname="lock" access="public" writeable="false" readable="true" is_callback="false" name="Lock" type="GLib.Mutex"/>
|
|
||||||
<field cname="caps" access="public" writeable="false" readable="true" is_callback="false" name="Caps" type="GstCaps*">
|
|
||||||
<warning>missing glib:type-name</warning>
|
|
||||||
</field>
|
|
||||||
<field cname="track" access="public" writeable="false" readable="true" is_callback="false" name="Track" type="GESTrack*"/>
|
|
||||||
<field cname="_ges_reserved" access="public" writeable="false" readable="true" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4"/>
|
|
||||||
</object>
|
|
||||||
<object name="Source" cname="GESSource" opaque="false" hidden="false" parent="GESTrackElement">
|
<object name="Source" cname="GESSource" opaque="false" hidden="false" parent="GESTrackElement">
|
||||||
<implements>
|
<implements>
|
||||||
<interface cname="GESExtractable"/>
|
<interface cname="GESExtractable"/>
|
||||||
|
@ -2409,6 +2379,13 @@
|
||||||
<parameter name="error" type="GError**"/>
|
<parameter name="error" type="GError**"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="MoveLayer" cname="ges_timeline_move_layer">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="layer" type="GESLayer*"/>
|
||||||
|
<parameter name="new_layer_priority" type="guint"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="PasteElement" cname="ges_timeline_paste_element">
|
<method name="PasteElement" cname="ges_timeline_paste_element">
|
||||||
<return-type type="GESTimelineElement*"/>
|
<return-type type="GESTimelineElement*"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -2499,17 +2476,17 @@
|
||||||
<signal name="SnappingEnded" cname="snapping-ended" when="last">
|
<signal name="SnappingEnded" cname="snapping-ended" when="last">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="_object" type="GESTrackElement*"/>
|
<parameter name="obj1" type="GESTrackElement*"/>
|
||||||
<parameter name="p0" type="GESTrackElement*"/>
|
<parameter name="obj2" type="GESTrackElement*"/>
|
||||||
<parameter name="p1" type="guint64"/>
|
<parameter name="position" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="SnappingStarted" cname="snapping-started" when="last">
|
<signal name="SnappingStarted" cname="snapping-started" when="last">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="_object" type="GESTrackElement*"/>
|
<parameter name="obj1" type="GESTrackElement*"/>
|
||||||
<parameter name="p0" type="GESTrackElement*"/>
|
<parameter name="obj2" type="GESTrackElement*"/>
|
||||||
<parameter name="p1" type="guint64"/>
|
<parameter name="position" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="TrackAdded" cname="track-added" when="first" field_name="track_added">
|
<signal name="TrackAdded" cname="track-added" when="first" field_name="track_added">
|
||||||
|
@ -2550,7 +2527,8 @@
|
||||||
<method vm="list_children_properties"/>
|
<method vm="list_children_properties"/>
|
||||||
<method vm="lookup_child"/>
|
<method vm="lookup_child"/>
|
||||||
<method vm="get_track_types"/>
|
<method vm="get_track_types"/>
|
||||||
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="18"/>
|
<method vm="set_child_property"/>
|
||||||
|
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="17"/>
|
||||||
</class_struct>
|
</class_struct>
|
||||||
<method name="GetType" cname="ges_timeline_element_get_type" shared="true">
|
<method name="GetType" cname="ges_timeline_element_get_type" shared="true">
|
||||||
<return-type type="GType"/>
|
<return-type type="GType"/>
|
||||||
|
@ -2610,6 +2588,16 @@
|
||||||
<parameter name="start" type="guint64"/>
|
<parameter name="start" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
|
<virtual_method name="SetChildProperty" cname="set_child_property">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="child" type="GObject*"/>
|
||||||
|
<parameter name="pspec" type="GParamSpec*"/>
|
||||||
|
<parameter name="value" type="GValue*">
|
||||||
|
<warning>missing glib:type-name</warning>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</virtual_method>
|
||||||
<virtual_method name="SetDuration" cname="set_duration">
|
<virtual_method name="SetDuration" cname="set_duration">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -2634,7 +2622,7 @@
|
||||||
<parameter name="parent" type="GESTimelineElement*"/>
|
<parameter name="parent" type="GESTimelineElement*"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
<virtual_method name="SetPriority" cname="set_priority">
|
<virtual_method name="SetPriority" cname="set_priority" deprecated="true">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="priority" type="guint32"/>
|
<parameter name="priority" type="guint32"/>
|
||||||
|
@ -2792,19 +2780,19 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetDuration" cname="ges_timeline_element_set_duration">
|
<method name="SetDuration" cname="ges_timeline_element_set_duration">
|
||||||
<return-type type="void"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="duration" type="guint64"/>
|
<parameter name="duration" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetInpoint" cname="ges_timeline_element_set_inpoint">
|
<method name="SetInpoint" cname="ges_timeline_element_set_inpoint">
|
||||||
<return-type type="void"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="inpoint" type="guint64"/>
|
<parameter name="inpoint" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetMaxDuration" cname="ges_timeline_element_set_max_duration">
|
<method name="SetMaxDuration" cname="ges_timeline_element_set_max_duration">
|
||||||
<return-type type="void"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="maxduration" type="guint64"/>
|
<parameter name="maxduration" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -2822,13 +2810,13 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetPriority" cname="ges_timeline_element_set_priority" deprecated="true">
|
<method name="SetPriority" cname="ges_timeline_element_set_priority" deprecated="true">
|
||||||
<return-type type="void"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="priority" type="guint32"/>
|
<parameter name="priority" type="guint32"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetStart" cname="ges_timeline_element_set_start">
|
<method name="SetStart" cname="ges_timeline_element_set_start">
|
||||||
<return-type type="void"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter name="start" type="guint64"/>
|
<parameter name="start" type="guint64"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
@ -3519,8 +3507,18 @@
|
||||||
</field>
|
</field>
|
||||||
<field cname="discoverer" access="private" writeable="false" readable="false" is_callback="false" name="Discoverer" type="GstDiscoverer*"/>
|
<field cname="discoverer" access="private" writeable="false" readable="false" is_callback="false" name="Discoverer" type="GstDiscoverer*"/>
|
||||||
<field cname="sync_discoverer" access="private" writeable="false" readable="false" is_callback="false" name="SyncDiscoverer" type="GstDiscoverer*"/>
|
<field cname="sync_discoverer" access="private" writeable="false" readable="false" is_callback="false" name="SyncDiscoverer" type="GstDiscoverer*"/>
|
||||||
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="4"/>
|
<method vm="discovered"/>
|
||||||
|
<field cname="_ges_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gesGesReserved" type="gpointer" array="true" array_len="3"/>
|
||||||
</class_struct>
|
</class_struct>
|
||||||
|
<virtual_method name="Discovered" cname="discovered" shared="true">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="discoverer" type="GstDiscoverer*"/>
|
||||||
|
<parameter name="info" type="GstDiscovererInfo*"/>
|
||||||
|
<parameter name="err" type="GLib.Error"/>
|
||||||
|
<parameter closure="3" allow-none="1" name="user_data" type="gpointer"/>
|
||||||
|
</parameters>
|
||||||
|
</virtual_method>
|
||||||
<method name="SetTimeout" cname="ges_uri_clip_asset_class_set_timeout" shared="true">
|
<method name="SetTimeout" cname="ges_uri_clip_asset_class_set_timeout" shared="true">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3530,6 +3528,13 @@
|
||||||
<method name="GetType" cname="ges_uri_clip_asset_get_type" shared="true">
|
<method name="GetType" cname="ges_uri_clip_asset_get_type" shared="true">
|
||||||
<return-type type="GType"/>
|
<return-type type="GType"/>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="Finish" cname="ges_uri_clip_asset_finish" shared="true">
|
||||||
|
<return-type type="GESUriClipAsset*" owned="true"/>
|
||||||
|
<parameters throws="1">
|
||||||
|
<parameter name="res" type="GAsyncResult*"/>
|
||||||
|
<parameter name="error" type="GError**"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="New" cname="ges_uri_clip_asset_new" shared="true">
|
<method name="New" cname="ges_uri_clip_asset_new" shared="true">
|
||||||
<return-type type="void"/>
|
<return-type type="void"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3540,7 +3545,7 @@
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="RequestSync" cname="ges_uri_clip_asset_request_sync" shared="true">
|
<method name="RequestSync" cname="ges_uri_clip_asset_request_sync" shared="true">
|
||||||
<return-type type="GESUriClipAsset*"/>
|
<return-type type="GESUriClipAsset*" owned="true"/>
|
||||||
<parameters throws="1">
|
<parameters throws="1">
|
||||||
<parameter name="uri" type="const-gchar*"/>
|
<parameter name="uri" type="const-gchar*"/>
|
||||||
<parameter name="error" type="GError**"/>
|
<parameter name="error" type="GError**"/>
|
||||||
|
@ -3847,6 +3852,9 @@
|
||||||
<parameter name="error" type="GError**"/>
|
<parameter name="error" type="GError**"/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="IsInitialized" cname="ges_is_initialized" shared="true">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
<method name="ListAssets" cname="ges_list_assets" shared="true">
|
<method name="ListAssets" cname="ges_list_assets" shared="true">
|
||||||
<return-type type="GList*" element_type="GESAsset*" elements_owned="true"/>
|
<return-type type="GList*" element_type="GESAsset*" elements_owned="true"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
|
|
@ -15092,9 +15092,7 @@
|
||||||
<warning>missing glib:type-name</warning>
|
<warning>missing glib:type-name</warning>
|
||||||
</field>
|
</field>
|
||||||
<field cname="priv_planes_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivPlanesArr" type="gpointer" array="true" array_len="8"/>
|
<field cname="priv_planes_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivPlanesArr" type="gpointer" array="true" array_len="8"/>
|
||||||
<field cname="priv_map_infos_arr" access="private" writeable="false"
|
<field cname="priv_map_infos_arr" access="private" writeable="false" readable="false" is_callback="false" name="PrivMapInfosArr" type="GstMapInfo" array="true" array_len="8"/>
|
||||||
readable="false" is_callback="false"
|
|
||||||
name="PrivMapInfosArr" type="GstMapInfo" array="true" array_len="8"/>
|
|
||||||
<field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/>
|
<field cname="_gst_reserved" access="private" writeable="false" readable="false" is_callback="false" name="_gstGstReserved" type="gpointer" array="true" array_len="4"/>
|
||||||
<method name="Map" cname="gst_audio_buffer_map" version="1.16">
|
<method name="Map" cname="gst_audio_buffer_map" version="1.16">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
|
|
Loading…
Reference in a new issue