deinterleave: Reset caps accumulator to ANY when resyncing the adapter, not EMPTY
authorSebastian Dröge <sebastian@centricular.com>
Mon, 14 Nov 2016 15:37:51 +0000 (17:37 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Nov 2016 15:37:51 +0000 (17:37 +0200)
commit4f426f6f54987dc28c59b52faf419cd6ac5b13f2
tree716943716dc979646a72552c34f6efd9f7a81f1c
parent89ad2de93ec6b5834e2111e58fc77868033f7ada
deinterleave: Reset caps accumulator to ANY when resyncing the adapter, not EMPTY

The accumulator is filled by intersecting with all the pad caps, as such
it must be initialized with ANY (like it is before the iteration is
started) and not to EMPTY.

Fixes the CAPS query always returning EMPTY caps when resyncing happened
during the query, e.g. because pads were added/removed.
gst/interleave/deinterleave.c