| Index: media/video/capture/file_video_capture_device.cc
|
| diff --git a/media/video/capture/file_video_capture_device.cc b/media/video/capture/file_video_capture_device.cc
|
| index 79e8f3b8f269b9ac237ce00a87079a49dfcab0b0..3efa3e73276ac1f37c107b459583d7bec0cf7b1c 100644
|
| --- a/media/video/capture/file_video_capture_device.cc
|
| +++ b/media/video/capture/file_video_capture_device.cc
|
| @@ -159,11 +159,11 @@ void FileVideoCaptureDevice::GetDeviceNames(Names* const device_names) {
|
|
|
| void FileVideoCaptureDevice::GetDeviceSupportedFormats(
|
| const Name& device,
|
| - VideoCaptureCapabilities* formats) {
|
| + VideoCaptureFormats* supported_formats) {
|
| base::PlatformFile file = OpenFileForRead(GetFilePathFromCommandLine());
|
| - VideoCaptureCapability capture_capability;
|
| - ParseFileAndExtractVideoFormat(file, &capture_capability.supported_format);
|
| - formats->push_back(capture_capability);
|
| + VideoCaptureFormat capture_format;
|
| + ParseFileAndExtractVideoFormat(file, &capture_format);
|
| + supported_formats->push_back(capture_format);
|
|
|
| CHECK(base::ClosePlatformFile(file));
|
| }
|
|
|