From 03ec372b6eaa594bbd12a19ff9f7d80c17ff2e6b Mon Sep 17 00:00:00 2001 From: pigeatgarlic <64737125+pigeatgarlic@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:17:37 +0700 Subject: [PATCH] timeout pop --- src/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.cpp b/src/video.cpp index c8cc32ef..b1164163 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -1835,7 +1835,7 @@ namespace video { } if (!requested_idr_frame || images->peek()) { - if (auto img = images->pop()) { + if (auto img = images->pop(1ms)) { frame_timestamp = img->frame_timestamp; if (session->convert(*img)) { BOOST_LOG(error) << "Could not convert image"sv;