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

Unified Diff: media/video/capture/file_video_capture_device_factory.cc

Issue 1026073002: Reland 967793002 Linux Video Capture: Add V4L2VideoCaptureDelegate{Single,Multi}Plane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Capture Api Type spec ificatin to FileVCD Created 5 years, 9 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/file_video_capture_device_factory.cc
diff --git a/media/video/capture/file_video_capture_device_factory.cc b/media/video/capture/file_video_capture_device_factory.cc
index b25a252239dd4cf234632257fd27d0e51dcf522a..d5dd112d9c48a99300d611cd29dad4b36a839d34 100644
--- a/media/video/capture/file_video_capture_device_factory.cc
+++ b/media/video/capture/file_video_capture_device_factory.cc
@@ -51,6 +51,11 @@ void FileVideoCaptureDeviceFactory::GetDeviceNames(
command_line_file_path.value(),
kFileVideoCaptureDeviceName,
VideoCaptureDevice::Name::AVFOUNDATION));
+#elif defined(OS_LINUX)
+ device_names->push_back(VideoCaptureDevice::Name(
+ command_line_file_path.value(),
+ kFileVideoCaptureDeviceName,
+ VideoCaptureDevice::Name::V4L2_SINGLE_PLANE));
#else
device_names->push_back(VideoCaptureDevice::Name(
command_line_file_path.value(),
« no previous file with comments | « media/video/capture/fake_video_capture_device_unittest.cc ('k') | media/video/capture/linux/v4l2_capture_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698