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

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

Issue 22645005: media::VideoFrame::WrapExternalSharedMemory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: 87b7a18a Rebase, added TODO 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.cc
diff --git a/content/browser/renderer_host/media/web_contents_video_capture_device.cc b/content/browser/renderer_host/media/web_contents_video_capture_device.cc
index 2e63e941726d51ef8cf231c05f46f52041cd2c97..e27b703081ea980c7286755ec71396a4d58fbee1 100644
--- a/content/browser/renderer_host/media/web_contents_video_capture_device.cc
+++ b/content/browser/renderer_host/media/web_contents_video_capture_device.cc
@@ -648,7 +648,7 @@ void RenderVideoFrame(const SkBitmap& input,
}
// Sanity-check the output buffer.
- if (output->format() != media::VideoFrame::YV12) {
+ if (output->format() != media::VideoFrame::I420) {
NOTREACHED();
return;
}

Powered by Google App Engine
This is Rietveld 408576698