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

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

Issue 1117423002: media: Let VideoFrame carry more than one native texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: media/cast/test/end2end_unittest.cc
diff --git a/media/cast/test/end2end_unittest.cc b/media/cast/test/end2end_unittest.cc
index 5473dc60a165cfb3e9b0a7997f1fafe8ef682d72..9cc4bc60b200915803a067aa50d6dc354e48ba72 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::TEXTURE_NONE, size,
+ gfx::Rect(size), size));
scoped_refptr<media::VideoFrame> video_frame =
media::VideoFrame::CreateFrame(
VideoFrame::I420, size, gfx::Rect(size), size,

Powered by Google App Engine
This is Rietveld 408576698