diff --git a/pkg/h264/dtsextractor.go b/pkg/h264/dtsextractor.go index 88ec3951..96faf38a 100644 --- a/pkg/h264/dtsextractor.go +++ b/pkg/h264/dtsextractor.go @@ -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) }