libgsttag: don't extract genres from empty ID3v1 tags
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 6 Jun 2009 01:15:05 +0000 (02:15 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 6 Jun 2009 11:04:12 +0000 (12:04 +0100)
commit5da78c8489624236f54048b07bf8c931c543f679
tree18d895773a75fd46cb255d4aecc8c99a6aa8c7c6
parentef1030ee6e8f7ce8fbdd035c8e407c039e043da3
libgsttag: don't extract genres from empty ID3v1 tags

If we don't have any other info, don't try to interpret the
genre field. In particular we don't want to interpret a genre
of 0 as 'Blues' if no other fields are set and the entire tag
is just empty.
gst-libs/gst/tag/gstid3tag.c