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

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

Issue 1124723006: VideoCaptureDeviceLinux: Add support for SPLANE+DMABUF V4L2 type capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: posciak@ review and rebase (AsPlatformFile(), ...BufferPoolUtilization...)). 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
« no previous file with comments | « no previous file | media/video/capture/linux/v4l2_capture_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_device_client.cc
diff --git a/content/browser/renderer_host/media/video_capture_device_client.cc b/content/browser/renderer_host/media/video_capture_device_client.cc
index 33030ab6b621b4a418a618ef61273d08ef8e90e8..d9592aa3b9b072abd92914f96abaae1a7137f0e0 100644
--- a/content/browser/renderer_host/media/video_capture_device_client.cc
+++ b/content/browser/renderer_host/media/video_capture_device_client.cc
@@ -422,7 +422,8 @@ VideoCaptureDeviceClient::ReserveOutputBuffer(media::VideoPixelFormat format,
const gfx::Size& dimensions) {
DCHECK(format == media::PIXEL_FORMAT_I420 ||
format == media::PIXEL_FORMAT_TEXTURE ||
- format == media::PIXEL_FORMAT_GPUMEMORYBUFFER);
+ format == media::PIXEL_FORMAT_GPUMEMORYBUFFER)
+ << "format " << media::VideoCaptureFormat::PixelFormatToString(format);
DCHECK_GT(dimensions.width(), 0);
DCHECK_GT(dimensions.height(), 0);
« no previous file with comments | « no previous file | media/video/capture/linux/v4l2_capture_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698