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

Unified Diff: media/capture/video/mac/video_capture_device_decklink_mac.h

Issue 2169013002: Change class VideoCaptureDevice::Name to struct VideoCaptureDeviceDescriptor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build errors Created 4 years, 5 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/capture/video/mac/video_capture_device_decklink_mac.h
diff --git a/media/capture/video/mac/video_capture_device_decklink_mac.h b/media/capture/video/mac/video_capture_device_decklink_mac.h
index b078f21360e656bd0a12ba77a39a20b176cf9ef9..12bd3d706b459855133209953307c02712fe748a 100644
--- a/media/capture/video/mac/video_capture_device_decklink_mac.h
+++ b/media/capture/video/mac/video_capture_device_decklink_mac.h
@@ -34,20 +34,22 @@ namespace media {
// us for sending back frames, logs and error messages.
class CAPTURE_EXPORT VideoCaptureDeviceDeckLinkMac : public VideoCaptureDevice {
public:
- // Gets the names of all DeckLink video capture devices connected to this
+ // Gets descriptors for all DeckLink video capture devices connected to this
// computer, as enumerated by the DeckLink SDK. To allow the user to choose
// exactly which capture format she wants, we enumerate as many cameras as
// capture formats.
- static void EnumerateDevices(VideoCaptureDevice::Names* device_names);
+ static void EnumerateDevices(
+ VideoCaptureDeviceDescriptors* device_descriptors);
// Gets the supported formats of a particular device attached to the system,
// identified by |device|. Formats are retrieved from the DeckLink SDK.
// Following the enumeration, each camera will have only one capability.
static void EnumerateDeviceCapabilities(
- const VideoCaptureDevice::Name& device,
+ const VideoCaptureDeviceDescriptor& descriptor,
VideoCaptureFormats* supported_formats);
- explicit VideoCaptureDeviceDeckLinkMac(const Name& device_name);
+ explicit VideoCaptureDeviceDeckLinkMac(
+ const VideoCaptureDeviceDescriptor& descriptor);
~VideoCaptureDeviceDeckLinkMac() override;
// Copy of VideoCaptureDevice::Client::OnIncomingCapturedData(). Used by

Powered by Google App Engine
This is Rietveld 408576698