Browse Source

win-capture: Reset game cap. wait_for_target_startup on update

This flag should be reset when the user changes the game capture
settings.
jp9000 9 years ago
parent
commit
bd9980a206
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/win-capture/game-capture.c

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

@@ -336,6 +336,7 @@ static void game_capture_update(void *data, obs_data_t *settings)
 	gc->config = cfg;
 	gc->activate_hook = !!window && !!*window;
 	gc->retry_interval = DEFAULT_RETRY_INTERVAL;
+	gc->wait_for_target_startup = false;
 
 	if (!gc->initial_config) {
 		if (reset_capture) {