stream: remove client_reuse

We can't have client-reuse with the client-node interface.
This commit is contained in:
Wim Taymans 2018-04-12 09:45:07 +02:00
parent 8b74a3c0d2
commit b07c4932cd
2 changed files with 12 additions and 17 deletions

View file

@ -136,8 +136,6 @@ struct node {
struct impl {
struct pw_client_node this;
bool client_reuse;
struct pw_core *core;
struct pw_type *t;
@ -1314,7 +1312,6 @@ struct pw_client_node *pw_client_node_new(struct pw_resource *resource,
const struct spa_support *support;
uint32_t n_support;
const char *name;
const char *str;
impl = calloc(1, sizeof(struct impl));
if (impl == NULL)
@ -1352,9 +1349,6 @@ struct pw_client_node *pw_client_node_new(struct pw_resource *resource,
this->node->remote = true;
str = pw_properties_get(properties, "pipewire.client.reuse");
impl->client_reuse = str && pw_properties_parse_bool(str);
pw_resource_add_listener(this->resource,
&impl->resource_listener,
&resource_events,