mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-18 17:05:06 +00:00
VNC-151 update test cases
This commit is contained in:
parent
8a6093685e
commit
44fc20cbbc
1 changed files with 4 additions and 1 deletions
|
|
@ -60,7 +60,10 @@ namespace rfb::video_encoders {
|
|||
}
|
||||
|
||||
available_encoders.shrink_to_fit();
|
||||
best_encoder = available_encoders.front();
|
||||
if (available_encoders.empty())
|
||||
best_encoder = KasmVideoEncoders::Encoder::unavailable;
|
||||
else
|
||||
best_encoder = available_encoders.front();
|
||||
}
|
||||
|
||||
KasmVideoEncoders::Encoders EncoderProbe::probe(const char *dri_node) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue