summaryrefslogtreecommitdiff
path: root/voctocore/lib/avpreviewoutput.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-08-17 13:57:58 +0200
committerPeter Körner <pkoerner@seibert-media.net>2016-09-27 10:01:07 +0200
commit9834a6809d49ad63cf1af88b44efb02db6bca7ac (patch)
treefafebb7418708995e848733bb049a527ecb6834a /voctocore/lib/avpreviewoutput.py
parentbb795bad0b439f6236f74f79c04e88888867b1dd (diff)
add configurable decoders into the gui
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r--voctocore/lib/avpreviewoutput.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index b43b5c7..91e2031 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -24,6 +24,7 @@ class AVPreviewOutput(TCPMultiConnection):
deinterlace = "deinterlace mode=interlaced !"
venc = 'jpegenc quality=90'
+ if Config.has_option('previews', 'vaapi'):
try:
encoder = Config.get('previews', 'vaapi')
encoders = {