mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
win-capture: Reset WGC fail flag for new window
WGC will give up on a window that it fails to capture, but that shouldn't stop it from attempting to capture new windows. Fixes #2928.
This commit is contained in:
@@ -421,6 +421,7 @@ static void wc_tick(void *data, float seconds)
|
||||
return;
|
||||
}
|
||||
|
||||
wc->previously_failed = false;
|
||||
reset_capture = true;
|
||||
|
||||
} else if (IsIconic(wc->window)) {
|
||||
|
||||
Reference in New Issue
Block a user