diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-13 17:15:32 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-13 17:27:54 +0100 |
commit | b5f6acbf43104734df8245bd6b619556fe8f43b1 (patch) | |
tree | 0f36a2af107a599690bda4475ad5d6cccf497b2f /src | |
parent | de97cce689cb7214d7424c2a215693cef5f4b04a (diff) | |
download | pa-sink-ctl-b5f6acbf43104734df8245bd6b619556fe8f43b1.tar.gz pa-sink-ctl-b5f6acbf43104734df8245bd6b619556fe8f43b1.tar.bz2 pa-sink-ctl-b5f6acbf43104734df8245bd6b619556fe8f43b1.zip |
Output connection lost when context fails
Diffstat (limited to 'src')
-rw-r--r-- | src/pa-sink-ctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c index a8577f4..5c2f7f5 100644 --- a/src/pa-sink-ctl.c +++ b/src/pa-sink-ctl.c @@ -281,9 +281,8 @@ context_state_callback(pa_context *c, gpointer userdata) interface_set_status(ctx, "ready to process events."); break; case PA_CONTEXT_FAILED: - interface_set_status(ctx, "cannot connect!"); + interface_set_status(ctx, "connection lost!"); break; - case PA_CONTEXT_TERMINATED: g_assert(ctx->op != NULL); pa_operation_cancel(ctx->op); |