port: don't keep port_info around but make copy

This commit is contained in:
Wim Taymans 2018-10-08 13:00:18 +02:00
parent e1ec1bad23
commit 63333adca3
4 changed files with 15 additions and 11 deletions

View file

@ -403,7 +403,7 @@ struct pw_port {
enum pw_direction direction; /**< port direction */
uint32_t port_id; /**< port id */
const struct spa_port_info *spa_info;
struct spa_port_info spa_info;
struct pw_properties *properties; /**< properties of the port */
struct pw_port_info info;