fixing some more errors

This commit is contained in:
Saxon1 2018-05-05 13:48:38 +09:30
parent 40c0989fc1
commit 3c0b507bd1
1 changed files with 6 additions and 6 deletions

View File

@ -546,16 +546,16 @@ func (r *revid) setupInputForRaspivid() error {
}
if r.config.QuantizationMode == QuantizationOn{
append(arguments,"-qp")
append(arguments,r.config.Quantization);
arguments = append(arguments,"-qp")
arguments = append(arguments,r.config.Quantization);
}
if r.config.HorizontalFlip == Yes {
append(arguments, "-hf")
arguments = append(arguments, "-hf")
}
if r.config.VerticalFlip == Yes {
append(arguments, "-vf")
arguments = append(arguments, "-vf")
}
r.cmd = &Cmd{
@ -564,9 +564,9 @@ func (r *revid) setupInputForRaspivid() error {
}
if filepath.Base(name) == name {
if lp, err := LookPath(name); err != nil {
cmd.lookPathErr = err
r.cmd.lookPathErr = err
} else {
cmd.Path = lp
r.cmd.Path = lp
}
}