V4l2src is under sys and does not exists/run under windows anyway.
if (G_UNLIKELY (ret < 0)) {
if (errno == EBUSY)
goto stopped;
-#ifdef G_OS_WIN32
- if (WSAGetLastError () != WSAEINTR)
- goto select_error;
-#else
if (errno != EAGAIN && errno != EINTR)
goto select_error;
-#endif
}
amount =
v4l2_read (v4l2src->v4l2object->video_fd, GST_BUFFER_DATA (*buf),
if (G_UNLIKELY (ret < 0)) {
if (errno == EBUSY)
goto stopped;
-#ifdef G_OS_WIN32
- if (WSAGetLastError () != WSAEINTR)
- goto select_error;
-#else
if (errno != EAGAIN && errno != EINTR)
goto select_error;
-#endif
}
if (v4l2_ioctl (v4l2src->v4l2object->video_fd, VIDIOC_DQBUF, &buffer) >= 0)