aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qv4l2/qv4l2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/qv4l2/qv4l2.cpp')
-rw-r--r--utils/qv4l2/qv4l2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp
index 7a346835..0e168e83 100644
--- a/utils/qv4l2/qv4l2.cpp
+++ b/utils/qv4l2/qv4l2.cpp
@@ -777,7 +777,6 @@ void ApplicationWindow::outFrame()
m_tv = tv;
}
-
status = QString("Frame: %1 Fps: %2").arg(++m_frame).arg(m_fps);
if (m_capMethod == methodMmap || m_capMethod == methodUser) {
@@ -897,8 +896,9 @@ void ApplicationWindow::capFrame()
m_tv = tv;
}
-
- status = QString("Frame: %1 Fps: %2").arg(++m_frame).arg(m_fps);
+ float wscale = m_capture->getHorScaleFactor();
+ float hscale = m_capture->getVertScaleFactor();
+ status = QString("Frame: %1 Fps: %2 Scale Factors: %3x%4").arg(++m_frame).arg(m_fps).arg(wscale).arg(hscale);
#ifdef HAVE_ALSA
if (alsa_thread_is_running()) {
if (tv_alsa.tv_sec || tv_alsa.tv_usec) {

Privacy Policy