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 8ef43e75f0ebf8267b5f416ffebf0f4be1efd877..0d03924bfd8960255733550393e371f0aa61f8a9 100644 |
| --- a/media/video/capture/video_capture_device.h |
| +++ b/media/video/capture/video_capture_device.h |
| @@ -221,6 +221,14 @@ class MEDIA_EXPORT VideoCaptureDevice { |
| // Get the name of the capture device. |
| virtual const Name& device_name() = 0; |
| + |
| + // Gets the supported video capture formats, if operation is supported by the |
| + // driver, for a particular video capture device. This operation must be run |
| + // after the device being opened with Allocate(), and it may take into account |
|
perkj_chrome
2013/09/13 10:33:05
It seems a bit weird that we require Allocate to b
ncarter (slow)
2013/09/13 19:21:08
I have a CL out that merges Start+Allocate, and th
|
| + // the current state of the device, f.i. an already opened device might see |
| + // supported formats limited etc. |
|
ncarter (slow)
2013/09/16 16:20:02
The current contract of this function seems to exp
mcasas
2013/09/24 15:02:27
Asynchronous reply would be the answer, let me wri
|
| + virtual void GetDeviceSupportedFormats( |
|
scherkus (not reviewing)
2013/09/12 17:29:09
how do I know if this method succeeded or not? wha
mcasas
2013/09/24 15:02:27
On the asynchronous reply, it would be empty.
|
| + VideoCaptureFormats* capture_formats) = 0; |
|
scherkus (not reviewing)
2013/09/12 17:29:09
this CL could be dramatically simplified if you pr
mcasas
2013/09/24 15:02:27
Done.
|
| }; |
| } // namespace media |