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 18:34:50 +0100
commit86076f33a21399ebfe5e7d7d1681001d1974b3a5 (patch)
treeccdf2d35badfd6e1b6ae52ac8a0157618b21e2a1
parentb6b5cee3f3340d53c4df1888010b1239517e800b (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" />