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

Merge pull request #3375

Colomban Wendling (1):
      feat(video): add setting for 120p very-low-res video
This commit is contained in:
sudden6 2016-06-12 22:18:03 +02:00
commit 53953912e0
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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;