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

impl-endpoint{,-stream}: disable FEATURE_PROPS temporarily

parent 1afc4873
No related branches found
No related tags found
No related merge requests found
...@@ -450,10 +450,10 @@ wp_impl_endpoint_stream_activate_get_next_step (WpObject * object, ...@@ -450,10 +450,10 @@ wp_impl_endpoint_stream_activate_get_next_step (WpObject * object,
WP_SESSION_ITEM (self->item), WP_TYPE_NODE); WP_SESSION_ITEM (self->item), WP_TYPE_NODE);
/* if the item has a node, cache its props so that enum_params works */ /* if the item has a node, cache its props so that enum_params works */
if (node && !(wp_object_get_active_features (node) & // if (node && !(wp_object_get_active_features (node) &
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS)) // WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS))
return STEP_ACTIVATE_NODE; // return STEP_ACTIVATE_NODE;
else // else
return WP_PIPEWIRE_OBJECT_MIXIN_STEP_BIND; return WP_PIPEWIRE_OBJECT_MIXIN_STEP_BIND;
} }
/* cache info if supported */ /* cache info if supported */
...@@ -490,7 +490,7 @@ wp_impl_endpoint_stream_activate_execute_step (WpObject * object, ...@@ -490,7 +490,7 @@ wp_impl_endpoint_stream_activate_execute_step (WpObject * object,
WP_SESSION_ITEM (self->item), WP_TYPE_NODE); WP_SESSION_ITEM (self->item), WP_TYPE_NODE);
wp_object_activate (node, wp_object_activate (node,
WP_PROXY_FEATURE_BOUND | WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS, WP_PROXY_FEATURE_BOUND /*| WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS */,
NULL, (GAsyncReadyCallback) wp_impl_endpoint_stream_node_activated, NULL, (GAsyncReadyCallback) wp_impl_endpoint_stream_node_activated,
transition); transition);
break; break;
......
...@@ -966,10 +966,10 @@ wp_impl_endpoint_activate_get_next_step (WpObject * object, ...@@ -966,10 +966,10 @@ wp_impl_endpoint_activate_get_next_step (WpObject * object,
WP_SESSION_ITEM (self->item), WP_TYPE_NODE); WP_SESSION_ITEM (self->item), WP_TYPE_NODE);
/* if the item has a node, cache its props so that enum_params works */ /* if the item has a node, cache its props so that enum_params works */
if (node && !(wp_object_get_active_features (node) & // if (node && !(wp_object_get_active_features (node) &
WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS)) // WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS))
return STEP_ACTIVATE_NODE; // return STEP_ACTIVATE_NODE;
else // else
return WP_PIPEWIRE_OBJECT_MIXIN_STEP_BIND; return WP_PIPEWIRE_OBJECT_MIXIN_STEP_BIND;
} }
/* enable FEATURE_STREAMS when there is nothing else left to activate */ /* enable FEATURE_STREAMS when there is nothing else left to activate */
...@@ -1008,7 +1008,7 @@ wp_impl_endpoint_activate_execute_step (WpObject * object, ...@@ -1008,7 +1008,7 @@ wp_impl_endpoint_activate_execute_step (WpObject * object,
WP_SESSION_ITEM (self->item), WP_TYPE_NODE); WP_SESSION_ITEM (self->item), WP_TYPE_NODE);
wp_object_activate (node, wp_object_activate (node,
WP_PROXY_FEATURE_BOUND | WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS, WP_PROXY_FEATURE_BOUND /*| WP_PIPEWIRE_OBJECT_FEATURE_PARAM_PROPS */,
NULL, (GAsyncReadyCallback) wp_impl_endpoint_node_activated, NULL, (GAsyncReadyCallback) wp_impl_endpoint_node_activated,
transition); transition);
break; break;
......
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