Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
feat(video): add setting for 120p very-low-res video
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Jun 11, 2016
1 parent b4df3c8 commit 6045ced
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/widget/form/settings/avform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6045ced

Please sign in to comment.