Skip to content

Commit

Permalink
fix: 🐛 Odd height gifs will be rendered without error
Browse files Browse the repository at this point in the history
Original issue: #34
  • Loading branch information
indcoder committed Aug 13, 2021
1 parent e0ebc9f commit 230e95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _11ty/video-gif.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ exports.gif2mp4 = async function (filename) {
"-i",
join("_site", filename),
"-filter_complex",
"[0:v] fps=15",
"[0:v] fps=15, scale=iw:-2",
"-vsync",
0,
"-f",
Expand Down

0 comments on commit 230e95d

Please sign in to comment.