From 6045ced3f8b538b0c3044370878d4feb76103480 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Fri, 10 Jun 2016 02:14:48 +0200 Subject: [PATCH] feat(video): add setting for 120p very-low-res video --- src/widget/form/settings/avform.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/widget/form/settings/avform.cpp b/src/widget/form/settings/avform.cpp index 662f3a342d..7d0498cc23 100644 --- a/src/widget/form/settings/avform.cpp +++ b/src/widget/form/settings/avform.cpp @@ -173,8 +173,11 @@ void AVForm::updateVideoModes(int curIndex) // Identify the best resolutions available for the supposed XXXXp resolutions. std::map 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 bestModeInds;