#720 patch apply

This commit is contained in:
Evgeny Talanin 2012-10-12 14:25:36 +04:00
parent b91ca6a73f
commit 5dd1ec98f7
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);