Skip to content

Commit

Permalink
Update functions.sh: rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Sep 17, 2023
1 parent 83c4135 commit 802fb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ function make_thumbnail()
local SEC="${1}"
local INPUT_FILE="${2}"
local THUMBNAIL="${3}"
local THUMBNAIL_SIZE_X="$( settings ".thumbnailssizex" )"
local THUMBNAIL_SIZE_X="$( settings ".thumbnailsizex" )"
ffmpeg -loglevel error -ss "00:00:${SEC}" -i "${INPUT_FILE}" \
-filter:v scale="${THUMBNAIL_SIZE_X}:-1" -frames:v 1 "${THUMBNAIL}"
}
Expand Down

0 comments on commit 802fb5c

Please sign in to comment.