Merge pull request #208 from n9Mtq4/fix/fpr_1chunk

Zero pad first pass file with 1 chunk
This commit is contained in:
Zen 2021-01-10 05:26:55 +02:00 committed by GitHub
commit 4ba9807131
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ def segment_first_pass(temp, framenums):
# special case for only 1 scene
# we don't need to do anything with the log
if len(framenums) == 0:
write_first_pass_log(os.path.join(temp, "split", "0_fpf.log"), stats)
write_first_pass_log(os.path.join(temp, "split", "00000_fpf.log"), stats)
return
eos_stats = stats[-1] # EOS stats is the last one