| Index: media/filters/source_buffer_stream.cc
|
| diff --git a/media/filters/source_buffer_stream.cc b/media/filters/source_buffer_stream.cc
|
| index f72b00aea14f2ba056ecbe28f166cada628a3620..8bc65854c0d2331b5b5ba39af9768a73540d487c 100644
|
| --- a/media/filters/source_buffer_stream.cc
|
| +++ b/media/filters/source_buffer_stream.cc
|
| @@ -717,6 +717,11 @@ bool SourceBufferStream::IsMonotonicallyIncreasing(
|
| base::TimeDelta current_timestamp = (*itr)->GetDecodeTimestamp();
|
| bool current_is_keyframe = (*itr)->IsKeyframe();
|
| DCHECK(current_timestamp != kNoTimestamp());
|
| + DCHECK((*itr)->duration() >= base::TimeDelta())
|
| + << "Packet with invalid duration."
|
| + << " pts " << (*itr)->timestamp().InSecondsF()
|
| + << " dts " << (*itr)->GetDecodeTimestamp().InSecondsF()
|
| + << " dur " << (*itr)->duration().InSecondsF();
|
|
|
| if (prev_timestamp != kNoTimestamp()) {
|
| if (current_timestamp < prev_timestamp) {
|
|
|