make proplist inheritance scheme automatic and implicit

This commit is contained in:
Lennart Poettering 2009-01-15 20:27:07 +01:00
parent e68e4a57bf
commit 47a2b17d01
6 changed files with 12 additions and 4 deletions

View file

@ -158,6 +158,9 @@ pa_source* pa_source_new(
if (!data->muted_is_set)
data->muted = FALSE;
if (data->card)
pa_proplist_update(data->proplist, PA_UPDATE_MERGE, data->card->proplist);
if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_SOURCE_FIXATE], data) < 0) {
pa_xfree(s);
pa_namereg_unregister(core, name);