summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-07 10:21:34 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-07 10:21:34 +0200
commit8c4432cb7bb2b57678c47b8a6b1cdc6d20ff28d5 (patch)
tree343b62e0518a10ad1cb0aed17787708619522e79 /linux
parente9420adec46d178eea83c9ff1931d65021890366 (diff)
downloadmediapointer-dvb-s2-8c4432cb7bb2b57678c47b8a6b1cdc6d20ff28d5.tar.gz
mediapointer-dvb-s2-8c4432cb7bb2b57678c47b8a6b1cdc6d20ff28d5.tar.bz2
zr36067: Restore the default pixel format
From: Jean Delvare <khali@linux-fr.org> Restore the default pixel format to YUYV as it used to be before kernel 2.6.23. It was accidentally changed to BGR3 by commit 603d6f2c8f9f3604f9c6c1f8903efc2df30a000f. Priority: high Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/zoran_card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran_card.c b/linux/drivers/media/video/zoran_card.c
index 6678c6de9..081b72a45 100644
--- a/linux/drivers/media/video/zoran_card.c
+++ b/linux/drivers/media/video/zoran_card.c
@@ -989,7 +989,7 @@ zoran_open_init_params (struct zoran *zr)
zr->v4l_grab_seq = 0;
zr->v4l_settings.width = 192;
zr->v4l_settings.height = 144;
- zr->v4l_settings.format = &zoran_formats[4]; /* YUY2 - YUV-4:2:2 packed */
+ zr->v4l_settings.format = &zoran_formats[7]; /* YUY2 - YUV-4:2:2 packed */
zr->v4l_settings.bytesperline =
zr->v4l_settings.width *
((zr->v4l_settings.format->depth + 7) / 8);