Ejemplo n.º 1
0
		static void FindBestFormat_cb (IntPtr inst, IntPtr downstream_caps, IntPtr best_info, bool at_least_one_alpha)
		{
			try {
				VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator;
				__obj.OnFindBestFormat (downstream_caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (downstream_caps, typeof (Gst.Caps), false), best_info == IntPtr.Zero ? null : (Gst.Video.VideoInfo) GLib.Opaque.GetOpaque (best_info, typeof (Gst.Video.VideoInfo), false), at_least_one_alpha);
			} catch (Exception e) {
				GLib.ExceptionManager.RaiseUnhandledException (e, false);
			}
		}
Ejemplo n.º 2
0
		static IntPtr UpdateCaps_cb (IntPtr inst, IntPtr caps)
		{
			try {
				VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator;
				Gst.Caps __result;
				__result = __obj.OnUpdateCaps (caps == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (caps, typeof (Gst.Caps), false));
				return __result == null ? IntPtr.Zero : __result.OwnedCopy;
			} catch (Exception e) {
				GLib.ExceptionManager.RaiseUnhandledException (e, true);
				// NOTREACHED: above call does not return.
				throw e;
			}
		}
Ejemplo n.º 3
0
		static int CreateOutputBuffer_cb (IntPtr inst, IntPtr outbuffer)
		{
			try {
				VideoAggregator __obj = GLib.Object.GetObject (inst, false) as VideoAggregator;
				Gst.FlowReturn __result;
				__result = __obj.OnCreateOutputBuffer (outbuffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (outbuffer, typeof (Gst.Buffer), false));
				return (int) __result;
			} catch (Exception e) {
				GLib.ExceptionManager.RaiseUnhandledException (e, true);
				// NOTREACHED: above call does not return.
				throw e;
			}
		}