allow YUV if manually enabled
[enigma2.git] / lib / python / Components / RecordingConfig.py
1 from config import *
2 import os
3 from enigma import *
4
5 def InitRecordingConfig():
6         config.recording = ConfigSubsection();
7         config.recording.asktozap = configElement("config.recording.asktozap", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) )
8         config.recording.margin_before = configElement("config.recording.margin_before", configSequence, [0], configsequencearg.get("INTEGER", (0, 30)))
9         config.recording.margin_after = configElement("config.recording.margin_after", configSequence, [0], configsequencearg.get("INTEGER", (0, 30)))