diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-02-12 03:39:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-02-12 03:39:56 +0100 |
commit | 1837a96e645149bf09ed09aa2f1d276ad608e749 (patch) | |
tree | a7335402f64a4895f41eb02538e26c2cb41f339b /src/pulsecore/source.c | |
parent | f0cc23d6e5dd9ce718e66978d7de2dbc94ded537 (diff) |
call _kill functions instead of _unlink since the latter should only be called be the stream implementor
Diffstat (limited to 'src/pulsecore/source.c')
-rw-r--r-- | src/pulsecore/source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c index c31c89c3..0009d85c 100644 --- a/src/pulsecore/source.c +++ b/src/pulsecore/source.c @@ -458,7 +458,7 @@ void pa_source_move_all_finish(pa_source *s, pa_queue *q, pa_bool_t save) { while ((o = PA_SOURCE_OUTPUT(pa_queue_pop(q)))) { if (pa_source_output_finish_move(o, s, save) < 0) - pa_source_output_unlink(o); + pa_source_output_kill(o); pa_source_output_unref(o); } @@ -473,7 +473,7 @@ void pa_source_move_all_fail(pa_queue *q) { while ((o = PA_SOURCE_OUTPUT(pa_queue_pop(q)))) { if (pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_MOVE_FAIL], o) == PA_HOOK_OK) { - pa_source_output_unlink(o); + pa_source_output_kill(o); pa_source_output_unref(o); } } |