From b158d8cbc28be6437d76030370f3c7df689995e6 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 11 Feb 2014 17:22:34 +0100 Subject: [PATCH] shrink process args --- timeside/core.py | 3 +-- timeside/encoder/mp3.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/timeside/core.py b/timeside/core.py index 9382260..1f6e13b 100644 --- a/timeside/core.py +++ b/timeside/core.py @@ -310,9 +310,8 @@ class ProcessPipe(object): signal.signal(signal.SIGINT, signal_handler) while not eod: - frames, eod = source.process() for item in items: - frames, eod = item.process(frames, eod) + frames, eod = item.process(*source.process()) if source.id() == 'gst_live_dec': # Restore default handler for Interruption signal diff --git a/timeside/encoder/mp3.py b/timeside/encoder/mp3.py index 5de1bd0..b108e67 100644 --- a/timeside/encoder/mp3.py +++ b/timeside/encoder/mp3.py @@ -104,3 +104,4 @@ class Mp3Encoder(GstEncoder): except: raise IOError('EncoderError: cannot write tags') + -- 2.39.5