mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
media-session: only subscribe to readable params
This commit is contained in:
parent
6203fb967c
commit
13fd6be747
1 changed files with 2 additions and 1 deletions
|
|
@ -438,6 +438,7 @@ static void node_event_info(void *object, const struct pw_node_info *info)
|
||||||
case SPA_PARAM_PropInfo:
|
case SPA_PARAM_PropInfo:
|
||||||
case SPA_PARAM_Props:
|
case SPA_PARAM_Props:
|
||||||
case SPA_PARAM_EnumFormat:
|
case SPA_PARAM_EnumFormat:
|
||||||
|
if (info->params[i].flags & SPA_PARAM_INFO_READ)
|
||||||
subscribe[n_subscribe++] = info->params[i].id;
|
subscribe[n_subscribe++] = info->params[i].id;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue