Skip to content

Commit

Permalink
Limit max fps to original fps at most during conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Jan 4, 2024
1 parent 3d88223 commit 33b1175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sticker_convert/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def convert(self) -> tuple[bool, str, Union[None, bytes, str], int]:
self.res_w = param[0]
self.res_h = param[1]
self.quality = param[2]
self.fps = param[3]
self.fps = min(param[3], self.fps_orig)
self.color = param[4]

self.tmp_f = io.BytesIO()
Expand Down

0 comments on commit 33b1175

Please sign in to comment.