timeout pop

This commit is contained in:
pigeatgarlic 2024-04-15 21:17:37 +07:00
parent cddb4ef5b8
commit 03ec372b6e

View File

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