mirror of https://bitbucket.org/ausocean/av.git
revid/inputs.go: using alias avconfig for revid/config package
This commit is contained in:
parent
772c381293
commit
ff54b40bd2
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue