mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
we reinit proplist since the server will copy from client proplist anyway
This commit is contained in:
parent
62818b8e57
commit
15e9b968e1
1 changed files with 1 additions and 3 deletions
|
|
@ -66,10 +66,8 @@ int pa_stream_connect_upload(pa_stream *s, size_t length) {
|
||||||
pa_tagstruct_put_channel_map(t, &s->channel_map);
|
pa_tagstruct_put_channel_map(t, &s->channel_map);
|
||||||
pa_tagstruct_putu32(t, (uint32_t) length);
|
pa_tagstruct_putu32(t, (uint32_t) length);
|
||||||
|
|
||||||
if (s->context->version >= 13) {
|
if (s->context->version >= 13)
|
||||||
pa_init_proplist(s->proplist);
|
|
||||||
pa_tagstruct_put_proplist(t, s->proplist);
|
pa_tagstruct_put_proplist(t, s->proplist);
|
||||||
}
|
|
||||||
|
|
||||||
pa_pstream_send_tagstruct(s->context->pstream, t);
|
pa_pstream_send_tagstruct(s->context->pstream, t);
|
||||||
pa_pdispatch_register_reply(s->context->pdispatch, tag, DEFAULT_TIMEOUT, pa_create_stream_callback, s, NULL);
|
pa_pdispatch_register_reply(s->context->pdispatch, tag, DEFAULT_TIMEOUT, pa_create_stream_callback, s, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue