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 0c0c285e79
commit fb05059acf

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