Skip to content

Commit

Permalink
half
Browse files Browse the repository at this point in the history
  • Loading branch information
fearocanity authored Feb 10, 2024
1 parent c4d786d commit d1c5e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameposter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ nth(){
# Note: this code below is tweaked, inshort its adjusted to become synced to frames
sec="$(bc -l <<< "scale=2; (${t:-1} - 1) * 6.8571428571428571429 / ${vid_fps}")"
[[ "${2}" = "timestamp" ]] && sec="$(bc -l <<< "scale=2; ${t:-1} * 6.8571428571428571429 / ${vid_fps}")"
[[ "${is_bonus}" = "1" ]] && sec="$(bc -l <<< "scale=2; ${sec} + 0.29")"
[[ "${is_bonus}" = "1" ]] && sec="$(bc -l <<< "scale=2; ${sec} + 0.145")"
secfloat="${sec#*.}" sec="${sec%.*}" sec="${sec:-0}"

# This code below is standard, without tweaks. uncomment if the subtitles we're synced.
Expand Down

0 comments on commit d1c5e4b

Please sign in to comment.