mirror of https://bitbucket.org/ausocean/av.git
cmd/revid-cli: use sensible default for encoding option
This commit is contained in:
parent
250da4232a
commit
b46e267983
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue