aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorquietvoid <39477805+quietvoid@users.noreply.github.com>2024-01-28 15:22:10 -0500
committerquietvoid <39477805+quietvoid@users.noreply.github.com>2024-01-29 12:54:47 -0500
commit032cbfeb20f7ec6ca54f98b76efdd3a8a80aac21 (patch)
tree1a30bc49f7740af311e62153e2dfa9ce135ff1ef /system
parent33e546ed8a1ac1e13fb30f1a3e8d392328219106 (diff)
[webOS] Add setting to select allowed HDR dynamic metadata formats
It uses CBitstreamConverter and supports Dolby Vision. Therefore the setting can be useful. There are also TV models that have compatibility issues with videos containing both Dolby Vision and HDR10+ metadata in the bitstream. So by default, HDR10+ is always disabled as no TVs support it anyway. Fixes #24390.
Diffstat (limited to 'system')
-rwxr-xr-xsystem/settings/settings.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index 45ee68e299..9e09dc3578 100755
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -191,7 +191,12 @@
<control type="toggle" />
</setting>
<setting id="videoplayer.allowedhdrformats" type="list[integer]" label="39198" help="39199">
- <requirement>HAS_MEDIACODEC</requirement>
+ <requirement><!-- Android and webOS use CBitstreamConverter -->
+ <or>
+ <condition>HAS_MEDIACODEC</condition>
+ <condition>HAVE_WEBOS</condition>
+ </or>
+ </requirement>
<level>2</level>
<default>0,1</default> <!-- Allow all HDR formats -->
<constraints>