mirror of https://bitbucket.org/ausocean/av.git
revid: change no of frames per clip to 25 for http
This commit is contained in:
parent
ed8613a255
commit
724042baeb
|
@ -99,7 +99,7 @@ const (
|
||||||
defaultFramesPerClip = 1
|
defaultFramesPerClip = 1
|
||||||
defaultVerticalFlip = No
|
defaultVerticalFlip = No
|
||||||
defaultHorizontalFlip = No
|
defaultHorizontalFlip = No
|
||||||
httpFramesPerClip = 7
|
httpFramesPerClip = 25
|
||||||
defaultInputCodec = H264
|
defaultInputCodec = H264
|
||||||
defaultVerbosity = No
|
defaultVerbosity = No
|
||||||
)
|
)
|
||||||
|
|
|
@ -472,11 +472,10 @@ func (r *Revid) startRaspivid() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
r.inputReader = stdout
|
r.inputReader = stdout
|
||||||
go func() {
|
|
||||||
r.config.Logger.Log(smartlogger.Info, pkg+"reading camera data")
|
r.config.Logger.Log(smartlogger.Info, pkg+"reading camera data")
|
||||||
r.lexTo(r.encoder, r.inputReader, delay)
|
r.lexTo(r.encoder, r.inputReader, delay)
|
||||||
r.config.Logger.Log(smartlogger.Info, pkg+"not trying to read from camera anymore")
|
r.config.Logger.Log(smartlogger.Info, pkg+"not trying to read from camera anymore")
|
||||||
}()
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue