From e68139079ded5c51c09f009a84a7aa25b1cce4d1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 11 Feb 2020 12:12:49 +0100 Subject: [PATCH] volume: set the right info flags for params --- spa/plugins/volume/volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/plugins/volume/volume.c b/spa/plugins/volume/volume.c index 3679388b1..27f23b5dc 100644 --- a/spa/plugins/volume/volume.c +++ b/spa/plugins/volume/volume.c @@ -808,7 +808,7 @@ impl_init(const struct spa_handle_factory *factory, port->direction = SPA_DIRECTION_INPUT; port->id = 0; port->info_all = SPA_PORT_CHANGE_MASK_FLAGS | - SPA_NODE_CHANGE_MASK_PARAMS; + SPA_PORT_CHANGE_MASK_PARAMS; port->info = SPA_PORT_INFO_INIT(); port->info.flags = SPA_PORT_FLAG_IN_PLACE; port->params[0] = SPA_PARAM_INFO(SPA_PARAM_EnumFormat, SPA_PARAM_INFO_READ); @@ -824,7 +824,7 @@ impl_init(const struct spa_handle_factory *factory, port->direction = SPA_DIRECTION_OUTPUT; port->id = 0; port->info_all = SPA_PORT_CHANGE_MASK_FLAGS | - SPA_NODE_CHANGE_MASK_PARAMS; + SPA_PORT_CHANGE_MASK_PARAMS; port->info = SPA_PORT_INFO_INIT(); port->info.flags = SPA_PORT_FLAG_NO_REF; port->params[0] = SPA_PARAM_INFO(SPA_PARAM_EnumFormat, SPA_PARAM_INFO_READ);