diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-03-27 09:42:44 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-03-27 09:42:44 +0200 |
commit | a92e8026d8bbaf54cfddb147cc3da08e373525be (patch) | |
tree | 1053197aff9bde33d4a73947c25dfb6cd79d105c | |
parent | fadbe467554db51c5afdea64db107f689b938454 (diff) | |
download | vala-a92e8026d8bbaf54cfddb147cc3da08e373525be.tar.gz |
gstreamer-1.0: Fix Pad.set_*_function() bindings
https://bugzilla.gnome.org/show_bug.cgi?id=750838
-rw-r--r-- | vapi/gstreamer-1.0.vapi | 20 | ||||
-rw-r--r-- | vapi/metadata/Gst-1.0.metadata | 12 |
2 files changed, 22 insertions, 10 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index c321f9309..5d164ffd3 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -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 (); diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata index eb4c47c9b..dbafd3687 100644 --- a/vapi/metadata/Gst-1.0.metadata +++ b/vapi/metadata/Gst-1.0.metadata @@ -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 |