diff options
author | Omair Majid <omajid@redhat.com> | 2008-09-10 17:07:50 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-11 00:37:27 +0300 |
commit | 2ab4bb76b217e481cf28cff0138726d9a7672895 (patch) | |
tree | 9fda37fff49743c85c2ae668bb39b1cb4c75e7cc | |
parent | f6670a1f2e0407e22226713bdf6fc6db68383b68 (diff) |
fix pa_stream_set_name
This patch fixes a bug in pa_stream_set_name. It uses the media.name
property instead of the application.name property when setting a
stream's name
>From aa1bda11d2084365cb0cec57f37d59f07ab80052 Mon Sep 17 00:00:00 2001
From: Omair Majid <omajid@redhat.com>
Date: Wed, 10 Sep 2008 17:02:28 -0400
Subject: [PATCH] Fix bug in pa_stream_set_name
Signed-off-by: Lennart Poettering <lennart@poettering.net>
-rw-r--r-- | src/pulse/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/stream.c b/src/pulse/stream.c index 6890b7a1..ababe176 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -1851,7 +1851,7 @@ pa_operation* pa_stream_set_name(pa_stream *s, const char *name, pa_stream_succe if (s->context->version >= 13) { pa_proplist *p = pa_proplist_new(); - pa_proplist_sets(p, PA_PROP_APPLICATION_NAME, name); + pa_proplist_sets(p, PA_PROP_MEDIA_NAME, name); o = pa_stream_proplist_update(s, PA_UPDATE_REPLACE, p, cb, userdata); pa_proplist_free(p); } else { |