public void SetProperty(string name, Element value)
        {
            OldGLib.Value val = new OldGLib.Value(OldGLib.GType.Object);
            val.Val = OldGLib.Object.GetObject(value.ToIntPtr());
            IntPtr native_name = OldGLib.Marshaller.StringToPtrGStrdup(name);

            g_object_set_property(raw, native_name, ref val);
            OldGLib.Marshaller.Free(native_name);
        }
 public void SetProperty(string name, Element value)
 {
     IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
     IntPtr native_value = value.ToIntPtr ();
     gst_util_set_object_arg (raw, native_name, native_value);
     GLib.Marshaller.Free (native_name);
 }
 public void SetProperty(string name, Element value)
 {
     OldGLib.Value val = new OldGLib.Value (OldGLib.GType.Object);
     val.Val = OldGLib.Object.GetObject (value.ToIntPtr ());
     IntPtr native_name = OldGLib.Marshaller.StringToPtrGStrdup (name);
     g_object_set_property (raw, native_name, ref val);
     OldGLib.Marshaller.Free (native_name);
 }
 public bool Link(Element dest)
 {
     bool ret = gst_element_link (raw, dest.ToIntPtr ());
     return ret;
 }
 public void Unlink(Element dest)
 {
     gst_element_unlink(raw, dest.ToIntPtr());
 }
 public void Unlink(Element dest)
 {
     gst_element_unlink (raw, dest.ToIntPtr ());
 }
        public bool Link(Element dest)
        {
            bool ret = gst_element_link(raw, dest.ToIntPtr());

            return(ret);
        }
Esempio n. 8
0
File: Bin.cs Progetto: h0rm/No.Noise
 public bool Add (Element element)
 {
     return gst_bin_add (raw, element.ToIntPtr ());
 }
Esempio n. 9
0
File: Bin.cs Progetto: h0rm/No.Noise
 public bool Remove (Element element)
 {
     return gst_bin_remove (raw, element.ToIntPtr ());
 }
Esempio n. 10
0
 public bool Remove(Element element)
 {
     return(gst_bin_remove(raw, element.ToIntPtr()));
 }
Esempio n. 11
0
 public bool Add(Element element)
 {
     return(gst_bin_add(raw, element.ToIntPtr()));
 }