mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl-port: only send latency param when supported
Check if the port has latency param and only try to set the latency param when it appears available. This avoids sending unknown latency params to an old client and erroring out.
This commit is contained in:
parent
98353560da
commit
c803444123
2 changed files with 9 additions and 3 deletions
|
|
@ -793,6 +793,7 @@ struct pw_impl_port {
|
|||
unsigned int added:1;
|
||||
|
||||
struct spa_latency_info latency[2]; /**< latencies */
|
||||
unsigned int have_latency_param:1;
|
||||
|
||||
void *owner_data; /**< extra owner data */
|
||||
void *user_data; /**< extra user data */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue