sample-cache: use the sample name as unmodified fallback in the properties when playi...
authorLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2010 15:23:25 +0000 (16:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2010 16:48:50 +0000 (17:48 +0100)
src/pulsecore/core-scache.c

index 1fb81d0..95aaa10 100644 (file)
@@ -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;