summaryrefslogtreecommitdiff
path: root/drivers/media/video/uvc/uvc_driver.c
diff options
context:
space:
mode:
authorStephan Lachowsky <stephan.lachowsky@maxim-ic.com>2011-01-28 16:38:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-23 20:07:59 -0300
commit25ad8a8ddeeb26c77728c806a5f66608c9baa986 (patch)
tree6a5970b2aa120ffee6ac47dad9a7f6deb228742b /drivers/media/video/uvc/uvc_driver.c
parent3e0ac6717b0a2593243ef3850025a42cb199880f (diff)
downloadlwn-25ad8a8ddeeb26c77728c806a5f66608c9baa986.tar.gz
lwn-25ad8a8ddeeb26c77728c806a5f66608c9baa986.zip
[media] uvcvideo: Add a mapping for H.264 payloads
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.c5
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 a3c24dd875fc..656d4c9e3b9f 100644
--- a/drivers/media/video/uvc/uvc_driver.c
+++ b/drivers/media/video/uvc/uvc_driver.c
@@ -114,6 +114,11 @@ static struct uvc_format_desc uvc_fmts[] = {
.guid = UVC_GUID_FORMAT_RGBP,
.fcc = V4L2_PIX_FMT_RGB565,
},
+ {
+ .name = "H.264",
+ .guid = UVC_GUID_FORMAT_H264,
+ .fcc = V4L2_PIX_FMT_H264,
+ },
};
/* ------------------------------------------------------------------------