Skip to content

Commit

Permalink
Merge pull request #121 from brarcher/resolutions
Browse files Browse the repository at this point in the history
Remove hard-coded resolution setting values
  • Loading branch information
brarcher authored Jul 31, 2018
2 parents 739d37a + 97ad55d commit b767f07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ public void onNothingSelected(AdapterView<?> parent)
}
fpsSpinner.setAdapter(new ArrayAdapter<>(this, R.layout.spinner_textview, fps));

LinkedList<String> resolution = new LinkedList<>(Arrays.asList("176x144", "320x240", "480x360", "640x360", "640x480", "800x600", "960x720", "1024x768", "1280x720", "1920x1080", "2048x1080", "2048x858", "2560x1440", "2560x1600", "4096x2160"));
LinkedList<String> resolution = new LinkedList<>();
if(videoInfo.videoResolution != null && resolution.contains(videoInfo.videoResolution) == false)
{
resolution.add(videoInfo.videoResolution);
Expand Down

0 comments on commit b767f07

Please sign in to comment.