mirror of https://bitbucket.org/ausocean/av.git
cmd/ts-repair: got rid of debug prints
This commit is contained in:
parent
72f0087b9a
commit
cac7184737
|
@ -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())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue