Browse Source

Swap reconnect parameters

Fixes a bug where it would use the max retries for the delay time and
vise-versa.
jp9000 11 years ago
parent
commit
df3623b478
1 changed files with 2 additions and 2 deletions
  1. 2 2
      obs/window-basic-main.cpp

+ 2 - 2
obs/window-basic-main.cpp

@@ -1776,8 +1776,8 @@ void OBSBasic::on_streamButton_clicked()
 		if (!reconnect)
 			maxRetries = 0;
 
-		obs_output_set_reconnect_settings(streamOutput, retryDelay,
-				maxRetries);
+		obs_output_set_reconnect_settings(streamOutput, maxRetries,
+				retryDelay);
 
 		if (obs_output_start(streamOutput)) {
 			activeRefs++;