]> code.delx.au - pulseaudio/commitdiff
fix bug about get source-output status
authorChen Rui <rui.chen@tieto.com>
Mon, 20 Dec 2010 01:42:17 +0000 (09:42 +0800)
committerColin Guthrie <cguthrie@mandriva.org>
Mon, 20 Dec 2010 11:31:15 +0000 (11:31 +0000)
src/modules/module-stream-restore.c

index 99bc3e69c17c42b46548c86cd3335d8a63384699..f8fecd891fecf46e0980fe042acee371fc869525 100644 (file)
@@ -1486,7 +1486,7 @@ static pa_hook_result_t source_put_hook_callback(pa_core *c, pa_source *source,
         if (!PA_SOURCE_OUTPUT_IS_LINKED(pa_source_output_get_state(so)))
             continue;
 
-        if (!(name = get_name(so->proplist, "source-input")))
+        if (!(name = get_name(so->proplist, "source-output")))
             continue;
 
         if ((e = read_entry(u, name))) {