revid: got rid of debug prints

This commit is contained in:
saxon 2018-11-21 18:16:10 +10:30
parent 315ba6bd76
commit cedc63a0b5
2 changed files with 0 additions and 4 deletions

View File

@ -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 "":

View File

@ -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)