Chromium Code Reviews| Index: media/video/capture/video_capture_device.h |
| diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h |
| index d00714dafb3b39f98605bd4bb233cb297e89d732..deab56c8b90ecbcef38c0774bd8000e8cc7190b4 100644 |
| --- a/media/video/capture/video_capture_device.h |
| +++ b/media/video/capture/video_capture_device.h |
| @@ -190,6 +190,13 @@ class MEDIA_EXPORT VideoCaptureDevice { |
| // Gets the names of all video capture devices connected to this computer. |
| static void GetDeviceNames(Names* device_names); |
| + // Gets the capabilities of a particular device attached to the system. This |
| + // method should be called before allocating or starting a device. In case |
| + // format enumeration is not supported, or there was a problem, the formats |
| + // array will be empty. |
| + static void GetDeviceSupportedFormats(const Name& device, |
| + VideoCaptureFormats* const formats); |
|
perkj_chrome
2013/10/13 12:12:49
remove const - please see GetDeviceNAmes.
mcasas
2013/10/14 08:24:46
Done.
|
| + |
| // Prepare the camera for use. After this function has been called no other |
| // applications can use the camera. On completion Client::OnFrameInfo() |
| // is called informing of the resulting resolution and frame rate. |