[PATCH 1/3] v4l2src: Add GST_VIDEO_FORMAT_NV61 check.
phdm at macq.eu
phdm at macq.eu
Tue Sep 6 12:53:00 UTC 2016
From: Philippe De Muyter <phdm at macqel.be>
Signed-off-by: Philippe De Muyter <phdm at macqel.be>
---
src/v4l2src/v4l2src.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/v4l2src/v4l2src.c b/src/v4l2src/v4l2src.c
index 12b392a..68ecea2 100644
--- a/src/v4l2src/v4l2src.c
+++ b/src/v4l2src/v4l2src.c
@@ -529,12 +529,14 @@ static GstCaps *gst_imx_v4l2src_caps_for_current_setup(GstImxV4l2VideoSrc *v4l2s
#endif
gst_fmt = GST_VIDEO_FORMAT_NV16;
break;
+#ifdef GST_VIDEO_FORMAT_NV61
case V4L2_PIX_FMT_NV61:
#ifdef V4L2_PIX_FMT_NV61M
case V4L2_PIX_FMT_NV61M:
#endif
gst_fmt = GST_VIDEO_FORMAT_NV61;
break;
+#endif
case V4L2_PIX_FMT_NV24:
gst_fmt = GST_VIDEO_FORMAT_NV24;
break;
--
1.8.4.5
More information about the gstreamer-devel
mailing list