h264: improve error message

This commit is contained in:
aler9
2022-07-24 12:07:30 +02:00
parent 73830e29be
commit 2c8889602c

View File

@@ -299,7 +299,7 @@ func (d *DTSExtractor) Extract(nalus [][]byte, pts time.Duration) (time.Duration
}
if d.prevDTS != nil && dts <= *d.prevDTS {
return 0, fmt.Errorf("DTS is not monotonically increasing (was %v, now is %v)",
return 0, fmt.Errorf("DTS is not monotonically increasing, was %v, now is %v",
*d.prevDTS, dts)
}