summaryrefslogtreecommitdiff
path: root/libavdevice/v4l2-common.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2014-02-22 23:42:15 +1100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-02-23 13:42:41 +0100
commitdd5abb0bac214a4e3c526cdf93d05fa80ad0adca (patch)
tree99f0dfd28918576dc939eab9103c8371db65e38e /libavdevice/v4l2-common.c
parent526049ce61d00ba889c6db8300930c086b3136ef (diff)
downloadffmpeg-dd5abb0bac214a4e3c526cdf93d05fa80ad0adca.tar.gz
avdevice/v4l2: add V4L2_PIX_FMT_SRGGB8
Diffstat (limited to 'libavdevice/v4l2-common.c')
-rw-r--r--libavdevice/v4l2-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/v4l2-common.c b/libavdevice/v4l2-common.c
index 572f0ed36b..1ab67e368f 100644
--- a/libavdevice/v4l2-common.c
+++ b/libavdevice/v4l2-common.c
@@ -49,6 +49,7 @@ const struct fmt_map avpriv_fmt_conversion_table[] = {
#ifdef V4L2_PIX_FMT_CPIA1
{ AV_PIX_FMT_NONE, AV_CODEC_ID_CPIA, V4L2_PIX_FMT_CPIA1 },
#endif
+ { AV_PIX_FMT_BAYER_RGGB8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SRGGB8 },
{ AV_PIX_FMT_NONE, AV_CODEC_ID_NONE, 0 },
};