summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-21 16:23:25 +0100
committerWim Taymans <wtaymans@redhat.com>2014-04-02 14:38:21 +0200
commit846124397d794b06ad239a65a47b3ec134255cfe (patch)
tree5b1b428e0dd8e043825baf7f9de62b4d2b512351
parent972b1d53e506bdb3d86b4d0a1b3475e0d301dd4f (diff)
sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache
-rw-r--r--src/pulsecore/core-scache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/core-scache.c b/src/pulsecore/core-scache.c
index 1fb81d0db..95aaa1083 100644
--- a/src/pulsecore/core-scache.c
+++ b/src/pulsecore/core-scache.c
@@ -310,7 +310,8 @@ int pa_scache_play_item(pa_core *c, const char *name, pa_sink *sink, pa_volume_t
return -1;
merged = pa_proplist_new();
- pa_proplist_setf(merged, PA_PROP_MEDIA_NAME, "Sample %s", name);
+ pa_proplist_sets(merged, PA_PROP_MEDIA_NAME, name);
+ pa_proplist_sets(merged, PA_PROP_EVENT_ID, name);
if (e->lazy && !e->memchunk.memblock) {
pa_channel_map old_channel_map = e->channel_map;