public bool RemoveControlBinding(Gst.ControlBinding binding) { bool raw_ret = gst_object_remove_control_binding(Handle, binding == null ? IntPtr.Zero : binding.Handle); bool ret = raw_ret; return(ret); }
void InvokeNative(Gst.ControlBinding binding, double src_value, GLib.Value dest_value) { IntPtr native_dest_value = GLib.Marshaller.StructureToPtrAlloc(dest_value); native_cb(binding == null ? IntPtr.Zero : binding.Handle, src_value, native_dest_value); Marshal.FreeHGlobal(native_dest_value); }
public Gst.ControlBinding GetControlBinding(string property_name) { IntPtr native_property_name = GLib.Marshaller.StringToPtrGStrdup(property_name); IntPtr raw_ret = ges_track_element_get_control_binding(Handle, native_property_name); Gst.ControlBinding ret = GLib.Object.GetObject(raw_ret) as Gst.ControlBinding; GLib.Marshaller.Free(native_property_name); return(ret); }
private void InternalControlBindingRemoved(Gst.ControlBinding control_binding) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray(2); GLib.Value[] vals = new GLib.Value [2]; vals [0] = new GLib.Value(this); inst_and_params.Append(vals [0]); vals [1] = new GLib.Value(control_binding); inst_and_params.Append(vals [1]); g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) { v.Dispose(); } }
protected virtual void OnControlBindingRemoved(Gst.ControlBinding control_binding) { InternalControlBindingRemoved(control_binding); }