wavpackparse: fix handling of correction streams
authorTim-Philipp Müller <tim@centricular.com>
Tue, 11 Sep 2018 23:52:19 +0000 (00:52 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 12 Sep 2018 00:05:05 +0000 (01:05 +0100)
commit0d88e3553aa585b1b803d43257602e08ba75ccf5
tree812ce1cbe9b862398401ce06fe59ff27ee0994e7
parent3da5144bbe9cd45b7cda1057fc51aa69b9213679
wavpackparse: fix handling of correction streams

Accept wavpack correction streams (.wvc) on sink pad, so
that wavpackparse can also be used to packetise correction
streams.

Fix parsing of subblock ID tags - the higher bits are
flags and are not part of the ID. This resulted in
correction blocks not being recognised properly and
the output not having the right (correction) caps.
gst/audioparsers/gstwavpackparse.c