diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-03-25 10:06:48 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-03-25 10:06:48 +0200 |
commit | 652a7fb91fb3a8601e40900953bfd311114b5001 (patch) | |
tree | a7882033db8fa61332f78bc8949f4a6c64493aa7 /sys | |
parent | cfb39dbb1b9d88dba45bbd85057fda5d0c06ae66 (diff) |
v4l2src: remove win32 ifdefs introduced by commit cff3f46760eac74c9bbd7a36aca44fedf327424b
V4l2src is under sys and does not exists/run under windows anyway.
Diffstat (limited to 'sys')
-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) |