GNOME Bugzilla – Bug 578699
gst_tag_list_foreach binding: wrong pointer type
Last modified: 2018-05-22 13:19:52 UTC
Please describe the problem: warning: passing argument 2 of ‘gst_tag_list_foreach’ from incompatible pointer type 'GstTagList* list' should be 'const GstTagList* list'. Steps to reproduce: 1. Compile the attached testcase.vala Actual results: Expected results: Does this happen every time? Other information: I'll try to write a patch, if someone can hint me to a documentation of the metadata file syntax.
Created attachment 132507 [details] testcase
Comment on attachment 132507 [details] testcase >using GLib; >using Gst; > >static int main(string[] args) { > Gst.init(ref args); > > var tag_list = new Gst.TagList.empty(); > > tag_list.foreach (process_tag); > > return 0; >} > >void process_tag (Gst.TagList list, string tag) { > >} > >// valac -o testcase testcase.vala --pkg gstreamer-0.10
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/30.