mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
aiffparse: fix data start offset calculation not counting COMM size
In particular, this fixes seeking back to the start reading data out of sync with sample start granularity, yielding swapped channels.
This commit is contained in:
parent
20b902fcfa
commit
0c01e9812a
1 changed files with 1 additions and 0 deletions
|
@ -895,6 +895,7 @@ gst_aiff_parse_stream_headers (GstAiffParse * aiff)
|
|||
aiff->offset += 8;
|
||||
|
||||
buf = gst_adapter_take_buffer (aiff->adapter, size);
|
||||
aiff->offset += size;
|
||||
} else {
|
||||
if ((res = gst_aiff_parse_read_chunk (aiff,
|
||||
&aiff->offset, &tag, &buf)) != GST_FLOW_OK)
|
||||
|
|
Loading…
Reference in a new issue