aboutsummaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
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} !