diff --git a/revid/Config.go b/revid/Config.go index a1a2c6d4..a63184f2 100644 --- a/revid/Config.go +++ b/revid/Config.go @@ -30,7 +30,7 @@ package revid import ( "errors" "strconv" - "fmt" + _"fmt" "bitbucket.org/ausocean/utils/smartLogger" //"../../utils/smartLogger" diff --git a/revid/Revid.go b/revid/Revid.go index 9876a622..6c9a8b4f 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -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", "-",