mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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:
parent
fbd1cbe006
commit
78aa922244
1 changed files with 2 additions and 0 deletions
|
@ -101,6 +101,8 @@ id3demux_read_id3v1_tag (GstBuffer * buffer, guint * id3v1_size,
|
|||
} else
|
||||
*tags = new_tags;
|
||||
|
||||
if (id3v1_size)
|
||||
*id3v1_size = ID3V1_TAG_SIZE;
|
||||
return ID3TAGS_READ_TAG;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue