[vala] gstreamer-0.10: Fix gst_bus_post binding



commit 11df72a45c56d1468ac77578611fa971bed988e5
Author: Ali Sabil <ali sabil gmail com>
Date:   Wed Mar 25 10:35:40 2009 +0100

    gstreamer-0.10: Fix gst_bus_post binding
    
    Message parameter of gst_bus_post takes ownership.
---
 vapi/gstreamer-0.10.vapi                           |    2 +-
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 872ee0a..4027657 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -121,7 +121,7 @@ namespace Gst {
 		public Gst.Message poll (Gst.MessageType events, Gst.ClockTimeDiff timeout);
 		public Gst.Message pop ();
 		public Gst.Message pop_filtered (Gst.MessageType types);
-		public bool post (Gst.Message message);
+		public bool post (owned Gst.Message message);
 		public void remove_signal_watch ();
 		public void set_flushing (bool flushing);
 		public void set_sync_handler (Gst.BusSyncHandler func);
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index cffe2d2..c7d6378 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -40,6 +40,7 @@ gst_bus_peek transfer_ownership="1"
 gst_bus_poll transfer_ownership="1"
 gst_bus_pop transfer_ownership="1"
 gst_bus_pop_filtered transfer_ownership="1"
+gst_bus_post.message takes_ownership="1"
 gst_bus_timed_pop transfer_ownership="1"
 gst_bus_timed_pop_filtered transfer_ownership="1"
 gst_caps_copy transfer_ownership="1"



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