fix bug about get source-output status

This commit is contained in:
Chen Rui 2010-12-20 09:42:17 +08:00 committed by Colin Guthrie
parent 4269b05b97
commit 6f870f501d

View file

@ -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))) {