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:
commit
09eee940cd
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user