summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2019-01-17 15:02:42 +0100
committerCorentin Noël <corentin.noel@collabora.com>2019-01-17 15:02:42 +0100
commitb83eef32e5f4e2aa7e3397656bd7cb1e2f5d0ba3 (patch)
tree7da64a23a7c74406a12ec4f678accb27fd553f58
parent3d35558906a373b09b83e0a5f7041ffe5de0e57b (diff)
downloadvala-wip/tintou/gst-static-caps.tar.gz
gstreamer-1.0: Add Gst.StaticCaps constantswip/tintou/gst-static-caps
-rw-r--r--vapi/metadata/Gst-1.0-custom.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/vapi/metadata/Gst-1.0-custom.vala b/vapi/metadata/Gst-1.0-custom.vala
index a101f7c19..006e63e6e 100644
--- a/vapi/metadata/Gst-1.0-custom.vala
+++ b/vapi/metadata/Gst-1.0-custom.vala
@@ -120,6 +120,13 @@ namespace Gst {
public class TocEntry {
}
+ public struct StaticCaps {
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_STATIC_CAPS_ANY")]
+ public const Gst.StaticCaps ANY;
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_STATIC_CAPS_NONE")]
+ public const Gst.StaticCaps NONE;
+ }
+
[Compact, CCode (ref_function = "gst_atomic_queue_ref", type_id = "gst_atomic_queue_get_type ()", unref_function = "gst_atomic_queue_unref")]
public class AtomicQueue<T> {
public unowned T? peek<T> ();