From b66d7b2d653f65a318d67b413d8680123bf14b25 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Tue, 31 Jan 2017 22:56:00 +0100 Subject: Minor PEP8 fixes --- voctocore/lib/avpreviewoutput.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'voctocore') 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} ! -- cgit v1.2.3