]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Fix Pad.set_*_function() bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 27 Mar 2017 07:42:44 +0000 (09:42 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 27 Mar 2017 07:42:44 +0000 (09:42 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=750838

vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index c321f9309c6b350f1aada8f264d26913bea54002..5d164ffd383942a8c6b5021156fd1e2eff56677f 100644 (file)
@@ -1818,30 +1818,30 @@ namespace Gst {
                public void remove_probe (ulong id);
                public bool send_event (owned Gst.Event event);
                [CCode (cname = "gst_pad_set_activate_function_full")]
-               public void set_activate_function (owned Gst.PadActivateFunction activate);
+               public void set_activate_function (Gst.PadActivateFunction activate, void* user_data = null, GLib.DestroyNotify? notify = null);
                [CCode (cname = "gst_pad_set_activatemode_function_full")]
-               public void set_activatemode_function (owned Gst.PadActivateModeFunction activatemode);
+               public void set_activatemode_function (Gst.PadActivateModeFunction activatemode, void* user_data = null, GLib.DestroyNotify? notify = null);
                public bool set_active (bool active);
                [CCode (cname = "gst_pad_set_chain_function_full")]
-               public void set_chain_function (owned Gst.PadChainFunction chain);
+               public void set_chain_function (Gst.PadChainFunction chain, void* user_data = null, GLib.DestroyNotify? notify = null);
                [CCode (cname = "gst_pad_set_chain_list_function_full")]
-               public void set_chain_list_function (owned Gst.PadChainListFunction chainlist);
+               public void set_chain_list_function (Gst.PadChainListFunction chainlist, void* user_data = null, GLib.DestroyNotify? notify = null);
                public void set_element_private (void* priv);
                [Version (since = "1.8")]
                public void set_event_full_function_full (owned Gst.PadEventFullFunction event);
                [CCode (cname = "gst_pad_set_event_function_full")]
-               public void set_event_function (owned Gst.PadEventFunction event);
+               public void set_event_function (Gst.PadEventFunction event, void* user_data = null, GLib.DestroyNotify? notify = null);
                [CCode (cname = "gst_pad_set_getrange_function_full")]
-               public void set_getrange_function (owned Gst.PadGetRangeFunction @get);
+               public void set_getrange_function (Gst.PadGetRangeFunction @get, void* user_data = null, GLib.DestroyNotify? notify = null);
                [CCode (cname = "gst_pad_set_iterate_internal_links_function_full")]
-               public void set_iterate_internal_links_function (owned Gst.PadIterIntLinkFunction iterintlink);
+               public void set_iterate_internal_links_function (Gst.PadIterIntLinkFunction iterintlink, void* user_data = null, GLib.DestroyNotify? notify = null);
                [CCode (cname = "gst_pad_set_link_function_full")]
-               public void set_link_function (owned Gst.PadLinkFunction link);
+               public void set_link_function (Gst.PadLinkFunction link, void* user_data = null, GLib.DestroyNotify? notify = null);
                public void set_offset (int64 offset);
                [CCode (cname = "gst_pad_set_query_function_full")]
-               public void set_query_function (owned Gst.PadQueryFunction query);
+               public void set_query_function (Gst.PadQueryFunction query, void* user_data = null, GLib.DestroyNotify? notify = null);
                [CCode (cname = "gst_pad_set_unlink_function_full")]
-               public void set_unlink_function (owned Gst.PadUnlinkFunction unlink);
+               public void set_unlink_function (Gst.PadUnlinkFunction unlink, void* user_data = null, GLib.DestroyNotify? notify = null);
                public bool start_task (owned Gst.TaskFunction func);
                public void sticky_events_foreach (Gst.PadStickyEventsForeachFunction foreach_func);
                public bool stop_task ();
index eb4c47c9bfb70814b4a128e37c33b5be893865ed..dbafd3687eba98ac7ce15df9582cedf2df45fcf2 100644 (file)
@@ -132,16 +132,28 @@ Element
 Pad
   .link skip
   .link_full name="link"
+  .set_activate_function_full.activate closure=-1 destroy=-1 owned=false
   .set_activate_function_full name="set_activate_function"
+  .set_activatemode_function_full.activatemode closure=-1 destroy=-1 owned=false
   .set_activatemode_function_full name="set_activatemode_function"
+  .set_chain_function_full.chain closure=-1 destroy=-1 owned=false
   .set_chain_function_full name="set_chain_function"
+  .set_chain_list_function_full.chainlist closure=-1 destroy=-1 owned=false
   .set_chain_list_function_full name="set_chain_list_function"
+  .set_event_function_full.event closure=-1 destroy=-1 owned=false
   .set_event_function_full name="set_event_function"
+  .set_getrange_function_full.get closure=-1 destroy=-1 owned=false
   .set_getrange_function_full name="set_getrange_function"
+  .set_iterate_internal_links_function_full.iterintlink closure=-1 destroy=-1 owned=false
   .set_iterate_internal_links_function_full name="set_iterate_internal_links_function"
+  .set_link_function_full.link closure=-1 destroy=-1 owned=false
   .set_link_function_full name="set_link_function"
+  .set_query_function_full.query closure=-1 destroy=-1 owned=false
   .set_query_function_full name="set_query_function"
+  .set_unlink_function_full.unlink closure=-1 destroy=-1 owned=false
   .set_unlink_function_full name="set_unlink_function"
+  .set_*.user_data nullable default=null
+  .set_*.notify nullable default=null
 parse_bin_from_description skip
 parse_bin_from_description_full name="parse_bin_from_description"
 parse_launch skip