[mod] blank lines for lisibility

This commit is contained in:
Laurent Peuch 2016-05-04 09:39:50 +02:00
parent ed41772ed7
commit 04056bd876

View File

@ -67,7 +67,9 @@ class Video(object):
"format": "-f %s" % options["format"],
"binary": "%s" % options["binary"]
}
warning("Generation", source)
if options.get("resize"):
command = "{binary} {loglevel} -i {source} {resize} -vframes 1 -y {target}".format(**ffmpeg_switches)
os.system(command)
@ -76,6 +78,7 @@ class Video(object):
command2 = "{binary} {loglevel} -i {source} {resolution} {preselect} {bitrate} -pass 2 -acodec libvorbis -ab 100k {format} -y {target}".format(**ffmpeg_switches)
os.system(command)
os.system(command2)
CACHE.cache_picture(source, target, options)
def copy(self):