summaryrefslogtreecommitdiffstats
path: root/src/modules/module-stream-restore.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-08 00:08:51 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-08 00:08:51 +0200
commit9f4033d1c40d6a4b81f88c45844c1da5ab0815f5 (patch)
tree9ba9a203be554f4e700e96663e9cde6efb22f54d /src/modules/module-stream-restore.c
parent68cc2996cc1e0bfe53d35eafdd26ce4572a10ce9 (diff)
if a stream comes with now sensible properties attached, use common
fallback db entry.
Diffstat (limited to 'src/modules/module-stream-restore.c')
-rw-r--r--src/modules/module-stream-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c
index fe79291e..e1381a5e 100644
--- a/src/modules/module-stream-restore.c
+++ b/src/modules/module-stream-restore.c
@@ -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) {