cmd/ts-repair: got rid of debug prints

This commit is contained in:
saxon 2019-01-25 15:18:27 +10:30
parent 72f0087b9a
commit cac7184737
1 changed files with 1 additions and 5 deletions

View File

@ -148,15 +148,11 @@ func main() {
case diUpdate: case diUpdate:
if cc != expect { 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() { if p.hasAdaptation() {
fmt.Println("hasAdaptation")
p.setDI(true) p.setDI(true)
} else { } else {
fmt.Println("doesn't have adaptation")
fmt.Println(p)
p.addAdaptationField(DiscontinuityIndicator(true)) p.addAdaptationField(DiscontinuityIndicator(true))
fmt.Println(p)
} }
updateCCMap(int(pid), p.CC()) updateCCMap(int(pid), p.CC())
} }