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:
parent
23219a3001
commit
3f3c341af3
@ -279,8 +279,8 @@ public class MediaBindingBean {
|
|||||||
int height = Integer.parseInt(getMediaInfo(StreamKind.Video, 0, "Height"));
|
int height = Integer.parseInt(getMediaInfo(StreamKind.Video, 0, "Height"));
|
||||||
|
|
||||||
int ns = 0;
|
int ns = 0;
|
||||||
int[] ws = new int[] { 1920, 1280, 720, 360, 240, 120 };
|
int[] ws = new int[] { 1920, 1280, 720, 720, 360, 240, 120 };
|
||||||
int[] hs = new int[] { 1080, 720, 480, 360, 240, 120 };
|
int[] hs = new int[] { 1080, 720, 576, 480, 360, 240, 120 };
|
||||||
for (int i = 0; i < ws.length - 1; i++) {
|
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];
|
ns = hs[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user