[CCode (ref_function = "gst_caps_ref", unref_function = "gst_caps_unref", cheader_filename = "gst/gst.h")]
public class Caps {
public Gst.CapsFlags flags;
- public int refcount;
- public weak GLib.PtrArray structs;
- public GLib.Type type;
[CCode (has_construct_function = false)]
public Caps.any ();
- public void append (Gst.Caps caps2);
+ public void append (owned Gst.Caps caps2);
public void append_structure (owned Gst.Structure structure);
public bool can_intersect (Gst.Caps caps2);
public Gst.Caps copy ();
public Caps.full_valist (Gst.Structure structure, void* var_args);
public uint get_size ();
public unowned Gst.Structure get_structure (uint index);
- public unowned Gst.Caps intersect (Gst.Caps caps2);
+ public Gst.Caps intersect (Gst.Caps caps2);
public bool is_always_compatible (Gst.Caps caps2);
public bool is_any ();
public bool is_empty ();
public bool is_equal (Gst.Caps caps2);
public bool is_equal_fixed (Gst.Caps caps2);
public bool is_fixed ();
+ [CCode (cname = "GST_CAPS_IS_SIMPLE")]
+ public bool is_simple ();
public bool is_subset (Gst.Caps superset);
- public static unowned Gst.Caps load_thyself (void* parent);
+ public static Gst.Caps load_thyself (void* parent);
[ReturnsModifiedPointer]
public void make_writable ();
- public void merge (Gst.Caps caps2);
- public void merge_structure (Gst.Structure structure);
- public unowned Gst.Caps normalize ();
- public unowned Gst.Caps @ref ();
+ public void merge (owned Gst.Caps caps2);
+ public void merge_structure (owned Gst.Structure structure);
+ public Gst.Caps normalize ();
+ public Gst.Caps @ref ();
public void remove_structure (uint idx);
- public void replace (Gst.Caps newcaps);
public void* save_thyself (void* parent);
public void set_simple (string field, ...);
public void set_simple_valist (string field, void* varargs);
public void set_value (string field, Gst.Value value);
[CCode (has_construct_function = false)]
public Caps.simple (string media_type, string fieldname, ...);
- public unowned Gst.Caps subtract (Gst.Caps subtrahend);
+ public Gst.Caps subtract (Gst.Caps subtrahend);
public string to_string ();
public void truncate ();
public Gst.Caps union (Gst.Caps caps2);
gst_bus_timed_pop transfer_ownership="1" nullable="1"
gst_bus_timed_pop_filtered transfer_ownership="1" nullable="1"
gst_bus_create_watch transfer_ownership="1"
-gst_caps_append_structure.structure transfer_ownership="1"
+GstCaps.type hidden="1"
+GstCaps.structs hidden="1"
+GstCaps.refcount hidden="1"
+gst_caps_append_structure.structure value_owned="1"
+gst_caps_append.caps2 value_owned="1"
+gst_caps_merge.caps2 value_owned="1"
+gst_caps_merge_structure.structure value_owned="1"
gst_caps_copy transfer_ownership="1"
gst_caps_copy_nth transfer_ownership="1"
gst_caps_from_string transfer_ownership="1"
gst_caps_new_simple ellipsis="1"
gst_caps_set_simple ellipsis="1"
gst_caps_union transfer_ownership="1"
+gst_caps_intersect transfer_ownership="1"
+gst_caps_normalize transfer_ownership="1"
+gst_caps_subtract transfer_ownership="1"
+gst_caps_load_thyself transfer_ownership="1"
gst_caps_to_string transfer_ownership="1"
+gst_caps_replace hidden="1"
GstChildProxy::child_added has_emitter="1"
GstChildProxy::child_removed has_emitter="1"
GstClockTime hidden="1"