[gstreamer] Cannot use Gst.Iterator.find_custom
Submitted by Sebastian Pölsterl
Link to original bug (#685231)
Description
Created attachment 225514 Test case
The attached Vala code does not cause errors by valac, however when compiling the generated C code I get:
gsttest.vala.c:94:2: error: too few arguments to function 'gst_iterator_find_custom' In file included from /opt/gnome3/include/gstreamer-1.0/gst/gstformat.h:30:0, from /opt/gnome3/include/gstreamer-1.0/gst/gstevent.h:175, from /opt/gnome3/include/gstreamer-1.0/gst/gstpadtemplate.h:36, from /opt/gnome3/include/gstreamer-1.0/gst/gstpad.h:68, from /opt/gnome3/include/gstreamer-1.0/gst/gstelement.h:57, from /opt/gnome3/include/gstreamer-1.0/gst/gstbin.h:27, from /opt/gnome3/include/gstreamer-1.0/gst/gst.h:34, from /home/sebp/src/gnome/gnome-dvb-daemon/gsttest.vala.c:7: /opt/gnome3/include/gstreamer-1.0/gst/gstiterator.h:268:25: note: declared here error: cc exited with status 256
Looking at the C code it is obvious that the user_data parameter is missing (see http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstIterator.html#gst-iterator-find-custom)
Attachment 225514, "Test case":
gsttest.vala
Version: 0.20.x