]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix Gst.Buffer subclassing
authorJürg Billeter <j@bitron.ch>
Mon, 15 Mar 2010 20:03:24 +0000 (21:03 +0100)
committerJürg Billeter <j@bitron.ch>
Mon, 15 Mar 2010 20:03:24 +0000 (21:03 +0100)
vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala

index 21e64362a361c414a4cbf6483b0d4da0ceeacfcf..67c83d31554e0b330db395829ca0e9d330068017 100644 (file)
@@ -73,6 +73,7 @@ namespace Gst {
                public uint64 offset_end;
                public weak Gst.Buffer parent;
                public Gst.ClockTime timestamp;
+               [CCode (has_construct_function = false)]
                public Buffer ();
                [CCode (has_construct_function = false)]
                public Buffer.and_alloc (uint size);
index f213aba4fe2b8ab957baecc4edb0ea6e1002cba6..258f0521e01bfabe0d22bd17bd0d798b0da8a6ca 100644 (file)
@@ -50,6 +50,7 @@ namespace Gst {
 
        [CCode (ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref")]
        public class Buffer : Gst.MiniObject {
+               [CCode (has_construct_function = false)]
                public Buffer ();
                public weak Buffer @ref ();
                public void unref ();