diff options
author | Andrey Utkin <andrey.utkin@corp.bluecherry.net> | 2014-11-05 15:38:30 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-05 21:15:14 +0300 |
commit | 4fd70679877b71fd624b02bc35b145065591e638 (patch) | |
tree | b0fd7dcaa96844c1885524bafeb5287f638ec6d4 /libavdevice/v4l2-common.c | |
parent | a604de4fd89e8fe37d2f8163282060fcaa64ee3e (diff) |
v4l2: support MPEG4 compressed streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/v4l2-common.c')
-rw-r--r-- | libavdevice/v4l2-common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/v4l2-common.c b/libavdevice/v4l2-common.c index 966b9a1579..196c09b7fc 100644 --- a/libavdevice/v4l2-common.c +++ b/libavdevice/v4l2-common.c @@ -46,6 +46,9 @@ const struct fmt_map ff_fmt_conversion_table[] = { #ifdef V4L2_PIX_FMT_H264 { AV_PIX_FMT_NONE, AV_CODEC_ID_H264, V4L2_PIX_FMT_H264 }, #endif +#ifdef V4L2_PIX_FMT_MPEG4 + { AV_PIX_FMT_NONE, AV_CODEC_ID_MPEG4, V4L2_PIX_FMT_MPEG4 }, +#endif #ifdef V4L2_PIX_FMT_CPIA1 { AV_PIX_FMT_NONE, AV_CODEC_ID_CPIA, V4L2_PIX_FMT_CPIA1 }, #endif |