summaryrefslogtreecommitdiff
path: root/gst/gstcaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstcaps.h')
-rw-r--r--gst/gstcaps.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/gstcaps.h b/gst/gstcaps.h
index 4b09b8eb7..ddb487c3d 100644
--- a/gst/gstcaps.h
+++ b/gst/gstcaps.h
@@ -41,11 +41,14 @@ GST_EXPORT GType _gst_caps_type;
* GstCapsFlags:
* @GST_CAPS_FLAG_ANY: Caps has no specific content, but can contain
* anything.
+ * @GST_CAPS_FLAG_MIXED: the caps contains multiple format
+ * descriptions, the active format description is media dependent.
*
* Extra flags for a caps.
*/
typedef enum {
- GST_CAPS_FLAG_ANY = (GST_MINI_OBJECT_FLAG_LAST << 0)
+ GST_CAPS_FLAG_ANY = (GST_MINI_OBJECT_FLAG_LAST << 0),
+ GST_CAPS_FLAG_MIXED = (GST_MINI_OBJECT_FLAG_LAST << 1)
} GstCapsFlags;
/**
@@ -375,6 +378,8 @@ GstCaps * gst_caps_new_full (GstStructure *struct1,
...) G_GNUC_NULL_TERMINATED G_GNUC_WARN_UNUSED_RESULT;
GstCaps * gst_caps_new_full_valist (GstStructure *structure,
va_list var_args) G_GNUC_WARN_UNUSED_RESULT;
+GstCaps * gst_caps_new_mixed (GstStructure *struct1,
+ ...) G_GNUC_NULL_TERMINATED G_GNUC_WARN_UNUSED_RESULT;
GType gst_static_caps_get_type (void);
GstCaps * gst_static_caps_get (GstStaticCaps *static_caps);
@@ -421,6 +426,7 @@ void gst_caps_set_simple_valist (GstCaps *caps,
gboolean gst_caps_is_any (const GstCaps *caps);
gboolean gst_caps_is_empty (const GstCaps *caps);
gboolean gst_caps_is_fixed (const GstCaps *caps);
+gboolean gst_caps_is_mixed (const GstCaps *caps);
gboolean gst_caps_is_always_compatible (const GstCaps *caps1,
const GstCaps *caps2);
gboolean gst_caps_is_subset (const GstCaps *subset,