better formating
This commit is contained in:
parent
c842256bbc
commit
74170f5c64
@ -486,8 +486,9 @@ def gen_filler_loop(duration):
|
|||||||
else:
|
else:
|
||||||
# loop filles n times
|
# loop filles n times
|
||||||
loop_count = math.ceil(duration / f_dur)
|
loop_count = math.ceil(duration / f_dur)
|
||||||
logger.info('Loop filler {} times, total duration: {}'.format(
|
logger.info(
|
||||||
loop_count, duration))
|
'Loop filler {} times, total duration: {0:.2f}'.format(
|
||||||
|
loop_count, duration))
|
||||||
return ['-stream_loop', str(loop_count),
|
return ['-stream_loop', str(loop_count),
|
||||||
'-i', _storage.filler, '-t', str(duration)]
|
'-i', _storage.filler, '-t', str(duration)]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user