* accept default dimension even if one only one of h or w is good enough
@see http://www.filebot.net/forums/viewtopic.php?f=6&t=959&p=5998#p5998
This commit is contained in:
parent
7e1a8bb5c7
commit
e1b63c7b96
@ -282,7 +282,7 @@ public class MediaBindingBean {
|
||||
int[] ws = new int[] { 1920, 1280, 720, 720, 360, 240, 120 };
|
||||
int[] hs = new int[] { 1080, 720, 576, 480, 360, 240, 120 };
|
||||
for (int i = 0; i < ws.length - 1; i++) {
|
||||
if (width > ws[i + 1] && height > hs[i + 1]) {
|
||||
if (width > ws[i + 1] || height > hs[i + 1]) {
|
||||
ns = hs[i];
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user