From b83eef32e5f4e2aa7e3397656bd7cb1e2f5d0ba3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Corentin=20No=C3=ABl?= Date: Thu, 17 Jan 2019 15:02:42 +0100 Subject: [PATCH] gstreamer-1.0: Add Gst.StaticCaps constants --- vapi/metadata/Gst-1.0-custom.vala | 7 +++++++ 1 file changed, 7 insertions(+) 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 { public unowned T? peek (); -- 2.47.2