mirror of https://bitbucket.org/ausocean/av.git
cmd/ts-repair: got rid of debug prints
This commit is contained in:
parent
0fe5affc00
commit
e6671c5772
|
@ -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