diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-03-11 08:12:01 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-03-11 08:12:01 +0100 |
| commit | 4531ea135c84d78d96d66a08b67f1f5e09475c55 (patch) | |
| tree | 4481f6e9764dd1f3b0d45cd44324be3614cf86b3 /lib/python/Components | |
| parent | 1eae3427009157fd382ca360f8d89593225272c8 (diff) | |
| download | enigma2-4531ea135c84d78d96d66a08b67f1f5e09475c55.tar.gz enigma2-4531ea135c84d78d96d66a08b67f1f5e09475c55.zip | |
Patch by Moritz Venn: Allow to set an additional delay via config.
Note that this requires driver support, which is not necessarily complete.
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/AVSwitch.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Components/AVSwitch.py b/lib/python/Components/AVSwitch.py index 3188469a..8f4255b8 100644 --- a/lib/python/Components/AVSwitch.py +++ b/lib/python/Components/AVSwitch.py @@ -1,4 +1,5 @@ -from config import config, ConfigSlider, ConfigSelection, ConfigYesNo, ConfigEnableDisable, ConfigSubsection, ConfigBoolean +from config import config, ConfigSlider, ConfigSelection, ConfigYesNo, \ + ConfigEnableDisable, ConfigSubsection, ConfigBoolean, ConfigNumber from enigma import eAVSwitch, getDesktop from SystemInfo import SystemInfo @@ -110,6 +111,8 @@ def InitAVSwitch(): config.av.tvsystem = ConfigSelection(choices = {"pal": _("PAL"), "ntsc": _("NTSC"), "multinorm": _("multinorm")}, default="pal") config.av.wss = ConfigEnableDisable(default = True) config.av.defaultac3 = ConfigYesNo(default = False) + config.av.generalAC3delay = ConfigNumber(default = 0) + config.av.generalPCMdelay = ConfigNumber(default = 0) config.av.vcrswitch = ConfigEnableDisable(default = False) iAVSwitch = AVSwitch() |
