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

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

Issue 650903002: File VideoCaptureDevice: Add API type for Windows platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 059ae2dedcf17d99fa84834cd996fcf8f7c0c9f2..8edcb4e4d81c7e6961b3f095a9576473bcfa5819 100644
--- a/media/video/capture/file_video_capture_device_factory.cc
+++ b/media/video/capture/file_video_capture_device_factory.cc
@@ -44,7 +44,8 @@ void FileVideoCaptureDeviceFactory::GetDeviceNames(
#if defined(OS_WIN)
device_names->push_back(VideoCaptureDevice::Name(
base::SysWideToUTF8(command_line_file_path.value()),
- kFileVideoCaptureDeviceName));
+ kFileVideoCaptureDeviceName,
+ VideoCaptureDevice::Name::DIRECT_SHOW));
#elif defined(OS_MACOSX)
device_names->push_back(VideoCaptureDevice::Name(
command_line_file_path.value(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698