Swap reconnect parameters

Fixes a bug where it would use the max retries for the delay time and
vise-versa.
master
jp9000 2014-07-04 13:21:11 -07:00
parent 6db5458f22
commit df3623b478
1 changed files with 2 additions and 2 deletions

View File

@ -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++;