projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f0932
)
[media] gspca - topro: Lower the frame rate in 640x480 for the tp6800
author
Jean-François Moine
<moinejf@free.fr>
Wed, 30 Nov 2011 09:22:29 +0000
(06:22 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 11 Dec 2011 11:27:08 +0000
(09:27 -0200)
The topro webcams don't support 30fps in 640x480 mode.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/topro.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/topro.c
b/drivers/media/video/gspca/topro.c
index
29596c5
..
acb209a
100644
(file)
--- a/
drivers/media/video/gspca/topro.c
+++ b/
drivers/media/video/gspca/topro.c
@@
-3946,7
+3946,7
@@
static int get_fr_idx(struct gspca_dev *gspca_dev)
/* 640x480 * 30 fps does not work */
if (i == 6 /* if 30 fps */
&& gspca_dev->width == 640)
- i = 0x
86
; /* 15 fps */
+ i = 0x
05
; /* 15 fps */
} else {
for (i = 0; i < ARRAY_SIZE(rates_6810) - 1; i++) {
if (sd->framerate >= rates_6810[i])