diff options
author | Jean-François Moine <moinejf@free.fr> | 2011-11-30 04:22:29 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 06:27:08 -0500 |
commit | b267b73d5a508eb9c92d9781d951f4c0d035481a (patch) | |
tree | eb009aa91192f9f5fbffb248395f4fd8af4911ce | |
parent | 41f09322e912fdfbd947d7363dec69cff96adc3d (diff) |
[media] gspca - topro: Lower the frame rate in 640x480 for the tp6800
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>
-rw-r--r-- | drivers/media/video/gspca/topro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/topro.c b/drivers/media/video/gspca/topro.c index 29596c59837f..acb209a67100 100644 --- 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) | |||
3946 | /* 640x480 * 30 fps does not work */ | 3946 | /* 640x480 * 30 fps does not work */ |
3947 | if (i == 6 /* if 30 fps */ | 3947 | if (i == 6 /* if 30 fps */ |
3948 | && gspca_dev->width == 640) | 3948 | && gspca_dev->width == 640) |
3949 | i = 0x86; /* 15 fps */ | 3949 | i = 0x05; /* 15 fps */ |
3950 | } else { | 3950 | } else { |
3951 | for (i = 0; i < ARRAY_SIZE(rates_6810) - 1; i++) { | 3951 | for (i = 0; i < ARRAY_SIZE(rates_6810) - 1; i++) { |
3952 | if (sd->framerate >= rates_6810[i]) | 3952 | if (sd->framerate >= rates_6810[i]) |