qv4l2: only set m_isRadio if m_isSDR is true.
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Apr 2014 09:43:32 +0000 (11:43 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Apr 2014 09:43:32 +0000 (11:43 +0200)
commit2b690af798693973738c743aa9a52547ffb4167c
treea8c8fdbca207ea9002923ee46f266cb026968694
parentb4dc25b03cad32cf61c7ef6b0d23d767ebcb834a
qv4l2: only set m_isRadio if m_isSDR is true.

The m_isRadio bool was reset if m_isSDR was false, that's not what should
happen. Only if m_isSDR is true should the m_isRadio value be changed.

This bug caused the frame width/height etc. fields to appear for a radio
transmitter.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/general-tab.cpp