mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-17 13:03:43 +00:00
fix
This commit is contained in:
@@ -185,7 +185,7 @@ int us_capture_open(us_capture_s *cap) {
|
|||||||
|
|
||||||
_LOG_DEBUG("Opening capture device ...");
|
_LOG_DEBUG("Opening capture device ...");
|
||||||
if ((run->fd = open(cap->path, O_RDWR | O_NONBLOCK)) < 0) {
|
if ((run->fd = open(cap->path, O_RDWR | O_NONBLOCK)) < 0) {
|
||||||
_LOG_PERROR("Can't capture open device");
|
_LOG_PERROR("Can't open capture device");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
_LOG_DEBUG("Capture device fd=%d opened", run->fd);
|
_LOG_DEBUG("Capture device fd=%d opened", run->fd);
|
||||||
|
|||||||
Reference in New Issue
Block a user