Skip to content

Commit a608456

Browse files
committedFeb 23, 2025
Show canonical names for progress bar
1 parent 1e29395 commit a608456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎auto_editor/edit.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,10 @@ def make_media(tl: v3, output_path: str) -> None:
376376
name = output_stream.codec.canonical_name
377377
encoder_titles.append(name if no_color else f"\033[95m{name}")
378378
if audio_streams:
379-
name = audio_streams[0].name.canonical_name # type: ignore
379+
name = audio_streams[0].codec.canonical_name
380380
encoder_titles.append(name if no_color else f"\033[96m{name}")
381381
if subtitle_streams:
382-
name = subtitle_streams[0].name
382+
name = subtitle_streams[0].codec.canonical_name
383383
encoder_titles.append(name if no_color else f"\033[32m{name}")
384384

385385
title = f"({os.path.splitext(output_path)[1][1:]}) "

0 commit comments

Comments
 (0)