commit | d01361aeb839e0af64c748805786af6f6661100a | [log] [tgz] |
---|---|---|
author | Fabien Parent <fparent@baylibre.com> | Wed Aug 26 19:10:57 2020 +0200 |
committer | Jonas Larsson <ljonas@google.com> | Tue Nov 17 13:32:02 2020 -0800 |
tree | a48a225af8c941a7eb9167775f2f99a8bb37352f | |
parent | a67c043766a6dab3a8aa4f63241f9679038113e8 [diff] |
Add support for non-continuous MT21 format In order to use non-continuous MT21 planes, we need to set correctly its fourcc_nc. Signed-off-by: Fabien Parent <fparent@baylibre.com>
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 4b4b29a..8863727 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c
@@ -1851,6 +1851,7 @@ break; case GST_VIDEO_FORMAT_MT21: fourcc = V4L2_PIX_FMT_MT21; + fourcc_nc = V4L2_PIX_FMT_MT21; break; default: break;