impl-port: avoid recalculating latency on destroying port

Fixes a crash.

Fixes #1371
This commit is contained in:
Wim Taymans 2021-06-30 09:34:46 +02:00
parent 0436793299
commit 27b9f469b5
2 changed files with 27 additions and 29 deletions

View file

@ -824,6 +824,7 @@ struct pw_impl_port {
struct spa_list node_link;
} rt; /**< data only accessed from the data thread */
unsigned int added:1;
unsigned int destroying:1;
struct spa_latency_info latency[2]; /**< latencies */
unsigned int have_latency_param:1;