gstreamer/gst/icydemux
Tim-Philipp Müller 06972db7b6 icydemux: fix tag list handling issues that might have caused crashes
Fix slightly confused tag handling in some places: make it clear when
we're taking ownership of a tag list and when not. For example,
gst_icydemux_tag_found() was taking ownership when the source pad
existed, but otherwise not (leak). Also, gst_event_parse_tag() does
not return a newly-allocated taglist, but a tag list that belongs to
the tag event, so don't give ownership of it away.

While we're at it, some minor clean-ups: don't re-invent g_strndup()
and simplify gst_icydemux_parse_and_send_tags() a bit, and don't
leak the tag list in case no valid tags where found.

https://bugzilla.gnome.org/show_bug.cgi?id=641330
2011-02-21 11:03:03 +00:00
..
gsticydemux.c icydemux: fix tag list handling issues that might have caused crashes 2011-02-21 11:03:03 +00:00
gsticydemux.h icydemux: Handle upstream Content-Type. 2010-03-23 19:48:24 +01:00
Makefile.am build: Makefile.am cleanups 2010-03-18 21:34:24 +00:00