mirror of
https://github.com/pikvm/ustreamer.git
synced 2025-12-24 03:00:01 +00:00
improved logging on --exit-on-device-error
This commit is contained in:
parent
5f437b9a35
commit
777697dc1e
@ -604,7 +604,9 @@ static int _stream_init_loop(us_stream_s *stream) {
|
||||
return 0;
|
||||
|
||||
silent_error:
|
||||
US_ONCE({ US_LOG_INFO("Waiting for the capture device ..."); });
|
||||
if (!stream->exit_on_device_error) {
|
||||
US_ONCE({ US_LOG_INFO("Waiting for the capture device ..."); });
|
||||
}
|
||||
goto offline_and_retry;
|
||||
|
||||
verbose_error:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user