[pulseaudio-commits] r2285 - /branches/glitch-free/src/pulse/stream.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun Apr 20 13:53:46 PDT 2008
Author: lennart
Date: Sun Apr 20 22:53:46 2008
New Revision: 2285
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2285&root=pulseaudio&view=rev
Log:
drop a redundant pa_init_proplist(), properly set MEDIA_NAME property on stream, not on context
Modified:
branches/glitch-free/src/pulse/stream.c
Modified: branches/glitch-free/src/pulse/stream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulse/stream.c?rev=2285&root=pulseaudio&r1=2284&r2=2285&view=diff
==============================================================================
--- branches/glitch-free/src/pulse/stream.c (original)
+++ branches/glitch-free/src/pulse/stream.c Sun Apr 20 22:53:46 2008
@@ -95,7 +95,7 @@
s->proplist = p ? pa_proplist_copy(p) : pa_proplist_new();
if (name)
- pa_proplist_sets(c->proplist, PA_PROP_MEDIA_NAME, name);
+ pa_proplist_sets(s->proplist, PA_PROP_MEDIA_NAME, name);
s->channel = 0;
s->channel_valid = 0;
@@ -843,8 +843,6 @@
else
pa_tagstruct_put_boolean(t, flags & PA_STREAM_PEAK_DETECT);
- pa_init_proplist(s->proplist);
-
pa_tagstruct_put(
t,
PA_TAG_BOOLEAN, flags & PA_STREAM_ADJUST_LATENCY,
More information about the pulseaudio-commits
mailing list