diff options
author | Archit Taneja <archit@ti.com> | 2010-10-08 18:50:48 +0530 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-10-09 02:12:16 -0500 |
commit | d73f5c3aae59b1861852ed1663171b0166d1f007 (patch) | |
tree | a174c889664cdef9a4ca18a581cc30092721302b /drivers/media | |
parent | 87415e7d289fa45e7f0b9c8b7f0edb1d4afbb8eb (diff) |
V4L2: Assign YUYV to 2 bytes per pixel in omap_vout_try_format
YUYV BPP was incorrectly assigned 4 bpp throughout V4L2, this cause
incorrect stide calculations and mapping of buffers to TILER
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/omap/omap_vout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 74dfab416740..c986302aa368 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -305,7 +305,7 @@ int omap_vout_try_format(struct v4l2_pix_format *pix) case V4L2_PIX_FMT_UYVY: default: pix->colorspace = V4L2_COLORSPACE_JPEG; - bpp = 4; + bpp = YUYV_BPP; break; case V4L2_PIX_FMT_RGB565: case V4L2_PIX_FMT_RGB565X: |