[vala] gstreamer: Don't use the accessor method when accessing Gst.Pad:caps property



commit 41df69cde674d9a3742bdfff3f38bcebfcd8305a
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Sat Mar 27 11:02:31 2010 +0100

    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.

 vapi/gstreamer-0.10.vapi                           |    3 ++-
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 1cbee58..140b07e 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 9cd2a9a..406f119 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]