diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 14cffb13..4c991897 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -209,13 +209,12 @@ func handleFlags() revid.Config { } switch *packetizationPtr { - case "None": + case "", "None": cfg.Packetization = revid.None case "Mpegts": cfg.Packetization = revid.Mpegts case "Flv": cfg.Packetization = revid.Flv - case "": default: log.Log(logger.Error, pkg+"bad packetization argument") }