From 53f923afb14cdafa89fa215b5e63eb188cca4b42 Mon Sep 17 00:00:00 2001 From: Alan Noble Date: Fri, 15 Jun 2018 19:34:50 +0930 Subject: [PATCH] netsender.MakePins() now takes a 2nd arg. --- cmd/revid-cli/main.go | 2 +- revid/senders.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 6d63c381..c4c7e8c1 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -303,7 +303,7 @@ func main() { // (as distinct from httpSender which just sends video data). func sendTo(ns *netsender.Sender) error { // populate input values, if any - inputs := netsender.MakePins(ns.GetConfigParam("ip")) + inputs := netsender.MakePins(ns.GetConfigParam("ip"), "X") for i, pin := range inputs { if pin.Name == "X23" { inputs[i].Value = int(revidInst.GetBitrate()) diff --git a/revid/senders.go b/revid/senders.go index 75330583..b9bfa471 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -133,7 +133,7 @@ func (s *httpSender) load(c *ring.Chunk) error { } func (s *httpSender) send() error { - pins := netsender.MakePins("V0") + pins := netsender.MakePins("V0","") pins[0].Value = len(s.buf) var payload netsender.Payload payload.Name = "V0"