From 71ebdc1e9074ae618adab05be143529f0fce2cb0 Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 17 Dec 2020 17:05:24 +0100 Subject: [PATCH] Fix high transcoding resolutions not being available for Win10 --- resources/lib/playback_decision.py | 18 ++++++++---------- resources/settings.xml | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/resources/lib/playback_decision.py b/resources/lib/playback_decision.py index 9fe5ed8e..d2e498a5 100644 --- a/resources/lib/playback_decision.py +++ b/resources/lib/playback_decision.py @@ -265,19 +265,17 @@ def get_resolution(): """ chosen = utils.settings('transcoderVideoQualities') res = { - '0': '420x420', - '1': '576x320', - '2': '720x480', - '3': '1024x768', - '4': '1280x720', - '5': '1280x720', + '0': '720x480', + '1': '1024x768', + '2': '1280x720', + '3': '1280x720', + '4': '1920x1080', + '5': '1920x1080', '6': '1920x1080', '7': '1920x1080', '8': '1920x1080', - '9': '1920x1080', - '10': '1920x1080', - '11': '3840x2160', - '12': '3840x2160' + '9': '3840x2160', + '10': '3840x2160' } return res[chosen] diff --git a/resources/settings.xml b/resources/settings.xml index a8b0cb76..5b143128 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -112,7 +112,7 @@ - +