Skip to content
Permalink
Browse files

Fix timestamp on contact sheets

  • Loading branch information...
HenrySlawniak committed Nov 1, 2018
1 parent d4e45c4 commit 2da334a5ff85e400b2761406af8cd4e3da05bc34
Showing with 1 addition and 1 deletion.
  1. +1 −1 contactsheet.go
@@ -169,7 +169,7 @@ func generateContactSheet(vid *Video) {
rect := image.Rect(xOff, yOff, xOff+FrameWidth, yOff+FrameHeight)
draw.Draw(sheet, rect, frame, frame.Bounds().Min, draw.Src)

frameTime := stampToString(((float64(vid.Duration)) / float64(vid.ThumbCount)) * float64(i))
frameTime := stampToString(vid.Step * float64(i))
stampSize := FontSize * 0.7
c.SetFontSize(stampSize)
c.SetSrc(textCol)

0 comments on commit 2da334a

Please sign in to comment.
You can’t perform that action at this time.