mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 06:09:41 +00:00
correctly detect the displays video bit depth
This commit is contained in:
parent
ee4d7a1465
commit
ee2a7b94c4
@ -97,11 +97,8 @@ sub SaveDeviceToGlobal()
|
||||
print "ERROR parsing deviceInfo.GetVideoMode()"
|
||||
end if
|
||||
videoWidth = heightToWidth[videoHeight]
|
||||
if videoHeight = "2160" and extraData = "b10"
|
||||
bitDepth = 10
|
||||
else if videoHeight = "4320"
|
||||
bitDepth = 12
|
||||
end if
|
||||
if extraData <> invalid and extraData = "b10" then bitDepth = 10
|
||||
if videoHeight = "4320" then bitDepth = 12
|
||||
|
||||
m.global.addFields({
|
||||
device: {
|
||||
|
Loading…
Reference in New Issue
Block a user