From 5917bcfff3693b43f91cd7fd689abdab74213336 Mon Sep 17 00:00:00 2001 From: lil-bandit Date: Mon, 28 Jul 2025 00:42:28 +0200 Subject: [PATCH] Fix: adjust maxDuration handling --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index ed685ef..e146a8d 100644 --- a/config/config.go +++ b/config/config.go @@ -15,7 +15,7 @@ func New(c *cli.Context) (*entity.Config, error) { Framerate: c.Int("framerate"), Resolution: c.Int("resolution"), Pattern: c.String("pattern"), - MaxDuration: c.Int("max-duration") * 60, + MaxDuration: c.Int("max-duration"), MaxFilesize: c.Int("max-filesize"), Port: c.String("port"), Interval: c.Int("interval"),