media: common: saa7146: fix broken V4L2_PIX_FMT_YUV422P support
The U and V components were swapped. Drop the FORMAT_BYTE_SWAP to fix this. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
0e236e0a1d
commit
500174a2d5
@ -51,7 +51,7 @@ static struct saa7146_format formats[] = {
|
||||
.pixelformat = V4L2_PIX_FMT_YUV422P,
|
||||
.trans = YUV422_DECOMPOSED,
|
||||
.depth = 16,
|
||||
.flags = FORMAT_BYTE_SWAP|FORMAT_IS_PLANAR,
|
||||
.flags = FORMAT_IS_PLANAR,
|
||||
}, {
|
||||
.pixelformat = V4L2_PIX_FMT_YVU420,
|
||||
.trans = YUV420_DECOMPOSED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user