mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
h264: improve error message
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user