Beispiel #1
0
 static void BufferConsumed_cb(IntPtr inst, IntPtr _object)
 {
     try {
         AggregatorPad __obj = GLib.Object.GetObject(inst, false) as AggregatorPad;
         __obj.OnBufferConsumed(_object == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(_object, typeof(Gst.Buffer), false));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Beispiel #2
0
 static int Flush_cb(IntPtr inst, IntPtr aggregator)
 {
     try {
         AggregatorPad  __obj = GLib.Object.GetObject(inst, false) as AggregatorPad;
         Gst.FlowReturn __result;
         __result = __obj.OnFlush(GLib.Object.GetObject(aggregator) as Gst.Base.Aggregator);
         return((int)__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Beispiel #3
0
 static bool SkipBuffer_cb(IntPtr inst, IntPtr aggregator, IntPtr buffer)
 {
     try {
         AggregatorPad __obj = GLib.Object.GetObject(inst, false) as AggregatorPad;
         bool          __result;
         __result = __obj.OnSkipBuffer(GLib.Object.GetObject(aggregator) as Gst.Base.Aggregator, buffer == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(buffer, typeof(Gst.Buffer), false));
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }