diff options
author | Daniel Ritz <daniel.ritz@gmx.ch> | 2009-12-12 14:57:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 15:10:25 -0300 |
commit | 68f194e027ecfbbc8d5515bc40787e542eed59e9 (patch) | |
tree | 407a7f00b6f50c2ec556737ae8cb0da1e214af79 /drivers/media/video/uvc/uvc_driver.c | |
parent | 73de3592c0da2313b25bac7789e9ea02c4b9f082 (diff) | |
download | linux-68f194e027ecfbbc8d5515bc40787e542eed59e9.tar.gz linux-68f194e027ecfbbc8d5515bc40787e542eed59e9.tar.bz2 linux-68f194e027ecfbbc8d5515bc40787e542eed59e9.zip |
V4L/DVB (13830): uvcvideo: add another YUYV format GUID for iSight cameras
For some unknown reason, on a MacBookPro5,3 the iSight sometimes report
a different video format GUID. This patch add the other (wrong) GUID to
the format table, making the iSight work always w/o other problems.
What it should report: 32595559-0000-0010-8000-00aa00389b71
What it often reports: 32595559-0000-0010-8000-000000389b71
Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvc_driver.c')
-rw-r--r-- | drivers/media/video/uvc/uvc_driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index c0e4fbd8f894..fc7db17afb29 100644 --- a/drivers/media/video/uvc/uvc_driver.c +++ b/drivers/media/video/uvc/uvc_driver.c @@ -60,6 +60,11 @@ static struct uvc_format_desc uvc_fmts[] = { .fcc = V4L2_PIX_FMT_YUYV, }, { + .name = "YUV 4:2:2 (YUYV)", + .guid = UVC_GUID_FORMAT_YUY2_ISIGHT, + .fcc = V4L2_PIX_FMT_YUYV, + }, + { .name = "YUV 4:2:0 (NV12)", .guid = UVC_GUID_FORMAT_NV12, .fcc = V4L2_PIX_FMT_NV12, |