pulse-server: place stream media.* keys as Tag

This commit is contained in:
Wim Taymans 2023-10-11 15:17:13 +02:00
parent b3f8df6dfc
commit 6d0613bc9a
3 changed files with 41 additions and 1 deletions

View file

@ -1820,6 +1820,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui
PW_STREAM_FLAG_MAP_BUFFERS,
params, n_params);
stream_update_tag_param(stream);
return 0;
error_errno:
@ -3215,7 +3217,8 @@ static int do_update_proplist(struct client *client, uint32_t command, uint32_t
if (stream == NULL || stream->type == STREAM_TYPE_UPLOAD)
return -ENOENT;
pw_stream_update_properties(stream->stream, &props->dict);
if (pw_stream_update_properties(stream->stream, &props->dict) > 0)
stream_update_tag_param(stream);
} else {
if (pw_properties_update(client->props, &props->dict) > 0) {
client_update_quirks(client);