From: Sebastian Dröge Date: Sat, 27 Mar 2010 10:02:31 +0000 (+0100) Subject: gstreamer: Don't use the accessor method when accessing Gst.Pad:caps property X-Git-Tag: 0.8.0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41df69cde674d9a3742bdfff3f38bcebfcd8305a;p=thirdparty%2Fvala.git gstreamer: Don't use the accessor method when accessing Gst.Pad:caps property Gst.Pad.get_caps() returns something completely different than the caps property. Fixes bug #608005. --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 1cbee580b..140b07e72 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -889,7 +889,8 @@ namespace Gst { public bool stop_task (); public bool unlink (Gst.Pad sinkpad); public void use_fixed_caps (); - public Gst.Caps caps { get; } + [NoAccessorMethod] + public Gst.Caps caps { owned get; } public Gst.PadDirection direction { get; construct; } [NoAccessorMethod] public Gst.PadTemplate template { owned get; set; } diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata index 9cd2a9acb..406f1191e 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata @@ -201,6 +201,7 @@ gst_object_ref hidden="1" gst_object_unref hidden="1" gst_object_replace hidden="1" GstPad.querytypefunc hidden="1" +GstPad:caps accessor_method="0" gst_pad_add_buffer_probe hidden="1" gst_pad_add_buffer_probe_full hidden="1" gst_pad_add_data_probe hidden="1"