sink-input, source-output: Fix stream rescue if a move fails
authorGeorg Chini <georg@chini.tk>
Thu, 16 Jan 2020 14:05:38 +0000 (15:05 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 16 Jan 2020 14:50:03 +0000 (16:50 +0200)
commitfe436f90998509d2c8e265bce0de4579408e9e3f
tree847b0e2a01f3adf28b393cbee1192c6d86368f04
parentcc21b75ab8c5ac6292bd0b022c6da805b66133a5
sink-input, source-output: Fix stream rescue if a move fails

Merge Requests [1] and [2] introduced a regression. Streams were no longer moved
to the default sink or source if a started move failed. This patch fixes the problem.

[1] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/209
[2] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/215

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/794
src/pulsecore/sink-input.c
src/pulsecore/source-output.c