public void Merge (Structure s) { if (!IsWritable) throw new ApplicationException (); gst_caps_merge_structure (Handle, gst_structure_copy (s.Handle)); }
private void RemoveStructureReference (Structure s) { structures.Remove (s.Handle); s.CreateNativeCopy (); }
public Caps (Structure[] s) : this () { foreach (Structure o in s) Append (o); }
public Caps (Structure s) : this () { Append (s); }
// This function is called when an error message is posted on the bus static void HandleTags(object sender, GLib.SignalArgs args) { // We are possibly in the Gstreamer working thread, so we notify the main thread of this event through a message in the bus var s = new Structure ("tags-changed"); Playbin.PostMessage (new Message (Playbin, s)); }
public static Query NewApplication (Gst.QueryType type, Structure structure) { Query query = (Query) Gst.MiniObject.GetObject (gst_query_new_application (type, (structure != null) ? structure.Handle : IntPtr.Zero), true); query.cached_structure = structure; structure.FreeNative = false; return query; }