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

Unified Diff: content/common/gpu/media/v4l2_video_device.cc

Issue 730693005: Generalize V4L2 HW video codec device names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/common/gpu/media/v4l2_video_device.cc
diff --git a/content/common/gpu/media/v4l2_video_device.cc b/content/common/gpu/media/v4l2_video_device.cc
index 58b935a4008fc6d8e9d14a7df5fc372f294edcbe..59775c3835aef64991243c1fbc2483bb16285323 100644
--- a/content/common/gpu/media/v4l2_video_device.cc
+++ b/content/common/gpu/media/v4l2_video_device.cc
@@ -5,7 +5,7 @@
#include <linux/videodev2.h>
#include "base/numerics/safe_conversions.h"
-#include "content/common/gpu/media/exynos_v4l2_video_device.h"
+#include "content/common/gpu/media/generic_v4l2_video_device.h"
#include "content/common/gpu/media/tegra_v4l2_video_device.h"
namespace content {
@@ -16,9 +16,9 @@ V4L2Device::~V4L2Device() {}
scoped_ptr<V4L2Device> V4L2Device::Create(Type type) {
DVLOG(3) << __PRETTY_FUNCTION__;
- scoped_ptr<ExynosV4L2Device> exynos_device(new ExynosV4L2Device(type));
- if (exynos_device->Initialize())
- return exynos_device.Pass();
+ scoped_ptr<GenericV4L2Device> generic_device(new GenericV4L2Device(type));
+ if (generic_device->Initialize())
+ return generic_device.Pass();
scoped_ptr<TegraV4L2Device> tegra_device(new TegraV4L2Device(type));
if (tegra_device->Initialize())
« no previous file with comments | « content/common/gpu/media/generic_v4l2_video_device.cc ('k') | content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698