From 2dccba6969e6aaa961ccd98a6cf77740928b7b2d Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 13 Mar 2018 21:20:36 +1030 Subject: [PATCH] Trying one last thing --- revid/RevidInstance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index 189dd387..396e0241 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -452,6 +452,8 @@ func (r *revidInst) setupOutputForFile() (err error) { // setupInputForRaspivid sets up things for input from raspivid i.e. starts // a raspivid process and pipes it's data output. func (r *revidInst) setupInputForRaspivid() error { + fps,_ := strconv.Atoi(r.config.FrameRate) + r.parser.SetDelay( uint( float64(1000) / float64(fps) ) ) r.Log(Info, "Starting raspivid!") switch r.config.InputCodec { case H264: