qv4l2: fix broken VBI support
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 14 Dec 2013 11:13:40 +0000 (12:13 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Sat, 14 Dec 2013 11:13:40 +0000 (12:13 +0100)
Using qv4l2 with a vbi node broke when the pixel aspect ratio code was added.
Pixel aspect doesn't apply to vbi, and that wasn't checked.

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

index a0bc75f..ad519c0 100644 (file)
@@ -972,7 +972,8 @@ void GeneralTab::updateStandard()
        m_tvStandard->setStatusTip(what);
        m_tvStandard->setWhatsThis(what);
        updateVidCapFormat();
-       changePixelAspectRatio();
+       if (!isVbi())
+               changePixelAspectRatio();
 }
 
 void GeneralTab::qryStdClicked()