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:
parent
3bf6963a01
commit
5917bcfff3
@ -15,7 +15,7 @@ func New(c *cli.Context) (*entity.Config, error) {
|
|||||||
Framerate: c.Int("framerate"),
|
Framerate: c.Int("framerate"),
|
||||||
Resolution: c.Int("resolution"),
|
Resolution: c.Int("resolution"),
|
||||||
Pattern: c.String("pattern"),
|
Pattern: c.String("pattern"),
|
||||||
MaxDuration: c.Int("max-duration") * 60,
|
MaxDuration: c.Int("max-duration"),
|
||||||
MaxFilesize: c.Int("max-filesize"),
|
MaxFilesize: c.Int("max-filesize"),
|
||||||
Port: c.String("port"),
|
Port: c.String("port"),
|
||||||
Interval: c.Int("interval"),
|
Interval: c.Int("interval"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user