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: don't show afc if signal strength == 0. Author: Hans Verkuil <[email protected]> Date: Sun Jun 10 13:41:51 2012 +0200 Signed-off-by: Hans Verkuil <[email protected]> utils/qv4l2/general-tab.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=96f546f54861c2e444a4032b2d14adc58b4b7470 diff --git a/utils/qv4l2/general-tab.cpp b/utils/qv4l2/general-tab.cpp index 346a1ee..d0a8c17 100644 --- a/utils/qv4l2/general-tab.cpp +++ b/utils/qv4l2/general-tab.cpp @@ -477,10 +477,8 @@ void GeneralTab::detectSubchansClicked() if (m_tuner.rxsubchans & V4L2_TUNER_SUB_RDS) chans += "RDS "; chans += "(" + QString::number((int)(m_tuner.signal / 655.35 + 0.5)) + "%"; - if (m_tuner.afc < 0) - chans += " too low"; - else if (m_tuner.afc > 0) - chans += " too high"; + if (m_tuner.signal && m_tuner.afc) + chans += m_tuner.afc < 0 ? " too low" : " too high"; chans += ")"; m_subchannels->setText(chans); } _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
