aboutsummaryrefslogtreecommitdiff
path: root/system/settings
diff options
context:
space:
mode:
authorpopcornmix <popcornmix@gmail.com>2014-07-09 23:31:32 +0100
committerpopcornmix <popcornmix@gmail.com>2014-08-05 00:11:08 +0100
commit2dc77c01d5cc11801a9679f293138d8fea878803 (patch)
tree70093ac11c1c5ffea55a726aa6aca3aeb92ffd18 /system/settings
parent6f26fca0a4c12b94b39fd911afe2a37468946472 (diff)
[rbp] Make gui limit default to 720 when memory is limited
On a 256M Pi, it's safest to default to 720p gui as memory is quite limited.
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/rbp.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/system/settings/rbp.xml b/system/settings/rbp.xml
index 2b7d0a636b..28e68eba63 100644
--- a/system/settings/rbp.xml
+++ b/system/settings/rbp.xml
@@ -39,12 +39,17 @@
</setting>
<setting id="videoscreen.limitgui" type="integer" label="37021" help="36548">
<level>2</level>
- <default>1080</default>
+ <default>0</default>
<constraints>
- <minimum>540</minimum>
- <step>16</step>
- <maximum>1080</maximum>
+ <options>
+ <option label="37026">0</option> <!-- auto -->
+ <option label="37027">540</option> <!-- 540 -->
+ <option label="37028">720</option> <!-- 720 -->
+ <option label="37029">900</option> <!-- 900 -->
+ <option label="37030">1080</option> <!-- unlimited -->
+ </options>
</constraints>
+ <control type="spinner" format="string" />
<control type="edit" format="integer" />
</setting>
</group>