fixed some minor stuff

This commit is contained in:
Hellow
2023-06-15 12:46:01 +02:00
parent 1324802db7
commit 6197345023
2 changed files with 6 additions and 3 deletions

View File

@@ -45,9 +45,9 @@ def correct_codec(target: Target, bitrate_kb: int = BITRATE, audio_format: str =
# run the ffmpeg command with a progressbar
ff = FfmpegProgress(ffmpeg_command)
with tqdm(total=100, position=1, desc="ffmpeg") as pbar:
with tqdm(total=100, desc="ffmpeg") as pbar:
for progress in ff.run_command_with_progress():
pbar.update(progress - pbar.n)
pbar.update(int(progress)-pbar.n)
LOGGER.debug(ff.stderr)