]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
V4L/DVB (6718): ivtv: ivtv yuv format description correction
authorIan Armstrong <ian@iarmst.demon.co.uk>
Mon, 5 Nov 2007 17:30:03 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:11 +0000 (19:03 -0200)
The driver was incorrectly reporting that it supported YUV 4:2:2 output, when
it is actually YUV 4:2:0. Though I believe the hardware can be pushed to
4:2:2, we don't currently support that.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-ioctl.c

index 57eb8dfe53fae1ec0f29cadcfdc0dba59e0798c1..0618fee24952aaa65c439f92a1c62f36b7d3a72d 100644 (file)
@@ -894,7 +894,7 @@ int ivtv_v4l2_ioctls(struct ivtv *itv, struct file *filp, unsigned int cmd, void
        case VIDIOC_ENUM_FMT: {
                static struct v4l2_fmtdesc formats[] = {
                        { 0, 0, 0,
-                         "HM12 (YUV 4:2:2)", V4L2_PIX_FMT_HM12,
+                         "HM12 (YUV 4:2:0)", V4L2_PIX_FMT_HM12,
                          { 0, 0, 0, 0 }
                        },
                        { 1, 0, V4L2_FMT_FLAG_COMPRESSED,