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

Merge pull request #5012

Horace Bianchon (1):
      fix(avform): Audio/Video settings tab #5011 issue bugfix
This commit is contained in:
Anthony Bilinski 2018-03-16 13:52:15 -07:00
commit 09eee940cd
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -153,7 +153,7 @@ void AVForm::open(const QString& devName, const VideoMode& mode)
{
QRect rect = mode.toRect();
videoSettings->setCamVideoRes(rect);
videoSettings->setCamVideoFPS(static_cast<quint16>(mode.FPS));
videoSettings->setCamVideoFPS(static_cast<float>(mode.FPS));
camera.setupDevice(devName, mode);
}