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

Unified Diff: media/filters/video_renderer_base.cc

Issue 57403003: Remove EMPTY from VideoFrame::Format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vframe_rgb
Patch Set: Created 7 years, 1 month 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/video_frame_stream_unittest.cc ('k') | media/filters/video_renderer_base_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_base.cc
diff --git a/media/filters/video_renderer_base.cc b/media/filters/video_renderer_base.cc
index 1ce18fb6aca576c5d8433a3d84e6ffdf89c50359..ff76fd46c9b1c8f87e73ba8a525b1d40e4776de9 100644
--- a/media/filters/video_renderer_base.cc
+++ b/media/filters/video_renderer_base.cc
@@ -372,7 +372,7 @@ void VideoRendererBase::FrameReady(VideoFrameStream::Status status,
return;
}
- if (frame->IsEndOfStream()) {
+ if (frame->end_of_stream()) {
DCHECK(!received_end_of_stream_);
received_end_of_stream_ = true;
max_time_cb_.Run(get_duration_cb_.Run());
@@ -408,7 +408,7 @@ void VideoRendererBase::FrameReady(VideoFrameStream::Status status,
void VideoRendererBase::AddReadyFrame_Locked(
const scoped_refptr<VideoFrame>& frame) {
lock_.AssertAcquired();
- DCHECK(!frame->IsEndOfStream());
+ DCHECK(!frame->end_of_stream());
// Adjust the incoming frame if its rendering stop time is past the duration
// of the video itself. This is typically the last frame of the video and
« no previous file with comments | « media/filters/video_frame_stream_unittest.cc ('k') | media/filters/video_renderer_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698