stream-monitor: improve stream monitor

Monitor the node Props and PropInfo and update the endpoint when
they change.
This commit is contained in:
Wim Taymans 2019-11-26 17:52:51 +01:00
parent 8e24e57db0
commit 5b96e3a528
3 changed files with 156 additions and 82 deletions

View file

@ -60,7 +60,6 @@ struct endpoint {
struct pw_endpoint_info info;
struct spa_param_info params[5];
uint32_t n_params;
struct endpoint *monitor;
@ -284,7 +283,6 @@ static void complete_endpoint(void *data)
}
pw_client_endpoint_proxy_update(endpoint->client_endpoint,
PW_CLIENT_ENDPOINT_UPDATE_PARAMS |
PW_CLIENT_ENDPOINT_UPDATE_INFO,
0, NULL,
&endpoint->info);