pass destination source/sink when moving streams so that we can access them

This commit is contained in:
Lennart Poettering 2009-04-01 03:04:39 +02:00
parent c2f6d090c7
commit 75a8d18285
5 changed files with 24 additions and 20 deletions

View file

@ -1167,7 +1167,7 @@ int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, pa_bool_t save) {
new_resampler = NULL;
if (i->moving)
i->moving(i);
i->moving(i, dest);
i->sink = dest;
i->save_sink = save;