aboutsummaryrefslogtreecommitdiff
path: root/system/settings/settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings/settings.xml')
-rwxr-xr-xsystem/settings/settings.xml67
1 files changed, 41 insertions, 26 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index 55877e7398..0f559176be 100755
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -193,16 +193,45 @@
<control type="toggle" />
</setting>
<setting id="videoplayer.convertdovi" type="boolean" label="39196" help="39197">
- <requirement>HAS_MEDIACODEC</requirement>
+ <requirement><!-- Android and webOS use CBitstreamConverter -->
+ <or>
+ <condition>HAS_MEDIACODEC</condition>
+ <condition>HAVE_WEBOS</condition>
+ </or>
+ </requirement>
<dependencies>
<dependency type="visible">
- <condition on="property" name="supportsdolbyvision" />
+ <or>
+ <condition on="property" name="supportsdolbyvision" />
+ <condition>HAVE_WEBOS</condition>
+ </or>
</dependency>
</dependencies>
<level>2</level>
<default>false</default>
<control type="toggle" />
</setting>
+ <setting id="videoplayer.allowedhdrformats" type="list[integer]" label="39198" help="39199">
+ <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>
+ <options>
+ <option label="39200">0</option> <!-- Dolby Vision -->
+ <option label="39201">1</option> <!-- HDR10+ -->
+ </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">
@@ -2509,7 +2538,7 @@
<group id="1" label="16000">
<setting id="filecache.buffermode" type="integer" label="37103" help="37104">
<level>2</level>
- <default>4</default>
+ <default>4</default> <!-- All network filesystems -->
<constraints>
<options>filecachebuffermodes</options>
</constraints>
@@ -2517,7 +2546,7 @@
</setting>
<setting id="filecache.memorysize" type="integer" label="37105" help="37106">
<level>2</level>
- <default>20</default>
+ <default>64</default> <!-- 64 MB -->
<dependencies>
<dependency type="enable">
<condition setting="filecache.buffermode" operator="!is">3</condition>
@@ -2530,7 +2559,7 @@
</setting>
<setting id="filecache.readfactor" type="integer" label="37107" help="37108">
<level>2</level>
- <default>400</default>
+ <default>0</default> <!-- Adaptive -->
<dependencies>
<dependency type="enable">
<condition setting="filecache.buffermode" operator="!is">3</condition>
@@ -2545,7 +2574,7 @@
<group id="2" label="37053">
<setting id="filecache.chunksize" type="integer" label="37053" help="37109">
<level>2</level>
- <default>131072</default>
+ <default>131072</default> <!-- 128 KB -->
<dependencies>
<dependency type="enable">
<condition setting="filecache.buffermode" operator="!is">3</condition>
@@ -2990,7 +3019,12 @@
<control type="toggle" />
</setting>
<setting id="videoscreen.guipeakluminance" type="integer" label="36097" help="36547">
- <requirement>HAS_DX</requirement>
+ <requirement>
+ <or>
+ <condition>HAS_DX</condition>
+ <condition>HAS_MEDIACODEC</condition>
+ </or>
+ </requirement>
<dependencies>
<dependency type="visible" on="property" name="ishdrdisplay"/>
<dependency type="enable">
@@ -4009,25 +4043,6 @@
</dependencies>
<control type="list" format="string" />
</setting>
- <setting id="locale.timezonecountry" type="string" label="14079" help="36117">
- <level>1</level>
- <default>default</default> <!-- will be properly set on startup -->
- <constraints>
- <options>timezonecountries</options>
- </constraints>
- <control type="list" format="string" />
- </setting>
- <setting id="locale.timezone" type="string" label="14080" help="36118">
- <level>1</level>
- <default>default</default> <!-- will be properly set on startup -->
- <constraints>
- <options>timezones</options>
- </constraints>
- <dependencies>
- <dependency type="update" setting="locale.timezonecountry" />
- </dependencies>
- <control type="list" format="string" />
- </setting>
<setting id="locale.shortdateformat" type="string" label="14109" help="36173">
<level>2</level>
<default>regional</default>