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()) }