From f826d424499f0e722c02404b7dedb346a05be5b3 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 2 Apr 2017 05:35:26 +0800 Subject: [PATCH] [WARNING] {sdhd} is deprecated and will be removed in the next release. Use {hd} instead. --- source/net/filebot/format/MediaBindingBean.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index e2a41d7f..02ea59c9 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -443,13 +443,6 @@ 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 getDimension() { // collect value from Video Stream 0 or Image Stream 0 @@ -1306,4 +1299,11 @@ public class MediaBindingBean { public static final String EXCEPTION_UNDEFINED = "undefined"; public static final String EXCEPTION_SAMPLE_FILE_NOT_SET = "Sample file has not been set. Click \"Change Sample\" to select a sample file."; + @Deprecated + @Define("sdhd") + public String getVideoDefinitionCategoryDeprecated() { + debug.severe("[WARNING] {sdhd} is deprecated and will be removed in the next release. Use {hd} instead."); + return getVideoDefinitionCategory(); + } + }