Skip to content

Commit

Permalink
[media] gspca - topro: Lower the frame rate in 640x480 for the tp6800
Browse files Browse the repository at this point in the history
The topro webcams don't support 30fps in 640x480 mode.

Signed-off-by: Jean-François Moine <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
moinejf authored and Mauro Carvalho Chehab committed Dec 11, 2011
1 parent 41f0932 commit b267b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/topro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 0x86; /* 15 fps */
i = 0x05; /* 15 fps */
} else {
for (i = 0; i < ARRAY_SIZE(rates_6810) - 1; i++) {
if (sd->framerate >= rates_6810[i])
Expand Down

0 comments on commit b267b73

Please sign in to comment.