mad: remove id3tag dependency used by in practice unreachable legacy code
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 15 Aug 2011 15:23:04 +0000 (16:23 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 13 Sep 2011 18:40:12 +0000 (19:40 +0100)
commit56bd24365aecd05983a9f1d82aa2243b8ff6032a
tree006a22be210cbf92fa50dd1bb6e875c2709a0f1d
parenteee31aecb32c124c57c3e761722f349f27c78d7f
mad: remove id3tag dependency used by in practice unreachable legacy code

The mad mp3 decoder element shouldn't parse tags at all really, but we
have so far kept this code around for backwards-compatibility reasons
for people building manual pipelines for some reason. However, as it
turns out that code has never actually worked in 0.10 in practice,
since it only gets executed if mad_frame_decode() returns LOSTSYNC,
which doesn't actually seem to happen any more though because of the
preceding mad_header_decode(), which will discover and report the
sync loss if it runs into a tag and make mad_frame_decode() try to
resync right away.

Discovered this while trying to make it use gst_tag_list_from_id3v2_tag().
configure.ac
ext/mad/Makefile.am
ext/mad/gstmad.c
gst-plugins-ugly.spec.in