mirror of https://bitbucket.org/ausocean/av.git
revid,revid-cli: remove non-functional RTP mention and add MPEGTS config option
This commit is contained in:
parent
3990482ac4
commit
353d2cfcc7
|
@ -129,8 +129,6 @@ func main() {
|
|||
switch *configFlags[inputPtr] {
|
||||
case "Raspivid":
|
||||
config.Input = revid.Raspivid
|
||||
case "Rtp":
|
||||
config.Input = revid.Rtp
|
||||
case "File":
|
||||
config.Input = revid.File
|
||||
case "":
|
||||
|
@ -173,8 +171,8 @@ func main() {
|
|||
switch *configFlags[packetizationPtr] {
|
||||
case "None":
|
||||
config.Packetization = revid.None
|
||||
case "Rtp":
|
||||
config.Packetization = revid.Rtp
|
||||
case "Mpegts":
|
||||
config.Packetization = revid.Mpegts
|
||||
case "Flv":
|
||||
config.Packetization = revid.Flv
|
||||
case "":
|
||||
|
|
|
@ -65,7 +65,6 @@ type Config struct {
|
|||
const (
|
||||
NothingDefined = iota
|
||||
Raspivid
|
||||
Rtp
|
||||
H264Codec
|
||||
File
|
||||
Http
|
||||
|
@ -126,7 +125,6 @@ func (c *Config) Validate(r *Revid) error {
|
|||
}
|
||||
|
||||
switch c.Input {
|
||||
case Rtp:
|
||||
case Raspivid:
|
||||
case File:
|
||||
case NothingDefined:
|
||||
|
|
Loading…
Reference in New Issue