mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 23:14:46 +00:00
ext/mad/gstid3tag.c: remove v1 tag even if we can't read it (makes sure we don't detect it again)
Original commit message from CVS: 2004-02-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/mad/gstid3tag.c: (gst_id3_tag_chain): remove v1 tag even if we can't read it (makes sure we don't detect it again)
This commit is contained in:
parent
d688539ca9
commit
f4612bd30e
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-02-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
|
||||
remove v1 tag even if we can't read it (makes sure we don't detect
|
||||
it again)
|
||||
|
||||
2004-02-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_pcm_wait),
|
||||
|
|
|
@ -871,11 +871,9 @@ gst_id3_tag_chain (GstPad *pad, GstData *data)
|
|||
}
|
||||
} else {
|
||||
GST_WARNING_OBJECT (tag, "detected ID3v1 tag, but couldn't parse it");
|
||||
tag->v2tag_size = 0;
|
||||
}
|
||||
} else if (tag->v1tag_size != 0) {
|
||||
GST_WARNING_OBJECT (tag, "bad non-ID3v1 tag at end of file");
|
||||
tag->v1tag_size = 0;
|
||||
} else {
|
||||
GST_LOG_OBJECT (tag, "no ID3v1 tag (%"G_GUINT64_FORMAT")", GST_BUFFER_OFFSET (tag->buffer));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue