Пример #1
0
 static void ProbeProperty_cb(IntPtr inst, uint prop_id, IntPtr pspec)
 {
     try {
         PropertyProbeImplementor __obj = GLib.Object.GetObject(inst, false) as PropertyProbeImplementor;
         Gst.PropertyInfo         pi    = new Gst.PropertyInfo(pspec);
         __obj.ProbeProperty(pi.Name);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Пример #2
0
		static bool NeedsProbe_cb (IntPtr inst, uint prop_id, IntPtr pspec)
		{
			try {
				PropertyProbeImplementor __obj = Gst.GLib.Object.GetObject (inst, false) as PropertyProbeImplementor;
				Gst.PropertyInfo pi = new Gst.PropertyInfo (pspec);
				bool __result = __obj.NeedsProbe (pi.Name);
				return __result;
			} catch (Exception e) {
				Gst.GLib.ExceptionManager.RaiseUnhandledException (e, true);
				// NOTREACHED: above call does not return.
				throw e;
			}
		}
Пример #3
0
 static bool NeedsProbe_cb(IntPtr inst, uint prop_id, IntPtr pspec)
 {
     try {
         PropertyProbeImplementor __obj = GLib.Object.GetObject(inst, false) as PropertyProbeImplementor;
         Gst.PropertyInfo         pi    = new Gst.PropertyInfo(pspec);
         bool __result = __obj.NeedsProbe(pi.Name);
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Пример #4
0
        static IntPtr GetValues_cb(IntPtr inst, uint prop_id, IntPtr pspec)
        {
            try {
                PropertyProbeImplementor __obj = GLib.Object.GetObject(inst, false) as PropertyProbeImplementor;
                Gst.PropertyInfo         pi    = new Gst.PropertyInfo(pspec);
                object[]        values         = __obj.GetValues(pi.Name);
                GLib.ValueArray va             = new GLib.ValueArray((uint)values.Length);

                foreach (object v in values)
                {
                    va.Append(new GLib.Value(v));
                }
                return(va.Handle);
            } catch (Exception e) {
                GLib.ExceptionManager.RaiseUnhandledException(e, false);
                // NOTREACHED: above call does not return.
                throw e;
            }
        }
Пример #5
0
		static IntPtr GetValues_cb (IntPtr inst, uint prop_id, IntPtr pspec)
		{
			try {
				PropertyProbeImplementor __obj = Gst.GLib.Object.GetObject (inst, false) as PropertyProbeImplementor;
				Gst.PropertyInfo pi = new Gst.PropertyInfo (pspec);
				object[] values = __obj.GetValues (pi.Name);
				Gst.GLib.ValueArray va = new Gst.GLib.ValueArray ((uint) values.Length);

				foreach (object v in values)
					va.Append (new Gst.GLib.Value (v));
				return va.Handle;
			} catch (Exception e) {
				Gst.GLib.ExceptionManager.RaiseUnhandledException (e, false);
				// NOTREACHED: above call does not return.
				throw e;
			}
		}
Пример #6
0
		static void ProbeProperty_cb (IntPtr inst, uint prop_id, IntPtr pspec)
		{
			try {
				PropertyProbeImplementor __obj = Gst.GLib.Object.GetObject (inst, false) as PropertyProbeImplementor;
				Gst.PropertyInfo pi = new Gst.PropertyInfo (pspec);
				__obj.ProbeProperty (pi.Name);
			} catch (Exception e) {
				Gst.GLib.ExceptionManager.RaiseUnhandledException (e, false);
			}
		}
Пример #7
0
static bool Bind_cb (IntPtr inst, IntPtr pspec) {
  try {
    ControlSource __obj = Gst.GLib.Object.GetObject (inst, false) as ControlSource;
    Gst.PropertyInfo pinfo = new Gst.PropertyInfo (pspec);
    return __obj.OnBind (pinfo);
  } catch (Exception e) {
    Gst.GLib.ExceptionManager.RaiseUnhandledException (e, false);
    return false;
  }
}