mirror of https://bitbucket.org/ausocean/av.git
revid-cli: moved todo comment to correct position above output1 and output2 flag declarations
This commit is contained in:
parent
1c105405e8
commit
a421e4cee8
|
@ -105,11 +105,11 @@ var (
|
||||||
cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`")
|
cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`")
|
||||||
useNetsender = flag.Bool("NetSender", false, "Are we checking vars through netsender?")
|
useNetsender = flag.Bool("NetSender", false, "Are we checking vars through netsender?")
|
||||||
runDurationPtr = flag.Duration("runDuration", defaultRunDuration, "How long do you want revid to run for?")
|
runDurationPtr = flag.Duration("runDuration", defaultRunDuration, "How long do you want revid to run for?")
|
||||||
// TODO: We should make this a comma-separated list that can have an arbitrary
|
flagNames = [noOfConfigFlags]struct{ name, description string }{
|
||||||
//number of targets. Duplicating fields to do this is a code smell.
|
|
||||||
flagNames = [noOfConfigFlags]struct{ name, description string }{
|
|
||||||
{"Input", "The input type: Raspivid, File"},
|
{"Input", "The input type: Raspivid, File"},
|
||||||
{"InputCodec", "The codec of the input: H264, Mjpeg"},
|
{"InputCodec", "The codec of the input: H264, Mjpeg"},
|
||||||
|
// TODO: We should make this a comma-separated list that can have an arbitrary
|
||||||
|
//number of targets.
|
||||||
{"Output1", "The first output type: Http, Rtmp, File, Udp, Rtp"},
|
{"Output1", "The first output type: Http, Rtmp, File, Udp, Rtp"},
|
||||||
{"Output2", "The second output type: Http, Rtmp, File, Udp, Rtp"},
|
{"Output2", "The second output type: Http, Rtmp, File, Udp, Rtp"},
|
||||||
{"RtmpMethod", "The method used to send over rtmp: Ffmpeg, Librtmp"},
|
{"RtmpMethod", "The method used to send over rtmp: Ffmpeg, Librtmp"},
|
||||||
|
|
Loading…
Reference in New Issue