#720 patch apply
This commit is contained in:
parent
b91ca6a73f
commit
5dd1ec98f7
@ -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…
Reference in New Issue
Block a user