Skip to content
Snippets Groups Projects
Commit 8b2d8c90 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

endpoint proxy: don't try to set a control value if the proxy is destroyed

parent 67cb633f
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment