diff options
-rw-r--r-- | media/filters/video_thread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/filters/video_thread.cc b/media/filters/video_thread.cc index 4422c82..50f02e6 100644 --- a/media/filters/video_thread.cc +++ b/media/filters/video_thread.cc @@ -213,8 +213,8 @@ void VideoThread::ThreadMain() { void VideoThread::GetCurrentFrame(scoped_refptr<media::VideoFrame>* frame_out) { AutoLock auto_lock(lock_); - DCHECK_EQ(state_, INITIALIZED); - DCHECK(current_frame_); + // Either we have initialized or we have the current frame. + DCHECK(state_ != INITIALIZED || current_frame_); *frame_out = current_frame_; } |