GNOME Bugzilla – Bug 352180
[0.11] [API] remove_data_probe() should *not* take gulong
Last modified: 2012-06-27 15:53:42 UTC
Some of the add callback functions are return ulong handler_id, whereas the remove functions are accepting uint handler_id as a parameter. Here is an example: gulong gst_pad_add_data_probe (GstPad *pad, GCallback handler, gpointer data); void gst_pad_remove_data_probe (GstPad *pad, guint handler_id); handler_id should either be int or long for both functions. Thank you. Other information: I have found at least 3 instances in GstPad class. Here is a link to the API: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html
Known issue (I thought there was already a bug for it, but didn't find it), will be changed in 0.11 when we can break API/ABI again.
*** Bug 580459 has been marked as a duplicate of this bug. ***
This is not using signals any longer, so there's no need for the gulong stuff. We want to get rid of "long" types in the API,l so should change it to int/uint.
Well, still would have preferred to get rid of the ulongs in the API, but at least they're consistent now in git master, so this bug can be considered FIXED I think: gulong gst_pad_add_probe (GstPad *pad, ...) void gst_pad_remove_probe (GstPad *pad, gulong id);