mirror of
https://github.com/teacat/chaturbate-dvr.git
synced 2025-10-29 16:59:59 +00:00
Fix: adjust maxDuration handling
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user