stream-restore: be a little bit more verbose why we don't reastore a sink
authorLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2010 15:22:17 +0000 (16:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2010 16:48:46 +0000 (17:48 +0100)
src/modules/module-stream-restore.c

index 64a7fd3..c16a74c 100644 (file)
@@ -1278,7 +1278,7 @@ static pa_hook_result_t sink_input_new_hook_callback(pa_core *c, pa_sink_input_n
         return PA_HOOK_OK;
 
     if (new_data->sink)
-        pa_log_debug("Not restoring device for stream %s, because already set.", name);
+        pa_log_debug("Not restoring device for stream %s, because already set to '%s'.", name, new_data->sink->name);
     else if ((e = read_entry(u, name))) {
         pa_sink *s = NULL;