make bitfields unsigned

Remove driver property from client-node of client-stream.
This commit is contained in:
Wim Taymans 2019-04-10 17:52:42 +02:00
parent 787900e8bf
commit 092a0c660d
19 changed files with 64 additions and 59 deletions

View file

@ -111,8 +111,8 @@ struct port {
struct spa_port_info info;
struct pw_properties *properties;
int have_format:1;
int removed:1;
unsigned int have_format:1;
unsigned int removed:1;
uint32_t n_params;
struct spa_pod **params;

View file

@ -1262,6 +1262,7 @@ struct pw_client_stream *pw_client_stream_new(struct pw_resource *resource,
struct pw_client *client = pw_resource_get_client(resource);
struct pw_core *core = pw_client_get_core(client);
const struct spa_support *support;
struct pw_properties *props;
uint32_t n_support;
const char *name;
@ -1275,10 +1276,13 @@ struct pw_client_stream *pw_client_stream_new(struct pw_resource *resource,
pw_log_debug("client-stream %p: new", impl);
props = pw_properties_copy(properties);
pw_properties_set(props, "node.driver", NULL);
impl->client_node = pw_client_node_new(
resource,
parent,
pw_properties_copy(properties),
props,
false);
if (impl->client_node == NULL)
goto error_no_node;