mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-27 04:06:30 +00:00
added device timeout error message
This commit is contained in:
@@ -427,6 +427,7 @@ int _device_wait_buffer(us_device_s *dev) {
|
||||
} else if (selected == 0) {
|
||||
if (!dev->persistent) {
|
||||
// Если устройство не персистентное, то таймаут является ошибкой
|
||||
_D_LOG_ERROR("Device select() timeout");
|
||||
return -1;
|
||||
}
|
||||
if (!run->persistent_timeout_reported) {
|
||||
|
||||
Reference in New Issue
Block a user