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

Unified Diff: media/video/capture/video_capture_device.h

Issue 24079003: Add VideoCaptureDevice::GetDeviceSupportedFormats to interface + implementation for Linux and Fake (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
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..bcb88b57353c68524e3775bef3b0d514b76e6cce 100644
--- a/media/video/capture/video_capture_device.h
+++ b/media/video/capture/video_capture_device.h
@@ -221,6 +221,12 @@ 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 identified by device_name.
scherkus (not reviewing) 2013/09/11 17:30:46 does this method need to be part of this interface
+ virtual void GetDeviceSupportedFormats(
+ const std::string& device_name,
+ VideoCaptureFormats* capture_formats) = 0;
};
} // namespace media
« no previous file with comments | « media/video/capture/mac/video_capture_device_mac.mm ('k') | media/video/capture/video_capture_device_dummy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698