From 1837a96e645149bf09ed09aa2f1d276ad608e749 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 12 Feb 2009 03:39:56 +0100 Subject: call _kill functions instead of _unlink since the latter should only be called be the stream implementor --- src/pulsecore/sink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pulsecore/sink.c') diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index eadef809..4f39d671 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -519,7 +519,7 @@ void pa_sink_move_all_finish(pa_sink *s, pa_queue *q, pa_bool_t save) { while ((i = PA_SINK_INPUT(pa_queue_pop(q)))) { if (pa_sink_input_finish_move(i, s, save) < 0) - pa_sink_input_unlink(i); + pa_sink_input_kill(i); pa_sink_input_unref(i); } @@ -534,7 +534,7 @@ void pa_sink_move_all_fail(pa_queue *q) { while ((i = PA_SINK_INPUT(pa_queue_pop(q)))) { if (pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_MOVE_FAIL], i) == PA_HOOK_OK) { - pa_sink_input_unlink(i); + pa_sink_input_kill(i); pa_sink_input_unref(i); } } -- cgit