summaryrefslogtreecommitdiff
path: root/src/modules/module-virtual-source.c
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@digia.com>2011-02-24 16:16:41 +0200
committerColin Guthrie <cguthrie@mandriva.org>2011-02-26 10:39:38 +0000
commit1fda23c02cec2032306c1edf92f38ce3474c9bed (patch)
treef04caca1d702fd576815035ac2062107a2ffd705 /src/modules/module-virtual-source.c
parentd2d36beb801cc78b53ea1942634c158882604432 (diff)
virtual-sink/source: Use a more descriptive stream name.
Diffstat (limited to 'src/modules/module-virtual-source.c')
-rw-r--r--src/modules/module-virtual-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-virtual-source.c b/src/modules/module-virtual-source.c
index a2b073fae..2b27b0502 100644
--- a/src/modules/module-virtual-source.c
+++ b/src/modules/module-virtual-source.c
@@ -633,7 +633,7 @@ int pa__init(pa_module*m) {
/* FIXME
source_output_data.flags = PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND; */
- pa_proplist_sets(source_output_data.proplist, PA_PROP_MEDIA_NAME, "Virtual Source Stream");
+ pa_proplist_setf(source_output_data.proplist, PA_PROP_MEDIA_NAME, "Virtual Source Stream of %s", pa_proplist_gets(u->source->proplist, PA_PROP_DEVICE_DESCRIPTION));
pa_proplist_sets(source_output_data.proplist, PA_PROP_MEDIA_ROLE, "filter");
pa_source_output_new_data_set_sample_spec(&source_output_data, &ss);
pa_source_output_new_data_set_channel_map(&source_output_data, &map);