Gst.PadProbeReturn InvokeNative(Gst.Pad pad, Gst.PadProbeInfo info)
        {
            IntPtr native_info = GLib.Marshaller.StructureToPtrAlloc(info);

            Gst.PadProbeReturn __result = (Gst.PadProbeReturn)native_cb(pad == null ? IntPtr.Zero : pad.Handle, native_info, __data);
            Marshal.FreeHGlobal(native_info);
            return(__result);
        }
Ejemplo n.º 2
0
 static void ReadNative(IntPtr native, ref Gst.PadProbeInfo target)
 {
     target = New(native);
 }