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

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

Issue 1204063005: Reland: Video Capture: extract storage info from pixel format in VideoCaptureFormat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng@ nit on DCHECK_EQ(expected, actual) Created 5 years, 6 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/video_capture_controller.cc
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc
index e799b36093cfc5b6d37e38c6af40d1770129f926..8fbab0ad6762accf9a8a78dd82ba0bf2590e2d4b 100644
--- a/content/browser/renderer_host/media/video_capture_controller.cc
+++ b/content/browser/renderer_host/media/video_capture_controller.cc
@@ -324,7 +324,6 @@ void VideoCaptureController::DoIncomingCapturedVideoFrameOnIOThread(
DCHECK(frame->coded_size() == frame->visible_rect().size())
<< "Textures are always supposed to be tightly packed.";
DCHECK_EQ(1u, VideoFrame::NumPlanes(frame->format()));
-
} else if (frame->format() == VideoFrame::I420) {
const bool is_new_buffer =
client->known_buffers.insert(buffer_id).second;

Powered by Google App Engine
This is Rietveld 408576698