]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix GstCoreError binding
authorJürg Billeter <j@bitron.ch>
Tue, 15 Dec 2009 18:19:39 +0000 (19:19 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 15 Dec 2009 18:19:39 +0000 (19:19 +0100)
Fixes bug 604601.

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index 543a8765494a5d3d77e0b36e8c67d2bca5f07628..427dd1c7a1a4442d31b08a398ed1d04c0d7c28b9 100644 (file)
@@ -1694,24 +1694,6 @@ namespace Gst {
                REALTIME,
                MONOTONIC
        }
-       [CCode (cprefix = "GST_CORE_ERROR_", cheader_filename = "gst/gst.h")]
-       public enum CoreError {
-               FAILED,
-               TOO_LAZY,
-               NOT_IMPLEMENTED,
-               STATE_CHANGE,
-               PAD,
-               THREAD,
-               NEGOTIATION,
-               EVENT,
-               SEEK,
-               CAPS,
-               TAG,
-               MISSING_PLUGIN,
-               CLOCK,
-               DISABLED,
-               NUM_ERRORS
-       }
        [CCode (cprefix = "GST_DEBUG_", cheader_filename = "gst/gst.h")]
        public enum DebugColorFlags {
                FG_BLACK,
@@ -2161,6 +2143,24 @@ namespace Gst {
                SINK,
                SRC
        }
+       [CCode (cprefix = "GST_CORE_ERROR_", cheader_filename = "gst/gst.h")]
+       public errordomain CoreError {
+               FAILED,
+               TOO_LAZY,
+               NOT_IMPLEMENTED,
+               STATE_CHANGE,
+               PAD,
+               THREAD,
+               NEGOTIATION,
+               EVENT,
+               SEEK,
+               CAPS,
+               TAG,
+               MISSING_PLUGIN,
+               CLOCK,
+               DISABLED,
+               NUM_ERRORS,
+       }
        [CCode (cheader_filename = "gst/gst.h")]
        public delegate unowned Gst.Buffer BufferListDoFunction (Gst.Buffer buffer);
        [CCode (cheader_filename = "gst/gst.h")]
index d7b65c74fd2daa6a57944f614fca38a74fb3087d..0841a3acb87da69aed06d150df9d4072a46acb1e 100644 (file)
@@ -59,6 +59,7 @@ GstClockTime hidden="1"
 GstClockTimeDiff hidden="1"
 GstControlSource.get_value hidden="1"
 GstControlSource.get_value_array hidden="1"
+GstCoreError errordomain="1"
 GstDebugLevel to_string="gst_debug_level_get_name"
 gst_debug_level_get_name hidden="1"
 GstElement::no_more_pads has_emitter="1"