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

Unified Diff: media/filters/video_renderer_impl_unittest.cc

Issue 123213006: Make VideoDecoder use (kAborted, NULL) to signify an aborted decode, instead of (kOk, NULL). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 6 years, 12 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/video_frame_stream.cc ('k') | media/filters/vpx_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_impl_unittest.cc
diff --git a/media/filters/video_renderer_impl_unittest.cc b/media/filters/video_renderer_impl_unittest.cc
index 0b07a751d37e686b83ac82913365e6565c53c9f8..c5b1e44e9ee3416ada361862aaa5b8d5a5444170 100644
--- a/media/filters/video_renderer_impl_unittest.cc
+++ b/media/filters/video_renderer_impl_unittest.cc
@@ -211,7 +211,7 @@ class VideoRendererImplTest : public ::testing::Test {
DCHECK_EQ(&message_loop_, base::MessageLoop::current());
scoped_refptr<VideoFrame> null_frame;
decode_results_.push_back(std::make_pair(
- VideoDecoder::kOk, null_frame));
+ VideoDecoder::kAborted, null_frame));
}
void QueuePrerollFrames(int timestamp_ms) {
« no previous file with comments | « media/filters/video_frame_stream.cc ('k') | media/filters/vpx_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698