aboutsummaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2017-01-31 22:56:00 +0100
committerFlorian Zeitz <florob@babelmonkeys.de>2017-01-31 22:56:00 +0100
commitb66d7b2d653f65a318d67b413d8680123bf14b25 (patch)
tree43809104c5fed1eb4ac041991dd1d47aa9f37f38 /voctocore
parent5516fdee86fe0ffcd34381985ebe798f9fbda1af (diff)
Minor PEP8 fixes
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/avpreviewoutput.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index 2be4a52..fc46dcc 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -98,8 +98,8 @@ class AVPreviewOutput(TCPMultiConnection):
struct = caps.get_structure(0)
_, width = struct.get_int('width')
_, height = struct.get_int('height')
- _, framerate_numerator, framerate_denominator = struct.get_fraction('framerate')
-
+ (_, framerate_numerator,
+ framerate_denominator) = struct.get_fraction('framerate')
return '''
capsfilter caps=video/x-raw,interlace-mode=progressive !
@@ -132,7 +132,6 @@ class AVPreviewOutput(TCPMultiConnection):
else:
pipeline = ''
-
pipeline += '''
videoscale !
{target_caps} !