Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: media/filters/ffmpeg_video_decoder.cc

Issue 173072: Suppress slider thumb jumping around during seeking... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698