[vala/wip/tintou/gst-static-caps] gstreamer-1.0: Add Gst.StaticCaps constants



commit b83eef32e5f4e2aa7e3397656bd7cb1e2f5d0ba3
Author: Corentin Noël <corentin noel collabora com>
Date:   Thu Jan 17 15:02:42 2019 +0100

    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<T> {
                public unowned T? peek<T> ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]