From ff54b40bd2c690aec9cd1d46025a60c50bfd4dde Mon Sep 17 00:00:00 2001 From: Saxon Date: Fri, 8 Nov 2019 17:35:44 +1030 Subject: [PATCH] revid/inputs.go: using alias avconfig for revid/config package --- revid/inputs.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/revid/inputs.go b/revid/inputs.go index cb5b9c3c..124d800b 100644 --- a/revid/inputs.go +++ b/revid/inputs.go @@ -44,7 +44,7 @@ import ( "bitbucket.org/ausocean/av/protocol/rtcp" "bitbucket.org/ausocean/av/protocol/rtp" "bitbucket.org/ausocean/av/protocol/rtsp" - "bitbucket.org/ausocean/av/revid/config" + avconfig "bitbucket.org/ausocean/av/revid/config" "bitbucket.org/ausocean/utils/logger" ) @@ -208,12 +208,12 @@ func (r *Revid) startRTSPCamera() (func() error, error) { gvconfig.FrameRate(int(r.cfg.FrameRate)), gvconfig.VariableBitrate(r.cfg.VBR), gvconfig.VBRQuality( - map[config.Quality]gvconfig.Quality{ - config.QualityStandard: gvconfig.QualityStandard, - config.QualityFair: gvconfig.QualityFair, - config.QualityGood: gvconfig.QualityGood, - config.QualityGreat: gvconfig.QualityGreat, - config.QualityExcellent: gvconfig.QualityExcellent, + map[avconfig.Quality]gvconfig.Quality{ + avconfig.QualityStandard: gvconfig.QualityStandard, + avconfig.QualityFair: gvconfig.QualityFair, + avconfig.QualityGood: gvconfig.QualityGood, + avconfig.QualityGreat: gvconfig.QualityGreat, + avconfig.QualityExcellent: gvconfig.QualityExcellent, }[r.cfg.VBRQuality], ), gvconfig.VBRBitrate(r.cfg.VBRBitrate),