[Android] ResolutionStrings: reset HD...qHD to 720p...1440p

Duncan McNamara git at videolan.org
Tue Oct 18 11:59:15 UTC 2022


vlc-android | branch: 3.5.x | Duncan McNamara <dcn.mcnamara at gmail.com> | Fri Oct 14 16:20:52 2022 +0200| [b0948924a6ff2a23cf2aeb88bf471a224ddd42d6] | 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.


(cherry picked from commit 762a17f7a4204686a2ad2e5a023b40fac368c9aa)

> https://code.videolan.org/videolan/vlc-android/commit/b0948924a6ff2a23cf2aeb88bf471a224ddd42d6
---

 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