[WARNING] {sdhd} is deprecated and will be removed in the next release. Use {hd} instead.
This commit is contained in:
parent
758bd7f817
commit
5392ec3225
|
@ -443,6 +443,13 @@ public class MediaBindingBean {
|
||||||
return "SD";
|
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")
|
@Define("dim")
|
||||||
public List<Integer> getDimension() {
|
public List<Integer> getDimension() {
|
||||||
// collect value from Video Stream 0 or Image Stream 0
|
// collect value from Video Stream 0 or Image Stream 0
|
||||||
|
|
Loading…
Reference in New Issue