Skip to content

Commit

Permalink
chore: use suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Sep 5, 2024
1 parent 10ea1c1 commit c57ce6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manim_slides/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def reverse_video_file(
with tempfile.TemporaryDirectory() as tmpdirname:
tmpdir = Path(tmpdirname)
with av.open(
str(tmpdir / "%04d.mp4"),
str(tmpdir / f"%04d.{src.suffix}"),
"w",
format="segment",
options={"segment_time": str(max_segment_duration)},
Expand Down

0 comments on commit c57ce6c

Please sign in to comment.