| Index: media/filters/ffmpeg_video_decoder.cc
|
| ===================================================================
|
| --- media/filters/ffmpeg_video_decoder.cc (revision 23852)
|
| +++ media/filters/ffmpeg_video_decoder.cc (working copy)
|
| @@ -306,6 +306,8 @@
|
| // |pts_queue_|.
|
| pts.timestamp = pts_queue.top();
|
| } else {
|
| + DCHECK(last_pts.timestamp != StreamSample::kInvalidTimestamp);
|
| + DCHECK(last_pts.duration != StreamSample::kInvalidTimestamp);
|
| // Unable to read the pts from anywhere. Time to guess.
|
| pts.timestamp = last_pts.timestamp + last_pts.duration;
|
| }
|
|
|