mirror of https://bitbucket.org/ausocean/av.git
pls
This commit is contained in:
parent
efa02c3799
commit
f40d77ea48
|
@ -495,12 +495,8 @@ func (r *revidInst) setupInputForRaspivid() error {
|
||||||
"-fps", r.config.FrameRate,
|
"-fps", r.config.FrameRate,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
stdout, err := r.cmd.StdoutPipe()
|
stdout, _ := r.cmd.StdoutPipe()
|
||||||
if err != nil {
|
err := r.cmd.Start()
|
||||||
r.Log(Error, err.Error())
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
err = r.cmd.Start()
|
|
||||||
r.inputReader = bufio.NewReader(stdout)
|
r.inputReader = bufio.NewReader(stdout)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
r.Log(Error, err.Error())
|
r.Log(Error, err.Error())
|
||||||
|
|
Loading…
Reference in New Issue