[Android] ResolutionStrings: reset HD...qHD to 720p...1440p
Duncan McNamara
git at videolan.org
Tue Oct 18 11:58:18 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Fri Oct 14 16:20:52 2022 +0200| [762a17f7a4204686a2ad2e5a023b40fac368c9aa] | committer: Nicolas Pomepuy
ResolutionStrings: reset HD...qHD to 720p...1440p
As for most users 720p, 1080p, and 1440p is easier to understand
for most users than the official nomenclature HD, FHD, and qHD.
This reverts back to it.
> https://code.videolan.org/videolan/vlc-android/commit/762a17f7a4204686a2ad2e5a023b40fac368c9aa
---
application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt b/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt
index df6252e38..d8d80636f 100644
--- a/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt
+++ b/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt
@@ -376,9 +376,9 @@ fun generateResolutionClass(width: Int, height: Int): String? = if (width <= 0 |
when {
realHeight >= 4320 -> "8K"
realHeight >= 2160 -> "4K"
- realHeight >= 1440 -> "qHD"
- realHeight >= 1080 -> "FHD"
- realHeight >= 720 -> "HD"
+ realHeight >= 1440 -> "1440p"
+ realHeight >= 1080 -> "1080p"
+ realHeight >= 720 -> "720p"
else -> "SD"
}
}
More information about the Android
mailing list