if a stream comes with now sensible properties attached, use common

fallback db entry.
This commit is contained in:
Lennart Poettering 2008-10-08 00:08:51 +02:00
parent 68cc2996cc
commit 9f4033d1c4

View file

@ -134,7 +134,7 @@ static char *get_name(pa_proplist *p, const char *prefix) {
else if ((r = pa_proplist_gets(p, PA_PROP_MEDIA_NAME)))
return pa_sprintf_malloc("%s-by-media-name:%s", prefix, r);
return NULL;
return pa_sprintf_malloc("%s-fallback:%s", prefix);
}
static struct entry* read_entry(struct userdata *u, char *name) {