fixed some syntax errors

This commit is contained in:
Saxon1 2018-05-03 17:58:56 +09:30
parent 12cefea60a
commit ef1ede1eb5
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ package revid
import (
"errors"
"strconv"
"fmt"
_"fmt"
"bitbucket.org/ausocean/utils/smartLogger"
//"../../utils/smartLogger"

View File

@ -537,7 +537,7 @@ func (r *revid) setupInputForRaspivid() error {
case H264:
switch r.config.QuantizationMode {
case QuantizationOn:
if config.Flip == config.No {
if r.config.Flip == config.No {
r.cmd = exec.Command("raspivid",
"-cd", "H264",
"-o", "-",
@ -570,7 +570,7 @@ func (r *revid) setupInputForRaspivid() error {
}
case QuantizationOff:
if config.Flip == config.No {
if r.config.Flip == config.No {
r.cmd = exec.Command("raspivid",
"-cd", "H264",
"-o", "-",