mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix whitespace
This commit is contained in:
parent
191aa9079f
commit
772f2c54f0
|
@ -160,11 +160,11 @@ void AVForm::updateVideoModes(int curIndex)
|
|||
a.FPS>b.FPS;});
|
||||
bool previouslyBlocked = bodyUI->videoModescomboBox->blockSignals(true);
|
||||
bodyUI->videoModescomboBox->clear();
|
||||
|
||||
// Identify the best resolutions available for the supposed XXXXp resolutions.
|
||||
|
||||
// Identify the best resolutions available for the supposed XXXXp resolutions.
|
||||
std::map<int, VideoMode> idealModes;
|
||||
idealModes[240] = {460,240,0,0}; idealModes[360] = {640,360,0,0};
|
||||
idealModes[480] = {854,480,0,0}; idealModes[720] = {1280,720,0,0};
|
||||
idealModes[240] = {460,240,0,0}; idealModes[360] = {640,360,0,0};
|
||||
idealModes[480] = {854,480,0,0}; idealModes[720] = {1280,720,0,0};
|
||||
idealModes[1080] = {1920,1080,0,0};
|
||||
std::map<int, int> bestModeInds;
|
||||
|
||||
|
@ -205,7 +205,7 @@ void AVForm::updateVideoModes(int curIndex)
|
|||
bestModeInds[res] = i;
|
||||
}
|
||||
else if (mode.FPS == videoModes[ind].FPS &&
|
||||
CameraDevice::betterPixelFormat(mode.pixel_format, videoModes[ind].pixel_format))
|
||||
CameraDevice::betterPixelFormat(mode.pixel_format, videoModes[ind].pixel_format))
|
||||
{
|
||||
bestModeInds[res] = i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user