Commit 5dd1ec98 authored by Evgeny Talanin's avatar Evgeny Talanin

#720 patch apply

parent b91ca6a7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment