mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-rtp: Fix typo in check for lagging sender
This commit is contained in:
parent
088d8011f2
commit
c143e89118
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ static void ptp_sender_process(void *d, struct spa_io_position *position)
|
||||||
|
|
||||||
/* If send is lagging by more than 2 or more quanta, reset */
|
/* If send is lagging by more than 2 or more quanta, reset */
|
||||||
if (!impl->refilling && impl->rtp_last_ts &&
|
if (!impl->refilling && impl->rtp_last_ts &&
|
||||||
SPA_ABS((int32_t)ptp_timestamp - (int32_t)impl->rtp_last_ts) >= (int32_t)(2 * quantum)) {
|
SPA_ABS((int32_t)rtp_timestamp - (int32_t)impl->rtp_last_ts) >= (int32_t)(2 * quantum)) {
|
||||||
pw_log_warn("expected %u - timestamp %u = %d >= 2 * %"PRIu64" quantum", rtp_timestamp, impl->rtp_last_ts,
|
pw_log_warn("expected %u - timestamp %u = %d >= 2 * %"PRIu64" quantum", rtp_timestamp, impl->rtp_last_ts,
|
||||||
(int)rtp_timestamp - (int)impl->rtp_last_ts, quantum);
|
(int)rtp_timestamp - (int)impl->rtp_last_ts, quantum);
|
||||||
goto resync;
|
goto resync;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue