mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-12 21:51:28 +00:00
encode thread has highest priority
This commit is contained in:
parent
84c0d950dd
commit
5f11d441bf
@ -1735,7 +1735,7 @@ namespace video {
|
||||
auto hdr_event = mail->event<hdr_info_t>(mail::hdr);
|
||||
|
||||
// Encoding takes place on this thread
|
||||
platf::adjust_thread_priority(platf::thread_priority_e::high);
|
||||
platf::adjust_thread_priority(platf::thread_priority_e::critical);
|
||||
|
||||
while (!stopped && images->running()) {
|
||||
if(mail->event<bool>(mail::shutdown)->peek())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user