mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
V4L/DVB (6718): ivtv: ivtv yuv format description correction
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>
This commit is contained in:
parent
77aded6ba5
commit
368f080b68
@ -894,7 +894,7 @@ int ivtv_v4l2_ioctls(struct ivtv *itv, struct file *filp, unsigned int cmd, void
|
|||||||
case VIDIOC_ENUM_FMT: {
|
case VIDIOC_ENUM_FMT: {
|
||||||
static struct v4l2_fmtdesc formats[] = {
|
static struct v4l2_fmtdesc formats[] = {
|
||||||
{ 0, 0, 0,
|
{ 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 }
|
{ 0, 0, 0, 0 }
|
||||||
},
|
},
|
||||||
{ 1, 0, V4L2_FMT_FLAG_COMPRESSED,
|
{ 1, 0, V4L2_FMT_FLAG_COMPRESSED,
|
||||||
|
Loading…
Reference in New Issue
Block a user