projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91fd9ac
)
[Title] Increase the timeout value
author
jinhyung.jo
<jinhyung.jo@samsung.com>
Mon, 7 Nov 2011 05:47:42 +0000
(14:47 +0900)
committer
jinhyung.jo
<jinhyung.jo@samsung.com>
Mon, 7 Nov 2011 05:47:42 +0000
(14:47 +0900)
[Type] Bugfix
[Module] Emulator/Camera
[Priority]
[CQ#]
[Redmine#]
[Problem] camera start failure
[Cause] timed out waiting for get a starting frame
[Solution] increase the timeout value for select()
[TestCase]
hw/svcamera_linux.c
patch
|
blob
|
history
diff --git
a/hw/svcamera_linux.c
b/hw/svcamera_linux.c
index
0adabc4
..
9d925c7
100644
(file)
--- a/
hw/svcamera_linux.c
+++ b/
hw/svcamera_linux.c
@@
-97,7
+97,7
@@
static int __v4l2_grab(SVCamState *state)
FD_ZERO(&fds);
FD_SET(v4l2_fd, &fds);
- tv.tv_sec =
1
;
+ tv.tv_sec =
2
;
tv.tv_usec = 0;
r = select(v4l2_fd + 1, &fds, NULL, NULL, &tv);