pull/10/head
RandomNinjaAtk 5 years ago committed by GitHub
parent ba4bcdb4b6
commit e269e8ec60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,10 +20,12 @@ def main():
safeConfigParser.set("Converter", "threads", os.environ.get("CONVERTER_THREADS"))
if os.environ.get("CONVERTER_HWACCELS"):
safeConfigParser.set("Converter", "hwaccels", os.environ.get("CONVERTER_HWACCELS"))
else:
safeConfigParser.set("Converter", "hwaccels", " ")
if os.environ.get("CONVERTER_HWACCEL_DECODERS"):
safeConfigParser.set("Converter", "hwaccel-decoders", os.environ.get("CONVERTER_HWACCEL_DECODERS"))
if os.environ.get("CONVERTER_THREADS"):
safeConfigParser.set("Converter", "threads", os.environ.get("CONVERTER_THREADS"))
else:
safeConfigParser.set("Converter", "hwaccel-decoders", " ")
if os.environ.get("CONVERTER_OUTPUT_FORMAT"):
safeConfigParser.set("Converter", "output-format", os.environ.get("CONVERTER_OUTPUT_FORMAT"))
if os.environ.get("CONVERTER_OUTPUT_EXTENSION"):

Loading…
Cancel
Save