This commit is contained in:
Zen 2020-12-28 01:38:44 +02:00
parent 6863fdb5e7
commit 796d0d5116
2 changed files with 1 additions and 7 deletions

View file

@ -78,10 +78,6 @@ class Main:
sys.exit()
class EncodingManager:
def __init__(self):
@ -209,7 +205,7 @@ class EncodingManager:
write_progress_file(Path(project.temp / 'done.json'), chunk, encoded_frames)
enc_time = round(time.time() - st_time, 2)
log(f'Done: {chunk.name} Fr: {encoded_frames}\n'
log(f'Done: {chunk.name} Fr: {encoded_frames}/{chunk_frames}\n'
f'Fps: {round(encoded_frames / enc_time, 4)} Time: {enc_time} sec.\n\n')
def frame_check_output(self, chunk: Chunk, expected_frames: int) -> int:

View file

@ -152,8 +152,6 @@ class Project(object):
def determine_workers(self):
"""Returns number of workers that machine can handle with selected encoder."""
# If set by user, skip
if self.workers:
return self.workers