client-node: only update info when change_mask set

This commit is contained in:
Wim Taymans 2019-02-14 17:48:56 +01:00
parent 755d7ca329
commit 0d8821096a

View file

@ -1029,7 +1029,8 @@ client_node_port_update(void *data,
n_params, params,
info);
if (this->callbacks && this->callbacks->port_info && info)
if (this->callbacks && this->callbacks->port_info &&
info && (change_mask & PW_CLIENT_NODE_PORT_UPDATE_INFO))
this->callbacks->port_info(this->callbacks_data, direction, port_id, info);
}
}