Skip to content

Commit

Permalink
Enable auto-retry
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev committed Oct 22, 2024
1 parent 6fa2ce5 commit 1f579e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/grabber/windows/DX/DxGrabber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ bool DxGrabber::init()

if (!autoDiscovery && !_deviceProperties.contains(_deviceName))
{
Error(_log, "User selected '%s' device is currently not available and the 'auto' discovery is disabled", QSTRING_CSTR(_deviceName));
_retryTimer->setInterval(5000);
_retryTimer->start();
Error(_log, "User selected '%s' device is currently not available and the 'auto' discovery is disabled. Retry in %.1f sec...", QSTRING_CSTR(_deviceName), _retryTimer->interval()/1000.0);
return false;
}

Expand Down

0 comments on commit 1f579e8

Please sign in to comment.