1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix video starting with bad resolution

The netcamview has no business trying to open the video source, especially in the wrong video mode
This commit is contained in:
tux3 2015-12-04 13:56:42 +01:00
parent 37075dbfb5
commit 104095c6be
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -88,7 +88,6 @@ NetCamView::NetCamView(int friendId, QWidget* parent)
videoMode.height = videoSize.height();
qDebug() << "SIZER" << videoSize;
videoMode.FPS = Settings::getInstance().getCamVideoFPS();
CameraSource::getInstance().open(Settings::getInstance().getVideoDev(), videoMode);
}
void NetCamView::show(VideoSource *source, const QString &title)