From 944f330eb3a656df996192c5b4a73cd030bf2dbb Mon Sep 17 00:00:00 2001 From: JohannesItten Date: Thu, 9 Jul 2026 19:07:59 +0300 Subject: [PATCH] fixes errors --- nodes/pip/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodes/pip/main.cpp b/nodes/pip/main.cpp index 17877d8..02ed452 100644 --- a/nodes/pip/main.cpp +++ b/nodes/pip/main.cpp @@ -152,12 +152,15 @@ class PiPNode : public dmf::NodeBase { } index++; - } else if (st == MXL_ERR_TIMEOUT) { + } else if (st == MXL_ERR_TIMEOUT || + st == MXL_ERR_OUT_OF_RANGE_TOO_EARLY || + st == MXL_ERR_OUT_OF_RANGE_TOO_LATE) { timeout_count++; const uint64_t current = mxlGetCurrentIndex(&rate); index = (current > index) ? current : index + 1; if (timeout_count % 25 == 1) - log("sync timeout frames=%llu timeouts=%llu", frame_count, timeout_count); + log("sync stall (%s) frames=%llu count=%llu", + dmf::mxl_status_str(st), frame_count, timeout_count); } else { log("sync error (%s) at index=%llu", dmf::mxl_status_str(st), index);