Skip to content

Commit a0677aa

Browse files
committed
PLWI: Fix _fps_reset pathlib usage, stem and suffix was mixed up
1 parent 0001945 commit a0677aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvsfunc/plwi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _fps_reset(file_path: Path) -> Path:
103103
if video_track.original_frame_rate is None:
104104
# no container-set FPS to remove, return unchanged
105105
return file_path
106-
out_path = file_path.with_stem(".pfpsreset.mkv")
106+
out_path = file_path.with_suffix(".pfpsreset.mkv")
107107
if out_path.is_file():
108108
# an fps reset was already run on this file, re-use
109109
# TODO: could be untrusted, user might just make a file named this

0 commit comments

Comments
 (0)