From 6111cbec5a3e7791ed2847d35b35333d05902124 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sat, 10 Aug 2024 21:54:17 +0200 Subject: [PATCH] Re-use supportsHevc in one additional place --- .../java/org/jellyfin/androidtv/util/profile/ProfileHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/jellyfin/androidtv/util/profile/ProfileHelper.kt b/app/src/main/java/org/jellyfin/androidtv/util/profile/ProfileHelper.kt index b92ed091fa..af5e8347a1 100644 --- a/app/src/main/java/org/jellyfin/androidtv/util/profile/ProfileHelper.kt +++ b/app/src/main/java/org/jellyfin/androidtv/util/profile/ProfileHelper.kt @@ -111,7 +111,7 @@ object ProfileHelper { val deviceHevcLevelCodecProfiles by lazy { buildList { - if (MediaTest.supportsHevc()) { + if (supportsHevc) { add(CodecProfile().apply { type = CodecType.Video codec = Codec.Video.HEVC