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);