summaryrefslogtreecommitdiff
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorClay McClure <clay@daemons.net>2015-01-04 00:30:44 -0700
committerLuca Barbato <lu_zero@gentoo.org>2015-01-28 16:10:24 +0100
commit6a808f5ae17f1fcdbcfb18055872c12aef70ffff (patch)
tree2eb80d7e8ed215dca39d984e3ec8ee515e90b726 /libavdevice/libdc1394.c
parent8805589b803fab5f362008306319336ac79a3fa7 (diff)
downloadffmpeg-6a808f5ae17f1fcdbcfb18055872c12aef70ffff.tar.gz
libdc1394: Add support for MONO8 (gray) video mode
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavdevice/libdc1394.c')
-rw-r--r--libavdevice/libdc1394.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index f030e3e31d..cc348d4e84 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -75,6 +75,7 @@ struct dc1394_frame_format {
int frame_size_id;
} dc1394_frame_formats[] = {
{ 320, 240, AV_PIX_FMT_UYVY422, DC1394_VIDEO_MODE_320x240_YUV422 },
+ { 640, 480, AV_PIX_FMT_GRAY8, DC1394_VIDEO_MODE_640x480_MONO8 },
{ 640, 480, AV_PIX_FMT_UYYVYY411, DC1394_VIDEO_MODE_640x480_YUV411 },
{ 640, 480, AV_PIX_FMT_UYVY422, DC1394_VIDEO_MODE_640x480_YUV422 },
{ 0, 0, 0, 0 } /* gotta be the last one */