only add target once, add ,to derivatives

This commit is contained in:
j 2011-03-26 15:18:21 +01:00
commit e3bd260b55
3 changed files with 2 additions and 4 deletions

View file

@ -192,7 +192,7 @@ def stream(video, target, profile, info):
if format == 'webm':
cmd += ['-f', 'webm', target]
if format == 'mp4':
elif format == 'mp4':
#mp4 needs postprocessing(qt-faststart), write to temp file
cmd += ["%s.mp4"%target]
else :