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:
Vincent Penquerc'h 2014-02-02 13:50:53 +00:00
parent 20b902fcfa
commit 0c01e9812a

View file

@ -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)