From: Corentin Noël Date: Thu, 17 Jan 2019 14:02:42 +0000 (+0100) Subject: gstreamer-1.0: Add Gst.StaticCaps constants X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fkeep-around%2Fb83eef32e5f4e2aa7e3397656bd7cb1e2f5d0ba3;p=thirdparty%2Fvala.git gstreamer-1.0: Add Gst.StaticCaps constants --- 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 ();