mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: map stream index to endpoint
This commit is contained in:
parent
8335c50e1e
commit
2fddfb02bd
4 changed files with 15 additions and 5 deletions
|
|
@ -1493,7 +1493,7 @@ static void sink_input_callback(struct sink_input_data *d)
|
|||
if (info == NULL)
|
||||
return;
|
||||
|
||||
s = find_stream(d->context, g->id);
|
||||
s = find_stream(d->context, g->endpoint_info.node_id);
|
||||
|
||||
if (info->props) {
|
||||
if ((name = spa_dict_lookup(info->props, PW_KEY_MEDIA_NAME)) == NULL &&
|
||||
|
|
@ -1793,7 +1793,7 @@ static void source_output_callback(struct source_output_data *d)
|
|||
if (info == NULL)
|
||||
return;
|
||||
|
||||
s = find_stream(d->context, g->id);
|
||||
s = find_stream(d->context, g->endpoint_info.node_id);
|
||||
|
||||
name = info->name;
|
||||
if (name == NULL && info->props) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue