| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_ | |
| 6 #define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_ | |
| 7 | |
| 8 #include "media/capture/video/video_capture_device_descriptor.h" | |
| 9 #include "media/capture/video_capture_types.h" | |
| 10 | |
| 11 namespace media { | |
| 12 | |
| 13 // Bundles a media::VideoCaptureDeviceDescriptor with corresponding supported | |
| 14 // video formats. | |
| 15 struct CAPTURE_EXPORT VideoCaptureDeviceInfo { | |
| 16 VideoCaptureDeviceInfo(); | |
| 17 VideoCaptureDeviceInfo(media::VideoCaptureDeviceDescriptor descriptor); | |
| 18 VideoCaptureDeviceInfo(const VideoCaptureDeviceInfo& other); | |
| 19 ~VideoCaptureDeviceInfo(); | |
| 20 VideoCaptureDeviceInfo& operator=(const VideoCaptureDeviceInfo& other); | |
| 21 | |
| 22 media::VideoCaptureDeviceDescriptor descriptor; | |
| 23 media::VideoCaptureFormats supported_formats; | |
| 24 }; | |
| 25 | |
| 26 } // namespace media | |
| 27 | |
| 28 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_ | |
| OLD | NEW |