1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 22:35:04 -05:00

* Added 720x576 as valid video format for {vf}

@see http://www.filebot.net/forums/viewtopic.php?f=6&t=959
This commit is contained in:
Reinhard Pointner 2013-09-23 05:19:34 +00:00
parent 23219a3001
commit 3f3c341af3

View File

@ -279,8 +279,8 @@ public class MediaBindingBean {
int height = Integer.parseInt(getMediaInfo(StreamKind.Video, 0, "Height"));
int ns = 0;
int[] ws = new int[] { 1920, 1280, 720, 360, 240, 120 };
int[] hs = new int[] { 1080, 720, 480, 360, 240, 120 };
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]) {
ns = hs[i];