mirror of https://bitbucket.org/ausocean/av.git
fixed config outputs defaulting bug
This commit is contained in:
parent
11ad16dbe1
commit
dc0ecf712d
|
@ -193,10 +193,6 @@ func handleFlags() revid.Config {
|
|||
log.Log(logger.Error, pkg+"bad input codec argument")
|
||||
}
|
||||
|
||||
if len(outputs) == 0 {
|
||||
cfg.Outputs = make([]uint8, 1)
|
||||
}
|
||||
|
||||
for _, o := range outputs {
|
||||
switch o {
|
||||
case "File":
|
||||
|
|
Loading…
Reference in New Issue