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

Unified Diff: media/video/capture/video_capture_device.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: Created 5 years, 7 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/video/capture/video_capture_device.cc
diff --git a/media/video/capture/video_capture_device.cc b/media/video/capture/video_capture_device.cc
index 44442c49a502c1edaa6cee21b4b0ecbb18cc12df..c00c9534674d3fdc5fc8917b99d33a2dc246e3ff 100644
--- a/media/video/capture/video_capture_device.cc
+++ b/media/video/capture/video_capture_device.cc
@@ -74,7 +74,9 @@ const char* VideoCaptureDevice::Name::GetCaptureApiTypeString() const {
switch (capture_api_type()) {
case V4L2_SINGLE_PLANE:
return "V4L2 SPLANE";
- case V4L2_MULTI_PLANE:
+ case V4L2_SINGLE_PLANE_DMABUF:
+ return "V4L2 SPLANE DMA-BUF";
+ case V4L2_MULTI_PLANE:
return "V4L2 MPLANE";
default:
NOTREACHED() << "Unknown Video Capture API type!";

Powered by Google App Engine
This is Rietveld 408576698