Encode with nvenc smoothly
This commit is contained in:
parent
c21038af88
commit
7edaa0cce0
6 changed files with 228 additions and 127 deletions
|
|
@ -331,6 +331,10 @@ void gamepad(input_t &input, int nr, const gamepad_state_t &gamepad_state) {
|
|||
}
|
||||
}
|
||||
|
||||
int thread_priority() {
|
||||
return SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST) ? 0 : 1;
|
||||
}
|
||||
|
||||
void freeInput(void *p) {
|
||||
auto vigem = (vigem_t*)p;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue