diff options
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 5 | ||||
-rw-r--r-- | sys/v4l2/v4l2src_calls.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 141fb7bb..5455056b 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -1245,13 +1245,8 @@ gst_v4l2src_get_read (GstV4l2Src * v4l2src, GstBuffer ** 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 } amount = v4l2_read (v4l2src->v4l2object->video_fd, GST_BUFFER_DATA (*buf), diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c index 3459aa1d..b472dc77 100644 --- a/sys/v4l2/v4l2src_calls.c +++ b/sys/v4l2/v4l2src_calls.c @@ -1003,13 +1003,8 @@ gst_v4l2src_grab_frame (GstV4l2Src * v4l2src, GstBuffer ** 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) |