aboutsummaryrefslogtreecommitdiff
path: root/system/settings
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2015-04-29 20:41:46 +0200
committerRainer Hochecker <fernetmenta@online.de>2015-04-30 21:01:50 +0200
commitc154c361e4913889c28111ca04c95dd6885640f4 (patch)
tree89849839c8073882a6bb6cdcf18c61a3f3967265 /system/settings
parentb153f6c5e8537811900770193cb6148ffa136e70 (diff)
drop useless setting hw/sw decoding
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/android.xml10
-rw-r--r--system/settings/rbp.xml3
-rw-r--r--system/settings/settings.xml72
3 files changed, 10 insertions, 75 deletions
diff --git a/system/settings/android.xml b/system/settings/android.xml
index 0aad89597c..627cbdc318 100644
--- a/system/settings/android.xml
+++ b/system/settings/android.xml
@@ -10,11 +10,8 @@
<section id="videos">
<category id="videoacceleration">
<group id="3">
- <setting id="videoplayer.usestagefright" type="boolean" parent="videoplayer.decodingmethod" label="13436" help="36260">
+ <setting id="videoplayer.usestagefright" type="boolean" label="13436" help="36260">
<requirement>HAVE_LIBSTAGEFRIGHTDECODER</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<updates>
@@ -22,11 +19,8 @@
</updates>
<control type="toggle" />
</setting>
- <setting id="videoplayer.usemediacodec" type="boolean" parent="videoplayer.decodingmethod" label="13439" help="36544">
+ <setting id="videoplayer.usemediacodec" type="boolean" label="13439" help="36544">
<visible>HAS_MEDIACODEC</visible>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<updates>
diff --git a/system/settings/rbp.xml b/system/settings/rbp.xml
index cb83297b16..50fe36a3c3 100644
--- a/system/settings/rbp.xml
+++ b/system/settings/rbp.xml
@@ -7,9 +7,6 @@
</group>
<group id="3">
<setting id="videoplayer.usemmal" type="boolean" label="36434" help="36435">
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index f89c00a506..edbab986d2 100644
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -664,22 +664,8 @@
</requirement>
</group>
<group id="3">
- <setting id="videoplayer.decodingmethod" type="integer" label="13454" help="36431">
- <level>2</level>
- <default>1</default>
- <constraints>
- <options>
- <option label="13455">0</option> <!-- Software -->
- <option label="13456">1</option> <!-- Hardware -->
- </options>
- </constraints>
- <control type="list" format="integer" />
- </setting>
<setting id="videoplayer.useamcodec" type="boolean" label="13438" help="36422">
<requirement>HAVE_AMCODEC</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<updates>
@@ -689,9 +675,6 @@
</setting>
<setting id="videoplayer.usevdpau" type="boolean" label="13425" help="36155">
<requirement>HAVE_LIBVDPAU</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />
@@ -702,10 +685,7 @@
<default>true</default>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
</dependency>
</dependencies>
<control type="toggle" />
@@ -716,10 +696,7 @@
<default>true</default>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevdpaumpeg2" operator="is">true</dependency>
</dependencies>
@@ -731,10 +708,7 @@
<default>false</default>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevdpaumpeg4" operator="is">true</dependency>
</dependencies>
@@ -746,10 +720,7 @@
<default>true</default>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevdpau" operator="is">true</condition> <!-- USE VDPAU -->
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevdpauvc1" operator="is">true</dependency>
</dependencies>
@@ -757,9 +728,6 @@
</setting>
<setting id="videoplayer.usevaapi" type="boolean" label="13426" help="36156">
<requirement>HAVE_LIBVA</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />
@@ -768,10 +736,7 @@
<requirement>HAVE_LIBVA</requirement>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevaapi" operator="is">true</condition>
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevaapi" operator="is">true</condition>
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevaapimpeg2" operator="is">true</dependency>
</dependencies>
@@ -783,10 +748,7 @@
<requirement>HAVE_LIBVA</requirement>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevaapi" operator="is">true</condition>
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevaapi" operator="is">true</condition>
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevaapimpeg4" operator="is">true</dependency>
</dependencies>
@@ -798,10 +760,7 @@
<requirement>HAVE_LIBVA</requirement>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevaapi" operator="is">true</condition>
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevaapi" operator="is">true</condition>
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevaapivc1" operator="is">true</dependency>
</dependencies>
@@ -813,10 +772,7 @@
<requirement>HAVE_LIBVA</requirement>
<dependencies>
<dependency type="enable">
- <and>
- <condition setting="videoplayer.usevaapi" operator="is">true</condition>
- <condition setting="videoplayer.decodingmethod" operator="is">1</condition>
- </and>
+ <condition setting="videoplayer.usevaapi" operator="is">true</condition>
</dependency>
<dependency type="visible" on="property" name="codecoptionvisible" setting="videoplayer.usevaapivc1" operator="is">true</dependency>
</dependencies>
@@ -826,27 +782,18 @@
</setting>
<setting id="videoplayer.usedxva2" type="boolean" label="13427" help="36158">
<requirement>HasDXVA2</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />
</setting>
<setting id="videoplayer.useomxplayer" type="boolean" label="13458" help="13459">
<requirement>HAS_OMXPLAYER</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />
</setting>
<setting id="videoplayer.useomx" type="boolean" label="13430" help="36161">
<requirement>HAVE_LIBOPENMAX</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />
@@ -859,9 +806,6 @@
</setting>
<setting id="videoplayer.usevda" type="boolean" label="13429" help="36160">
<requirement>HasVDA</requirement>
- <dependencies>
- <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
- </dependencies>
<level>2</level>
<default>true</default>
<control type="toggle" />