From: Jürg Billeter Date: Mon, 15 Mar 2010 20:03:24 +0000 (+0100) Subject: gstreamer-0.10: Fix Gst.Buffer subclassing X-Git-Tag: 0.8.0~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b47f2c54e13b751af26e17a50f4f456d10ca083;p=thirdparty%2Fvala.git gstreamer-0.10: Fix Gst.Buffer subclassing --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 21e64362a..67c83d315 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -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); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala index f213aba4f..258f0521e 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala @@ -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 ();