summaryrefslogtreecommitdiff
path: root/src/pa-sink-ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pa-sink-ctl.c')
-rw-r--r--src/pa-sink-ctl.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c
index c7aa748..db38688 100644
--- a/src/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
@@ -73,16 +73,12 @@ sink_input_info_cb(pa_context *c, const pa_sink_input_info *i,
}
if (is_last) {
- if (!ctx->block_for_selected_index)
- print_sink_list(ctx);
+ print_sink_list(ctx);
return;
}
if (!(i->client != PA_INVALID_INDEX)) return;
- if (ctx->block_for_selected_index && i->index == ctx->selected_index)
- ctx->block_for_selected_index = FALSE;
-
sink_input_info sink_input = {
.index = i->index,
.sink = i->sink,
@@ -117,8 +113,7 @@ sink_info_cb(pa_context *c, const pa_sink_info *i,
}
if (is_last) {
- if (!ctx->block_for_selected_index)
- print_sink_list(ctx);
+ print_sink_list(ctx);
return;
}