Commit c22f23ae authored by mcasas's avatar mcasas Committed by Commit bot

File VideoCaptureDevice: Add API type for Windows platforms.

It was missing and causes troubles in browser_tests as seen
in the bug.

BUG=422954

Review URL: https://codereview.chromium.org/650903002

Cr-Commit-Position: refs/heads/master@{#299451}
parent 1ef49e02
...@@ -44,7 +44,8 @@ void FileVideoCaptureDeviceFactory::GetDeviceNames( ...@@ -44,7 +44,8 @@ void FileVideoCaptureDeviceFactory::GetDeviceNames(
#if defined(OS_WIN) #if defined(OS_WIN)
device_names->push_back(VideoCaptureDevice::Name( device_names->push_back(VideoCaptureDevice::Name(
base::SysWideToUTF8(command_line_file_path.value()), base::SysWideToUTF8(command_line_file_path.value()),
kFileVideoCaptureDeviceName)); kFileVideoCaptureDeviceName,
VideoCaptureDevice::Name::DIRECT_SHOW));
#elif defined(OS_MACOSX) #elif defined(OS_MACOSX)
device_names->push_back(VideoCaptureDevice::Name( device_names->push_back(VideoCaptureDevice::Name(
command_line_file_path.value(), command_line_file_path.value(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment