mirror of https://bitbucket.org/ausocean/av.git
no looging messages
This commit is contained in:
parent
55e13c2f8f
commit
ba1c304281
|
@ -210,7 +210,6 @@ func (r *Revid) reset(c config.Config) error {
|
||||||
st = mts.EncodeMJPEG
|
st = mts.EncodeMJPEG
|
||||||
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
|
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
|
||||||
r.cfg.CBR = true
|
r.cfg.CBR = true
|
||||||
r.cfg.Logger.Log(logger.Info, "codec set to mjpeg", "CBR", r.cfg.CBR)
|
|
||||||
default:
|
default:
|
||||||
panic("unknown input codec for raspivid input")
|
panic("unknown input codec for raspivid input")
|
||||||
}
|
}
|
||||||
|
@ -222,7 +221,6 @@ func (r *Revid) reset(c config.Config) error {
|
||||||
st = mts.EncodeMJPEG
|
st = mts.EncodeMJPEG
|
||||||
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
|
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
|
||||||
r.cfg.CBR = true
|
r.cfg.CBR = true
|
||||||
r.cfg.Logger.Log(logger.Info, "codec set to mjpeg", "CBR", r.cfg.CBR)
|
|
||||||
default:
|
default:
|
||||||
panic("unknown input codec for v4l or input file input")
|
panic("unknown input codec for v4l or input file input")
|
||||||
}
|
}
|
||||||
|
@ -236,7 +234,6 @@ func (r *Revid) reset(c config.Config) error {
|
||||||
st = mts.EncodeMJPEG
|
st = mts.EncodeMJPEG
|
||||||
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
|
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
|
||||||
r.cfg.CBR = true
|
r.cfg.CBR = true
|
||||||
r.cfg.Logger.Log(logger.Info, "codec set to mjpeg", "CBR", r.cfg.CBR)
|
|
||||||
default:
|
default:
|
||||||
panic("unknown input codec for RTSP input")
|
panic("unknown input codec for RTSP input")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue