This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: qv4l2: fix crash when used with metadata output devices
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Mon Apr 15 13:28:26 2024 +0200

It didn't detect that the metadata output device was an
output device, instead it saw a capture device and this
caused a crash.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 utils/qv4l2/general-tab.cpp | 1 +
 1 file changed, 1 insertion(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=7997d8076c07c33ab5324e4d52092451598d9d40
diff --git a/utils/qv4l2/general-tab.cpp b/utils/qv4l2/general-tab.cpp
index 52cac8b59bb8..7cbefdbf5c81 100644
--- a/utils/qv4l2/general-tab.cpp
+++ b/utils/qv4l2/general-tab.cpp
@@ -170,6 +170,7 @@ GeneralTab::GeneralTab(const QString &device, cv4l_fd *fd, 
int n, QWidget *paren
                if (m_isSDR)
                        m_isRadio = true;
                if (g_caps() & (V4L2_CAP_VIDEO_OUTPUT | 
V4L2_CAP_VIDEO_OUTPUT_MPLANE |
+                               V4L2_CAP_META_OUTPUT |
                                V4L2_CAP_VBI_OUTPUT | 
V4L2_CAP_SLICED_VBI_OUTPUT))
                        m_isOutput = true;
        }

Reply via email to