From cedc63a0b59e4b46a38fe877dfa034352629efbd Mon Sep 17 00:00:00 2001 From: saxon Date: Wed, 21 Nov 2018 18:16:10 +1030 Subject: [PATCH] revid: got rid of debug prints --- cmd/revid-cli/main.go | 2 -- revid/revid.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 47dd0226..58c094f6 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -30,7 +30,6 @@ package main import ( "flag" - "fmt" "os" "runtime/pprof" "strconv" @@ -215,7 +214,6 @@ func handleFlags() { case "Udp": config.Output = revid.Udp case "Rtp": - fmt.Println("rtp output") config.Output = revid.Rtp config.Packetization = revid.MpegtsRtp case "": diff --git a/revid/revid.go b/revid/revid.go index 4b1ed4f8..15088494 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -228,7 +228,6 @@ func (r *Revid) reset(config Config) error { case Http: r.destination = newHttpSender(r.ns, r.config.Logger.Log) case Rtp: - fmt.Println("here") s, err := newUdpSender(r.config.RtpAddress, r.config.Logger.Log) if err != nil { return err @@ -280,7 +279,6 @@ func (r *Revid) reset(config Config) error { return err } case MpegtsRtp: - fmt.Println("here") r.config.Logger.Log(smartlogger.Info, pkg+"using RTP packetisation") frameRate, _ := strconv.Atoi(r.config.FrameRate) r.encoder = rtp.NewEncoder(&r.packer, frameRate)