mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl-port: only add the port when buffers are negotiated
To avoid crashes when the node is scheduled but buffer have been cleared. See #904
This commit is contained in:
parent
b5220c83da
commit
5f7910fcac
2 changed files with 22 additions and 7 deletions
|
|
@ -786,9 +786,10 @@ struct pw_impl_port {
|
|||
struct spa_list mix_list;
|
||||
struct spa_list node_link;
|
||||
} rt; /**< data only accessed from the data thread */
|
||||
unsigned int added:1;
|
||||
|
||||
void *owner_data; /**< extra owner data */
|
||||
void *user_data; /**< extra user data */
|
||||
void *owner_data; /**< extra owner data */
|
||||
void *user_data; /**< extra user data */
|
||||
};
|
||||
|
||||
struct pw_control_link {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue