mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 13:58:19 +02:00
endpoint proxy: don't try to set a control value if the proxy is destroyed
This commit is contained in:
parent
67cb633fb5
commit
8b2d8c90a2
1 changed files with 3 additions and 0 deletions
|
|
@ -395,6 +395,9 @@ wp_proxy_endpoint_set_control (WpEndpoint * endpoint, guint32 control_id,
|
|||
our spa_props will be updated by the param event */
|
||||
|
||||
pw_proxy = (struct pw_endpoint_proxy *) wp_proxy_get_pw_proxy (WP_PROXY (self));
|
||||
if (!pw_proxy)
|
||||
return FALSE;
|
||||
|
||||
pw_endpoint_proxy_set_param (pw_proxy,
|
||||
SPA_PARAM_Props, 0,
|
||||
spa_pod_builder_add_object (&b,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue