mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 08:40:28 +00:00
screen win: sleep 2 seconds after registration
It seems like there is slight delay before it can be used and since the child process is started immmediately, wait for 2 secons to ensure.
This commit is contained in:
@@ -231,6 +231,7 @@ static int register_screen_cap_rec_library(bool is_elevated) {
|
||||
if ((INT_PTR) ret > 32) {
|
||||
log_msg(LOG_LEVEL_NOTICE, MOD_NAME "Module installation successful.\n");
|
||||
log_msg(LOG_LEVEL_NOTICE, MOD_NAME "If you want to unregister the module, run 'uv -t screen:unregister'.\n");
|
||||
sleep(2);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user