aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorquietvoid <39477805+quietvoid@users.noreply.github.com>2024-01-27 07:16:27 -0500
committerquietvoid <39477805+quietvoid@users.noreply.github.com>2024-01-28 06:26:12 -0500
commite2c54e7fa945276c7d36a7081bbb92b3f3447328 (patch)
treee80e08aa0ee64f9b7835215bdd52e615578907cd /system
parentb11eb7ccf761424bb68e35189e393b1739286b83 (diff)
[Android] Allow removing Dolby Vision dynamic HDR metadata
Diffstat (limited to 'system')
-rwxr-xr-xsystem/settings/settings.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index dc80d94572..d38de29414 100755
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -190,6 +190,21 @@
<default>false</default>
<control type="toggle" />
</setting>
+ <setting id="videoplayer.allowedhdrformats" type="list[integer]" label="39198" help="39199">
+ <requirement>HAS_MEDIACODEC</requirement>
+ <level>2</level>
+ <default>0</default> <!-- Allow all HDR formats -->
+ <constraints>
+ <options>
+ <option label="39200">0</option> <!-- Dolby Vision -->
+ </options>
+ <delimiter>,</delimiter>
+ </constraints>
+ <control type="list" format="string">
+ <multiselect>true</multiselect>
+ <hidevalue>false</hidevalue>
+ </control>
+ </setting>
</group>
<group id="4" label="14232">
<setting id="videoplayer.stereoscopicplaybackmode" type="integer" label="36520" help="36537">