mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-31 02:41:55 +00:00
pop instantly
This commit is contained in:
parent
5ec9a55745
commit
3ffd73f3d3
@ -1805,7 +1805,7 @@ namespace video {
|
||||
|
||||
// Encode at a minimum of 10 FPS to avoid image quality issues with static content
|
||||
if (!requested_idr_frame || images->peek()) {
|
||||
if (auto img = images->pop(100ms)) {
|
||||
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