diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-05 15:39:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-05 15:39:27 +0200 |
commit | 1dbcc03c16aadfb1651d83ad1e1e1a2462bfa2de (patch) | |
tree | 2f440489565e672759f4a36efcf3d84b5e8dbe85 /linux/drivers | |
parent | 4318afbc118abcf4b8bc029621342d161a93c9d9 (diff) | |
download | mediapointer-dvb-s2-1dbcc03c16aadfb1651d83ad1e1e1a2462bfa2de.tar.gz mediapointer-dvb-s2-1dbcc03c16aadfb1651d83ad1e1e1a2462bfa2de.tar.bz2 |
zr36067: Fix RGBR pixel format
From: Jean Delvare <khali@linux-fr.org>
The zr36067 driver is improperly declaring pixel format RGBP twice,
once as "16-bit RGB LE" and once as "16-bit RGB BE". The latter is
actually RGBR. Fix the code to properly map both pixel formats.
Priority: high
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/zoran_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran_driver.c b/linux/drivers/media/video/zoran_driver.c index 0765c9e22..3e9e7a718 100644 --- a/linux/drivers/media/video/zoran_driver.c +++ b/linux/drivers/media/video/zoran_driver.c @@ -135,7 +135,7 @@ const struct zoran_format zoran_formats[] = { }, { .name = "16-bit RGB BE", ZFMT(-1, - V4L2_PIX_FMT_RGB565, V4L2_COLORSPACE_SRGB), + V4L2_PIX_FMT_RGB565X, V4L2_COLORSPACE_SRGB), .depth = 16, .flags = ZORAN_FORMAT_CAPTURE | ZORAN_FORMAT_OVERLAY, |