Commit d1f27360 authored by Thiago Santini's avatar Thiago Santini

Small adjustments on bandwith

parent fad54541
......@@ -3,7 +3,8 @@
QMutex UVCCameraSession::sessionMutex;
UVCCameraSession::UVCCameraSession(QObject *parent)
: m_surface(Q_NULLPTR),
: QObject(parent),
m_surface(Q_NULLPTR),
streaming(false),
dev(NULL),
devh(NULL)
......@@ -135,7 +136,7 @@ bool UVCCameraSession::startPreview()
return false;
}
res = uvc_stream_start(strmh, cb, (void*) this, 1.5f, 0);
res = uvc_stream_start(strmh, cb, (void*) this, 1.3f, 0);
if (res != UVC_SUCCESS) {
qWarning() << "uvc_stream_start" << uvc_strerror(res);
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment