From: Evgeny Talanin Date: Fri, 12 Oct 2012 10:25:36 +0000 (+0400) Subject: #720 patch apply X-Git-Tag: accepted/2.0/20130307.220821~364^2~16^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dd1ec98f72e0afff402a713c159c4da8cdd7faf;p=profile%2Fivi%2Fopencv.git #720 patch apply --- diff --git a/modules/highgui/src/cap_libv4l.cpp b/modules/highgui/src/cap_libv4l.cpp index 6dcc567..b1be7f2 100644 --- a/modules/highgui/src/cap_libv4l.cpp +++ b/modules/highgui/src/cap_libv4l.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); diff --git a/modules/highgui/src/cap_v4l.cpp b/modules/highgui/src/cap_v4l.cpp index 619870f..f8f6a89 100644 --- a/modules/highgui/src/cap_v4l.cpp +++ b/modules/highgui/src/cap_v4l.cpp @@ -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);