mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
wavparse: skip id32 tags
This allows decoding at least one sample where something has stuffed some ID3 tag before the (supposedly initial) FMT\ . https://bugzilla.gnome.org/show_bug.cgi?id=660249
This commit is contained in:
parent
cbbabd6ccc
commit
b33da78f72
1 changed files with 2 additions and 1 deletions
|
@ -1200,7 +1200,8 @@ gst_wavparse_stream_headers (GstWavParse * wav)
|
||||||
|
|
||||||
if (tag == GST_RIFF_TAG_JUNK || tag == GST_RIFF_TAG_JUNQ ||
|
if (tag == GST_RIFF_TAG_JUNK || tag == GST_RIFF_TAG_JUNQ ||
|
||||||
tag == GST_RIFF_TAG_bext || tag == GST_RIFF_TAG_BEXT ||
|
tag == GST_RIFF_TAG_bext || tag == GST_RIFF_TAG_BEXT ||
|
||||||
tag == GST_RIFF_TAG_LIST) {
|
tag == GST_RIFF_TAG_LIST || tag == GST_RIFF_TAG_ID32 ||
|
||||||
|
tag == GST_RIFF_TAG_IDVX) {
|
||||||
GST_DEBUG_OBJECT (wav, "skipping %" GST_FOURCC_FORMAT " chunk",
|
GST_DEBUG_OBJECT (wav, "skipping %" GST_FOURCC_FORMAT " chunk",
|
||||||
GST_FOURCC_ARGS (tag));
|
GST_FOURCC_ARGS (tag));
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
|
|
Loading…
Reference in a new issue