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

Unified Diff: media/gpu/video_encode_accelerator_unittest.cc

Issue 2398883002: Add support for multiple V4L2 video devices of the same type. (Closed)
Patch Set: Fixes for image processor. Created 4 years, 2 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/gpu/video_encode_accelerator_unittest.cc
diff --git a/media/gpu/video_encode_accelerator_unittest.cc b/media/gpu/video_encode_accelerator_unittest.cc
index e684cb08e42019a44d99fc06b256e69bb3c3ed2e..8dab8276abc9b7178a60521dae2f60ce10ba2f0a 100644
--- a/media/gpu/video_encode_accelerator_unittest.cc
+++ b/media/gpu/video_encode_accelerator_unittest.cc
@@ -1131,7 +1131,8 @@ std::unique_ptr<VideoEncodeAccelerator> VEAClient::CreateFakeVEA() {
std::unique_ptr<VideoEncodeAccelerator> VEAClient::CreateV4L2VEA() {
std::unique_ptr<VideoEncodeAccelerator> encoder;
#if defined(OS_CHROMEOS) && defined(USE_V4L2_CODEC)
- scoped_refptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kEncoder);
+ scoped_refptr<V4L2Device> device =
+ V4L2Device::Create(V4L2Device::Type::kEncoder);
if (device)
encoder.reset(new V4L2VideoEncodeAccelerator(device));
#endif
« media/gpu/v4l2_jpeg_decode_accelerator.cc ('K') | « media/gpu/v4l2_video_encode_accelerator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698