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

Unified Diff: media/filters/video_renderer_base.cc

Issue 8294027: Merge r104540 into 874 (m15). (Closed) Base URL: svn://svn.chromium.org/chrome/branches/874/src/
Patch Set: '' Created 9 years, 2 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_video_decoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_base.cc
===================================================================
--- media/filters/video_renderer_base.cc (revision 105911)
+++ media/filters/video_renderer_base.cc (working copy)
@@ -39,7 +39,7 @@
VideoRendererBase::~VideoRendererBase() {
base::AutoLock auto_lock(lock_);
- DCHECK(state_ == kUninitialized || state_ == kStopped);
+ DCHECK(state_ == kUninitialized || state_ == kStopped) << state_;
}
void VideoRendererBase::Play(FilterCallback* callback) {
@@ -97,7 +97,7 @@
playback_rate_ = playback_rate;
}
-void VideoRendererBase::Seek(base::TimeDelta time, const FilterStatusCB& cb) {
+void VideoRendererBase::Seek(base::TimeDelta time, const FilterStatusCB& cb) {
bool run_callback = false;
{
@@ -114,7 +114,6 @@
if (state_ == kPrerolled) {
// Already get enough buffers from decoder.
run_callback = true;
-
} else {
// Otherwise we are either kFlushed or kSeeking, but without enough
// buffers we should save the callback function and call it later.
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698