]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix GstMessage ownership in gst_bus_* bindings, patch by Sebastian
authorJürg Billeter <j@bitron.ch>
Sun, 11 Jan 2009 12:56:10 +0000 (12:56 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 11 Jan 2009 12:56:10 +0000 (12:56 +0000)
2009-01-11  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix GstMessage ownership in gst_bus_* bindings,
patch by Sebastian Pölsterl

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=2330

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

index 54e3fd2b34f5fb6069280d226f4c0322c2f5039f..6acd889fa7a298c9bc6e15695d4cc1b0ea36bc38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-01-11  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/packages/gstreamer-0.10/:
+
+       Fix GstMessage ownership in gst_bus_* bindings,
+       patch by Sebastian Pölsterl
+
+       * vapi/gstreamer-0.10.vapi: regenerated
+
 2009-01-11  Jürg Billeter  <j@bitron.ch>
 
        * vala/valamemberaccess.vala:
index 6c97571dac4d8bb02646c734f45988a87c910684..a1ec46311569bdca6d3869c83f98c352c6cc84bd 100644 (file)
@@ -117,18 +117,18 @@ namespace Gst {
                public bool have_pending ();
                [CCode (has_construct_function = false)]
                public Bus ();
-               public unowned Gst.Message peek ();
-               public unowned Gst.Message poll (Gst.MessageType events, Gst.ClockTimeDiff timeout);
-               public unowned Gst.Message pop ();
-               public unowned Gst.Message pop_filtered (Gst.MessageType types);
+               public Gst.Message peek ();
+               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 void remove_signal_watch ();
                public void set_flushing (bool flushing);
                public void set_sync_handler (Gst.BusSyncHandler func);
                [CCode (instance_pos = -1)]
                public Gst.BusSyncReply sync_signal_handler (Gst.Bus bus, Gst.Message message);
-               public unowned Gst.Message timed_pop (Gst.ClockTime timeout);
-               public unowned Gst.Message timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
+               public Gst.Message timed_pop (Gst.ClockTime timeout);
+               public Gst.Message timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
                public virtual signal void message (Gst.Message message);
                public virtual signal void sync_message (Gst.Message message);
        }
index 8c8935c523fc2738f8a213ccee7451bb1da4a7c4..f6bed8834735c0329db569fad70d47aa79423efd 100644 (file)
@@ -24,6 +24,12 @@ gst_bus_add_watch_full.func value_owned="1"
 gst_bus_add_watch_full.notify hidden="1"
 gst_bus_set_sync_handler.data hidden="1"
 gst_bus_sync_signal_handler hidden="1"
+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_timed_pop transfer_ownership="1"
+gst_bus_timed_pop_filtered transfer_ownership="1"
 gst_caps_new_simple ellipsis="1"
 gst_caps_new_full ellipsis="1"
 gst_caps_set_simple ellipsis="1"