qv4l2: honor the fullscreen setting when starting capturing
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 Jul 2014 08:19:34 +0000 (10:19 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 Jul 2014 08:19:34 +0000 (10:19 +0200)
The resetSize method would always go out of fullscreen mode for no
good reason. Since it is called when you start capturing it would
also revert the fullscreen setting. So just leave the fullscreen
mode alone.

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

index 7762e6a..080ed09 100644 (file)
@@ -131,9 +131,6 @@ void CaptureWin::buildWindow(QWidget *videoSurface)
 
 void CaptureWin::resetSize()
 {
-       if (m_appWin->m_makeFullScreenAct->isChecked())
-               escape();
-
         // Force resize even if no size change
        QSize resetFrameSize = m_origFrameSize;
        m_origFrameSize.setWidth(0);