[Gstreamer-bugs] [Bug 143472] - gst_tag_list_foreach() takes a non-const GstTagList*

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon May 31 21:12:07 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=143472
GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From jyasskin at mail.utexas.edu  2004-06-01 00:12 -------
Created an attachment (id=28222)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=28222&action=view)
add_const_to_tag_list_foreach.diff

I think this patch is ok to apply to the stable branch because it won't break
any programs that currently work.

It's theoretically unsafe because it casts the GstTagList* argument to a
non-const GstStructure* to pass it to gst_structure_field_foreach(). But it's
actually ok because gst_structure_field_foreach() doesn't modify the structure.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list