mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-30 17:49:07 +00:00
timeout pop
This commit is contained in:
parent
cddb4ef5b8
commit
03ec372b6e
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user