This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: qv4l2: zero m_tpgLimRGBRange when the device is closed Author: Hans Verkuil <[email protected]> Date: Wed Jul 30 09:34:05 2014 +0200 The m_tpgLimRGBRange pointer was non-NULL when it shouldn't be. Set it to NULL when the device is closed, that's the correct place since after that it is invalid until a new device is opened. Signed-off-by: Hans Verkuil <[email protected]> utils/qv4l2/qv4l2.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=7427488abd417c140348ae432898260e2147d5ec diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp index 86dcc6a..ec4edc9 100644 --- a/utils/qv4l2/qv4l2.cpp +++ b/utils/qv4l2/qv4l2.cpp @@ -270,7 +270,6 @@ void ApplicationWindow::setDevice(const QString &device, bool rawOpen) connect(m_genTab, SIGNAL(clearBuffers()), this, SLOT(clearBuffers())); m_tabs->addTab(w, "General Settings"); - m_tpgLimRGBRange = NULL; if (has_vid_out()) { addTpgTab(m_minWidth); tpg_init(&m_tpg, 640, 360); @@ -1398,6 +1397,7 @@ void ApplicationWindow::closeDevice() m_widgetMap.clear(); m_sliderMap.clear(); m_classMap.clear(); + m_tpgLimRGBRange = NULL; } bool SaveDialog::setBuffer(unsigned char *buf, unsigned size) _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
