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: support vimc Author: Hans Verkuil <[email protected]> Date: Fri Jul 28 12:09:44 2017 +0200 When the vimc driver is used there are no inputs. In that case m_frameWidth is NULL, but it is still used. Check if it is NULL and just return in that case. Now qv4l2 works with vimc. Signed-off-by: Hans Verkuil <[email protected]> utils/qv4l2/general-tab.cpp | 5 +++++ 1 file changed, 5 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=6b5204abea527469012d3c40b1909b199b532614 diff --git a/utils/qv4l2/general-tab.cpp b/utils/qv4l2/general-tab.cpp index 344ca943b1c4..9c1dbc7e86ff 100644 --- a/utils/qv4l2/general-tab.cpp +++ b/utils/qv4l2/general-tab.cpp @@ -2186,6 +2186,11 @@ void GeneralTab::updateFrameSize() m_discreteSizes = false; if (m_frameSize) m_frameSize->setEnabled(false); + if (!m_frameWidth) { + updateFrameInterval(); + return; + } + m_frameWidth->setEnabled(!m_haveBuffers); m_frameWidth->blockSignals(true); m_frameWidth->setMinimum(frmsize.stepwise.min_width); _______________________________________________ linuxtv-commits mailing list [email protected] https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
