summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.Base/Aggregator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst.Base/Aggregator.cs')
-rw-r--r--sources/generated/Gst.Base/Aggregator.cs44
1 files changed, 36 insertions, 8 deletions
diff --git a/sources/generated/Gst.Base/Aggregator.cs b/sources/generated/Gst.Base/Aggregator.cs
index df92bde..7f0ea82 100644
--- a/sources/generated/Gst.Base/Aggregator.cs
+++ b/sources/generated/Gst.Base/Aggregator.cs
@@ -35,6 +35,21 @@ namespace Gst.Base {
}
}
+ [GLib.Property ("min-upstream-latency")]
+ public ulong MinUpstreamLatency {
+ get {
+ GLib.Value val = GetProperty ("min-upstream-latency");
+ ulong ret = (ulong) val;
+ val.Dispose ();
+ return ret;
+ }
+ set {
+ GLib.Value val = new GLib.Value(value);
+ SetProperty("min-upstream-latency", val);
+ val.Dispose ();
+ }
+ }
+
[GLib.Property ("start-time")]
public ulong StartTime {
get {
@@ -779,14 +794,16 @@ namespace Gst.Base {
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
- delegate int UpdateSrcCapsNativeDelegate (IntPtr inst, IntPtr caps, IntPtr _ret);
+ delegate int UpdateSrcCapsNativeDelegate (IntPtr inst, IntPtr caps, out IntPtr _ret);
- static int UpdateSrcCaps_cb (IntPtr inst, IntPtr caps, IntPtr _ret)
+ static int UpdateSrcCaps_cb (IntPtr inst, IntPtr caps, out IntPtr _ret)
{
try {
Aggregator __obj = GLib.Object.GetObject (inst, false) as Aggregator;
Gst.FlowReturn __result;
- __result = __obj.OnUpdateSrcCaps (caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (caps, typeof (Gst.Caps), false), _ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (_ret, typeof (Gst.Caps), false));
+ Gst.Caps my_ret;
+ __result = __obj.OnUpdateSrcCaps (caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (caps, typeof (Gst.Caps), false), out my_ret);
+ _ret = my_ret == null ? IntPtr.Zero : my_ret.Handle;
return (int) __result;
} catch (Exception e) {
GLib.ExceptionManager.RaiseUnhandledException (e, true);
@@ -796,21 +813,23 @@ namespace Gst.Base {
}
[GLib.DefaultSignalHandler(Type=typeof(Gst.Base.Aggregator), ConnectionMethod="OverrideUpdateSrcCaps")]
- protected virtual Gst.FlowReturn OnUpdateSrcCaps (Gst.Caps caps, Gst.Caps _ret)
+ protected virtual Gst.FlowReturn OnUpdateSrcCaps (Gst.Caps caps, out Gst.Caps _ret)
{
- return InternalUpdateSrcCaps (caps, _ret);
+ return InternalUpdateSrcCaps (caps, out _ret);
}
- private Gst.FlowReturn InternalUpdateSrcCaps (Gst.Caps caps, Gst.Caps _ret)
+ private Gst.FlowReturn InternalUpdateSrcCaps (Gst.Caps caps, out Gst.Caps _ret)
{
UpdateSrcCapsNativeDelegate unmanaged = null;
unsafe {
IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("update_src_caps"));
unmanaged = (UpdateSrcCapsNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(UpdateSrcCapsNativeDelegate));
}
- if (unmanaged == null) return (Gst.FlowReturn) 0;
+ if (unmanaged == null) throw new InvalidOperationException ("No base method to invoke");
- int __result = unmanaged (this.Handle, caps == null ? IntPtr.Zero : caps.Handle, _ret == null ? IntPtr.Zero : _ret.Handle);
+ IntPtr native__ret;
+ int __result = unmanaged (this.Handle, caps == null ? IntPtr.Zero : caps.Handle, out native__ret);
+ _ret = native__ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (native__ret, typeof (Gst.Caps), true);
return (Gst.FlowReturn) __result;
}
@@ -1274,6 +1293,15 @@ namespace Gst.Base {
}
}
+ [DllImport("libgstbase-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern ulong gst_aggregator_simple_get_next_time(IntPtr raw);
+
+ public ulong SimpleGetNextTime() {
+ ulong raw_ret = gst_aggregator_simple_get_next_time(Handle);
+ ulong ret = raw_ret;
+ return ret;
+ }
+
static Aggregator ()
{