From: Hans Verkuil Date: Mon, 21 Jul 2014 08:19:34 +0000 (+0200) Subject: qv4l2: honor the fullscreen setting when starting capturing X-Git-Tag: v4l-utils-1.3.90~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0779c5fde5303f43eec1241b2b090cf237725687;p=platform%2Fupstream%2Fv4l-utils.git qv4l2: honor the fullscreen setting when starting capturing 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 --- diff --git a/utils/qv4l2/capture-win.cpp b/utils/qv4l2/capture-win.cpp index 7762e6a..080ed09 100644 --- a/utils/qv4l2/capture-win.cpp +++ b/utils/qv4l2/capture-win.cpp @@ -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);