1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

[WARNING] {sdhd} is deprecated and will be removed in the next release. Use {hd} instead.

This commit is contained in:
Reinhard Pointner 2017-04-01 21:51:03 +08:00
parent 758bd7f817
commit 5392ec3225

View File

@ -443,6 +443,13 @@ public class MediaBindingBean {
return "SD";
}
@Deprecated
@Define("sdhd")
public String getVideoDefinitionCategoryDeprecated() {
debug.warning("[WARNING] {sdhd} is deprecated and will be removed in the next release. Use {hd} instead.");
return getWidth() >= 1280 || getHeight() >= 720 ? "HD" : "SD";
}
@Define("dim")
public List<Integer> getDimension() {
// collect value from Video Stream 0 or Image Stream 0