From cac718473758b686b3880af04e0bfa1e5558b9f0 Mon Sep 17 00:00:00 2001 From: saxon Date: Fri, 25 Jan 2019 15:18:27 +1030 Subject: [PATCH] cmd/ts-repair: got rid of debug prints --- cmd/ts-repair/main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/ts-repair/main.go b/cmd/ts-repair/main.go index f34da350..039ada9b 100644 --- a/cmd/ts-repair/main.go +++ b/cmd/ts-repair/main.go @@ -148,15 +148,11 @@ func main() { case diUpdate: if cc != expect { - fmt.Printf("packetNo: %v pid: %v, cc: %v, expect: %v\n", packetNo, pid, cc, expect) + fmt.Printf("***** Discontinuity found (packetNo: %v pid: %v, cc: %v, expect: %v)\n", packetNo, pid, cc, expect) if p.hasAdaptation() { - fmt.Println("hasAdaptation") p.setDI(true) } else { - fmt.Println("doesn't have adaptation") - fmt.Println(p) p.addAdaptationField(DiscontinuityIndicator(true)) - fmt.Println(p) } updateCCMap(int(pid), p.CC()) }