mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Fix loading dummy image in the sync encoding path
This commit is contained in:
@@ -1880,6 +1880,12 @@ namespace video {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
// Load the initial image to prepare for encoding
|
||||
if (session->convert(img)) {
|
||||
BOOST_LOG(error) << "Could not convert initial image"sv;
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
encode_session.session = std::move(session);
|
||||
|
||||
return encode_session;
|
||||
|
||||
Reference in New Issue
Block a user