From 2224e08a109ca7f6001b499e4d2a88ae01dd9807 Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Sun, 1 Aug 2021 11:45:32 +0100 Subject: [PATCH 1/2] Fix hvec transcoding when not required --- source/utils/deviceCapabilities.brs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/utils/deviceCapabilities.brs b/source/utils/deviceCapabilities.brs index d38b2911..77d7f4c8 100644 --- a/source/utils/deviceCapabilities.brs +++ b/source/utils/deviceCapabilities.brs @@ -146,8 +146,8 @@ function GetDirectPlayProfiles() as object 'Check for Supported Video Codecs if di.CanDecodeVideo({ Codec: "hevc" }).Result = true - mp4Video = mp4Video + ",h265" - mkvVideo = mkvVideo + ",h265" + mp4Video = mp4Video + ",h265,hevc" + mkvVideo = mkvVideo + ",h265,hevc" end if if di.CanDecodeVideo({ Codec: "vp9" }).Result = true From 568e81c040f73a2b1c2932b89fd727b03a5bec59 Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Sun, 1 Aug 2021 12:33:07 +0100 Subject: [PATCH 2/2] Support AEC3 in mp3 and direct audio containers --- source/utils/deviceCapabilities.brs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/utils/deviceCapabilities.brs b/source/utils/deviceCapabilities.brs index 77d7f4c8..7be1dc2e 100644 --- a/source/utils/deviceCapabilities.brs +++ b/source/utils/deviceCapabilities.brs @@ -201,6 +201,8 @@ function GetDirectPlayProfiles() as object if di.CanDecodeAudio({ Codec: "eac3" }).result mkvAudio = mkvAudio + ",eac3" + mp4Audio = mp4Audio + ",eac3" + audio = audio + ",eac3" end if return [