[FFmpeg-cvslog] lavd/v4l2-common: Add an entry for Z16.

Carl Eugen Hoyos git at videolan.org
Fri Mar 22 13:31:03 EET 2019


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Thu Mar 21 01:24:42 2019 +0100| [e704070f61e830064ea5c13e9562d7c455a3729d] | committer: Carl Eugen Hoyos

lavd/v4l2-common: Add an entry for Z16.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e704070f61e830064ea5c13e9562d7c455a3729d
---

 libavdevice/v4l2-common.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavdevice/v4l2-common.c b/libavdevice/v4l2-common.c
index 2d6bfac8ca..b5b4448a31 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_Y16
     { AV_PIX_FMT_GRAY16LE,AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_Y16     },
 #endif
+#ifdef V4L2_PIX_FMT_Z16
+    { AV_PIX_FMT_GRAY16LE,AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_Z16     },
+#endif
     { AV_PIX_FMT_NV12,    AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_NV12    },
     { AV_PIX_FMT_NONE,    AV_CODEC_ID_MJPEG,    V4L2_PIX_FMT_MJPEG   },
     { AV_PIX_FMT_NONE,    AV_CODEC_ID_MJPEG,    V4L2_PIX_FMT_JPEG    },



More information about the ffmpeg-cvslog mailing list