mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(video): add setting for 120p very-low-res video
This commit is contained in:
parent
b4df3c8b4a
commit
6045ced3f8
|
@ -173,8 +173,11 @@ void AVForm::updateVideoModes(int curIndex)
|
|||
|
||||
// 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[120] = {160,120,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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user