aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2014-03-06 18:34:50 +0100
committerRainer Hochecker <fernetmenta@online.de>2014-03-06 20:58:26 +0100
commitb456ddb636ee91ee28e91ebb43b19d670725da26 (patch)
tree58a9a7b50bb6468b8b4de3309adb3638f2360aa0
parent8558499203b1489eee925785708f3dcc4d34f1aa (diff)
AE: only display setting for EAC3 if sink supports it
-rw-r--r--system/settings/settings.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index ca2ac561f2..4cd94d03d4 100644
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -2534,7 +2534,12 @@
<level>2</level>
<default>false</default>
<dependencies>
- <dependency type="visible" on="property" name="aesettingvisible" setting="audiooutput.config">audiooutput.passthrough</dependency>
+ <dependency type="visible">
+ <and>
+ <condition on="property" name="aesettingvisible" setting="audiooutput.config">audiooutput.eac3passthrough</condition>
+ <condition on="property" name="aesettingvisible" setting="audiooutput.passthroughdevice">audiooutput.eac3passthrough</condition>
+ </and>
+ </dependency>
<dependency type="enable" setting="audiooutput.passthrough" operator="is">true</dependency>
</dependencies>
<control type="toggle" />