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

Unified Diff: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc

Issue 22645005: media::VideoFrame::WrapExternalSharedMemory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: Created 7 years, 4 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: content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc b/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
index 7eb28eac3974d1285e9740bba28c9873d62d0596..d88d553fa735daff741ebcbe48d90342b60a1af8 100644
--- a/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
@@ -374,7 +374,7 @@ class StubConsumer : public media::VideoCaptureDevice::EventHandler {
const scoped_refptr<media::VideoFrame>& frame,
base::Time timestamp) OVERRIDE {
EXPECT_EQ(gfx::Size(kTestWidth, kTestHeight), frame->coded_size());
- EXPECT_EQ(media::VideoFrame::YV12, frame->format());
+ EXPECT_EQ(media::VideoFrame::I420, frame->format());
EXPECT_LE(
0,
buffer_pool_->RecognizeReservedBuffer(frame->shared_memory_handle()));

Powered by Google App Engine
This is Rietveld 408576698