Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
fe4207edca
1 changed files with 7 additions and 2 deletions
|
|
@ -580,10 +580,15 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
print(f"## last processed {end:.2f}s",file=logfile,flush=True)
|
print(f"## last processed {end:.2f}s",file=logfile,flush=True)
|
||||||
|
|
||||||
beg = end
|
|
||||||
end += min_chunk
|
|
||||||
if end >= duration:
|
if end >= duration:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
beg = end
|
||||||
|
|
||||||
|
if end + min_chunk > duration:
|
||||||
|
end = duration
|
||||||
|
else:
|
||||||
|
end += min_chunk
|
||||||
now = duration
|
now = duration
|
||||||
|
|
||||||
else: # online = simultaneous mode
|
else: # online = simultaneous mode
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue