summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/vc032x.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-08-28 18:22:19 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-08-28 18:22:19 +0200
commita31639582f82355dc1e655076648e7726141fce9 (patch)
treecac1f46f153f471971bea3ae12115e7f94105c6d /linux/drivers/media/video/gspca/vc032x.c
parenta873e2e844935b08ad1bc2b4cfd35aafdf9d140b (diff)
downloadmediapointer-dvb-s2-a31639582f82355dc1e655076648e7726141fce9.tar.gz
mediapointer-dvb-s2-a31639582f82355dc1e655076648e7726141fce9.tar.bz2
gspca: Bad pixelformat of vc0321 webcams.
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/vc032x.c')
-rw-r--r--linux/drivers/media/video/gspca/vc032x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/vc032x.c b/linux/drivers/media/video/gspca/vc032x.c
index aeff91c04..b89f58913 100644
--- a/linux/drivers/media/video/gspca/vc032x.c
+++ b/linux/drivers/media/video/gspca/vc032x.c
@@ -88,12 +88,12 @@ static struct ctrl sd_ctrls[] = {
};
static struct v4l2_pix_format vc0321_mode[] = {
- {320, 240, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE,
+ {320, 240, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
.bytesperline = 320,
.sizeimage = 320 * 240 * 2,
.colorspace = V4L2_COLORSPACE_SRGB,
.priv = 1},
- {640, 480, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE,
+ {640, 480, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
.bytesperline = 640,
.sizeimage = 640 * 480 * 2,
.colorspace = V4L2_COLORSPACE_SRGB,