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

Unified Diff: media/cast/test/end2end_unittest.cc

Issue 1154153003: Relanding 1143663007: VideoFrame: Separate Pixel Format from Storage Type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added NV12 support in CrOS Created 5 years, 7 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/blink/webmediaplayer_impl.cc ('k') | media/cast/test/utility/video_utility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/end2end_unittest.cc
diff --git a/media/cast/test/end2end_unittest.cc b/media/cast/test/end2end_unittest.cc
index 15fdf7423582b042e3105cad2abc36db5e7e0774..4b3bbba9b77f8c631a728d34bc6e6f7b5f9da92c 100644
--- a/media/cast/test/end2end_unittest.cc
+++ b/media/cast/test/end2end_unittest.cc
@@ -656,8 +656,9 @@ class End2EndTest : public ::testing::Test {
// since the video clock may not be the same as the reference clock.
const base::TimeDelta time_diff = reference_time - start_time_;
const gfx::Size size(kVideoHdWidth, kVideoHdHeight);
- EXPECT_TRUE(VideoFrame::IsValidConfig(
- VideoFrame::I420, size, gfx::Rect(size), size));
+ EXPECT_TRUE(VideoFrame::IsValidConfig(VideoFrame::I420,
+ VideoFrame::STORAGE_UNKNOWN, size,
+ gfx::Rect(size), size));
scoped_refptr<media::VideoFrame> video_frame =
media::VideoFrame::CreateFrame(
VideoFrame::I420, size, gfx::Rect(size), size,
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | media/cast/test/utility/video_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698