tag: id3v2: Someone should kick my butt. Remove ID3v1 tags from the end of the file.

Original commit message from CVS:

* gst-libs/gst/tag/gstid3demux.c: (gst_id3demux_chain),
(gst_id3demux_read_id3v1), (gst_id3demux_sink_activate),
(gst_id3demux_send_tag_event):
* gst-libs/gst/tag/id3v2.c: (id3demux_read_id3v1_tag):
Someone should kick my butt. Remove ID3v1 tags from the end of the
file.

Improve error messages. Send the TAG message as soon as we complete
typefinding, instead of waiting until we send the first buffer.
Downstream tag event is still sent before the first buffer.
This commit is contained in:
Jan Schmidt 2006-01-30 23:13:05 +00:00 committed by Tim-Philipp Müller
parent fbd1cbe006
commit 78aa922244

View file

@ -101,6 +101,8 @@ id3demux_read_id3v1_tag (GstBuffer * buffer, guint * id3v1_size,
} else } else
*tags = new_tags; *tags = new_tags;
if (id3v1_size)
*id3v1_size = ID3V1_TAG_SIZE;
return ID3TAGS_READ_TAG; return ID3TAGS_READ_TAG;
} }