revid-cli: moved todo comment to correct position above output1 and output2 flag declarations

This commit is contained in:
saxon 2018-11-30 22:29:20 +10:30
parent 1c105405e8
commit a421e4cee8
1 changed files with 3 additions and 3 deletions

View File

@ -105,11 +105,11 @@ var (
cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`")
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?")
// TODO: We should make this a comma-separated list that can have an arbitrary
//number of targets. Duplicating fields to do this is a code smell.
flagNames = [noOfConfigFlags]struct{ name, description string }{
{"Input", "The input type: Raspivid, File"},
{"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"},
{"Output2", "The second output type: Http, Rtmp, File, Udp, Rtp"},
{"RtmpMethod", "The method used to send over rtmp: Ffmpeg, Librtmp"},