mirror of https://bitbucket.org/ausocean/av.git
Formatted code
This commit is contained in:
parent
48d36c2082
commit
565ba3079c
|
@ -202,7 +202,7 @@ func handleFlags() config.Config {
|
|||
cfg.InputCodec = codecutil.PCM
|
||||
case "ADPCM":
|
||||
cfg.InputCodec = codecutil.ADPCM
|
||||
case "MJPEG":
|
||||
case "MJPEG":
|
||||
cfg.InputCodec = codecutil.MJPEG
|
||||
default:
|
||||
log.Log(logger.Error, pkg+"bad input codec argument")
|
||||
|
|
|
@ -121,7 +121,7 @@ func (w *Webcam) Start() error {
|
|||
"-r", fmt.Sprint(w.cfg.FrameRate),
|
||||
"-b:v", fmt.Sprint(br),
|
||||
"-s", fmt.Sprintf("%dx%d", w.cfg.Width, w.cfg.Height),
|
||||
}
|
||||
}
|
||||
|
||||
switch w.cfg.InputCodec {
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue