From 97ad55d8e7385fe38b808ce06abe6aabec662e55 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Mon, 30 Jul 2018 21:42:03 -0400 Subject: [PATCH] Remove hard-coded resolution setting values These hard-coded values ended up not being helpful and were instead confusing. As the app now supports custom resolutions, presenting the current resolution and a few steps down from that makes more sense. --- .../java/protect/videotranscoder/activity/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/protect/videotranscoder/activity/MainActivity.java b/app/src/main/java/protect/videotranscoder/activity/MainActivity.java index 46ca641a..6d758b59 100644 --- a/app/src/main/java/protect/videotranscoder/activity/MainActivity.java +++ b/app/src/main/java/protect/videotranscoder/activity/MainActivity.java @@ -1137,7 +1137,7 @@ public void onNothingSelected(AdapterView parent) } fpsSpinner.setAdapter(new ArrayAdapter<>(this, R.layout.spinner_textview, fps)); - LinkedList resolution = new LinkedList<>(Arrays.asList("176x144", "320x240", "480x360", "640x360", "640x480", "800x600", "960x720", "1024x768", "1280x720", "1920x1080", "2048x1080", "2048x858", "2560x1440", "2560x1600", "4096x2160")); + LinkedList resolution = new LinkedList<>(); if(videoInfo.videoResolution != null && resolution.contains(videoInfo.videoResolution) == false) { resolution.add(videoInfo.videoResolution);