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

Unified Diff: media/gpu/v4l2_device.cc

Issue 1946153002: Fix V4L2 device failed to create on veyron board (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« media/gpu/v4l2_device.h ('K') | « media/gpu/v4l2_device.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/v4l2_device.cc
diff --git a/media/gpu/v4l2_device.cc b/media/gpu/v4l2_device.cc
index d80989d84f47a7d8aba1578a7fce241c6faa3831..dcd8f596ff192bfce4b99343b98a0847f9f8f25c 100644
--- a/media/gpu/v4l2_device.cc
+++ b/media/gpu/v4l2_device.cc
@@ -20,6 +20,15 @@ V4L2Device::V4L2Device(Type type) : type_(type) {}
V4L2Device::~V4L2Device() {}
// static
+bool V4L2Device::IsUsingLibV4L2() {
+#if defined(USE_LIBV4L2)
+ return true;
+#else
+ return false;
+#endif
+}
+
+// static
scoped_refptr<V4L2Device> V4L2Device::Create(Type type) {
DVLOG(3) << __PRETTY_FUNCTION__;
« media/gpu/v4l2_device.h ('K') | « media/gpu/v4l2_device.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698