]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Don't use the accessor method when accessing Gst.Pad:caps property
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 27 Mar 2010 10:02:31 +0000 (11:02 +0100)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 30 Mar 2010 06:24:42 +0000 (23:24 -0700)
Gst.Pad.get_caps() returns something completely different than the caps
property.

Fixes bug #608005.

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

index 1cbee580b67e70055eb97997a89b649ceb9f042f..140b07e7296c1e1b2099d753d972d7f9aa11646c 100644 (file)
@@ -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; }
index 9cd2a9acb30f90e0d53ecb77fca14cbc01803686..406f1191eeb862ebc2a725246dfc28d7dd1b4563 100644 (file)
@@ -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"