Browse Source

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.
jpark37 5 years ago
parent
commit
477f90620d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/win-capture/window-capture.c

+ 1 - 0
plugins/win-capture/window-capture.c

@@ -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)) {