diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2012-03-04 20:47:54 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2012-03-04 20:47:54 +0100 |
commit | 24c46684254bb9d5240cb63f380842a792f3a061 (patch) | |
tree | c2a83fcebd92a8ff6e21dbf7ddb28ee621446469 | |
parent | 69984a8c93ec8910b3cb026c9056572644c059ac (diff) |
Fixed multi-track brokenness.
-rw-r--r-- | codec.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,8 +58,8 @@ class FFmpeg(Decoder): cmd = 'ffmpeg -loglevel quiet'.split() if 'start_time' in kwargs and kwargs['start_time']: cmd += ['-ss', str(kwargs['start_time'])] - if 'end_time' in kwargs and kwargs['end_time']: - cmd += ['-t', str(kwargs['end_time'] - kwargs['start_time'])] + if 'end_time' in kwargs and kwargs['end_time']: + cmd += ['-t', str(kwargs['end_time'] - kwargs['start_time'])] cmd += ['-i', self.source, '-y', self.destination] devnull = open('/dev/null', 'a+') p = subprocess.Popen(cmd, stderr = devnull, close_fds = True) |