diff options
author | Chen Rui <rui.chen@tieto.com> | 2010-12-20 09:42:17 +0800 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-12-20 11:30:49 +0000 |
commit | 6f870f501d8f6552b030ac417add865418e9098b (patch) | |
tree | 322426c6514fc09f9cb3d96e6be2d33e73acbfb3 | |
parent | 4269b05b975f453f5061cb83177520d95a2225ef (diff) |
fix bug about get source-output status
-rw-r--r-- | src/modules/module-stream-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c index 7458c905..0424cbf4 100644 --- a/src/modules/module-stream-restore.c +++ b/src/modules/module-stream-restore.c @@ -599,7 +599,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))) { |