mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
ptpclock: Fix wrong condition order from last commit
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2171>
This commit is contained in:
parent
5926da85ba
commit
83a0232225
1 changed files with 2 additions and 2 deletions
|
@ -1386,8 +1386,8 @@ update_mean_path_delay (PtpDomainData * domain, PtpPendingSync * sync)
|
|||
if (sync->follow_up_recv_time_local != GST_CLOCK_TIME_NONE &&
|
||||
domain->mean_path_delay != 0
|
||||
&& sync->follow_up_recv_time_local >
|
||||
MAX (100 * GST_MSECOND,
|
||||
sync->sync_recv_time_local + 20 * domain->mean_path_delay)) {
|
||||
sync->sync_recv_time_local + MAX (100 * GST_MSECOND,
|
||||
20 * domain->mean_path_delay)) {
|
||||
GST_WARNING ("Sync-follow-up delay for domain %u too big: %" GST_TIME_FORMAT
|
||||
" > MAX(100ms, 20 * %" GST_TIME_FORMAT ")", domain->domain,
|
||||
GST_TIME_ARGS (sync->follow_up_recv_time_local -
|
||||
|
|
Loading…
Reference in a new issue