filter-apply: Ignore monitor source of filter in find_paired_master()
authorGeorg Chini <georg@chini.tk>
Sat, 10 Feb 2018 19:39:27 +0000 (20:39 +0100)
committerGeorg Chini <georg@chini.tk>
Sat, 10 Feb 2018 19:39:27 +0000 (20:39 +0100)
commit838d95dab7181cda950e4eace579ea7d32faf019
tree2c38e9457ffc70d17bb93bd30330d0f882c47e34
parentdfb0460fb4743aec047cdf755a660a9ac2d0f3fb
filter-apply: Ignore monitor source of filter in find_paired_master()

When module-filter-apply tries to find a matching source-output for
a given sink-input and a stream within the same group exists on the
monitor source of the filter, module-filter apply falsely assumes
that the source belongs to another instance of the filter and tries
to access source->output_from_master->source, which leads to a
segmentation fault.

This patch fixes the issue by ignoring the stream if the source is
the monitor source of the filter.
src/modules/module-filter-apply.c