]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Add Gst.StaticCaps constants wip/tintou/gst-static-caps b83eef32e5f4e2aa7e3397656bd7cb1e2f5d0ba3 42/head
authorCorentin Noël <corentin.noel@collabora.com>
Thu, 17 Jan 2019 14:02:42 +0000 (15:02 +0100)
committerCorentin Noël <corentin.noel@collabora.com>
Thu, 17 Jan 2019 14:02:42 +0000 (15:02 +0100)
vapi/metadata/Gst-1.0-custom.vala

index a101f7c19349a5459f4e36c8b8194dc096970a61..006e63e6e65fe45f28467aaffb478e98d9c2372a 100644 (file)
@@ -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> ();