pull/41/head^2
Evgeny Talanin 13 years ago
parent b91ca6a73f
commit 5dd1ec98f7
  1. 2
      modules/highgui/src/cap_libv4l.cpp
  2. 2
      modules/highgui/src/cap_v4l.cpp

@ -1111,7 +1111,7 @@ static void mainloop_v4l2(CvCaptureCAM_V4L* capture) {
FD_SET (capture->deviceHandle, &fds);
/* Timeout. */
tv.tv_sec = 2;
tv.tv_sec = 10;
tv.tv_usec = 0;
r = select (capture->deviceHandle+1, &fds, NULL, NULL, &tv);

@ -1229,7 +1229,7 @@ static void mainloop_v4l2(CvCaptureCAM_V4L* capture) {
FD_SET (capture->deviceHandle, &fds);
/* Timeout. */
tv.tv_sec = 2;
tv.tv_sec = 10;
tv.tv_usec = 0;
r = select (capture->deviceHandle+1, &fds, NULL, NULL, &tv);

Loading…
Cancel
Save