| Index: media/capture/video/video_capture_device_descriptor.h
|
| diff --git a/media/capture/video/video_capture_device_descriptor.h b/media/capture/video/video_capture_device_descriptor.h
|
| index ea2331a17bc4b9b2ad76ddb24c3fdabb2362a113..84ff841dbf4347b67cc29e1534f66bd6cf7c1c53 100644
|
| --- a/media/capture/video/video_capture_device_descriptor.h
|
| +++ b/media/capture/video/video_capture_device_descriptor.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "media/base/video_facing.h"
|
| #include "media/capture/capture_export.h"
|
|
|
| namespace media {
|
| @@ -48,12 +49,14 @@ struct CAPTURE_EXPORT VideoCaptureDeviceDescriptor {
|
| VideoCaptureApi capture_api = VideoCaptureApi::UNKNOWN,
|
| VideoCaptureTransportType transport_type =
|
| VideoCaptureTransportType::OTHER_TRANSPORT);
|
| - VideoCaptureDeviceDescriptor(const std::string& display_name,
|
| - const std::string& device_id,
|
| - const std::string& model_id,
|
| - VideoCaptureApi capture_api,
|
| - VideoCaptureTransportType transport_type =
|
| - VideoCaptureTransportType::OTHER_TRANSPORT);
|
| + VideoCaptureDeviceDescriptor(
|
| + const std::string& display_name,
|
| + const std::string& device_id,
|
| + const std::string& model_id,
|
| + VideoCaptureApi capture_api,
|
| + VideoCaptureTransportType transport_type =
|
| + VideoCaptureTransportType::OTHER_TRANSPORT,
|
| + VideoFacingMode facing = VideoFacingMode::MEDIA_VIDEO_FACING_NONE);
|
| VideoCaptureDeviceDescriptor(const VideoCaptureDeviceDescriptor& other);
|
| ~VideoCaptureDeviceDescriptor();
|
|
|
| @@ -80,6 +83,8 @@ struct CAPTURE_EXPORT VideoCaptureDeviceDescriptor {
|
| // otherwise.
|
| std::string model_id;
|
|
|
| + VideoFacingMode facing;
|
| +
|
| VideoCaptureApi capture_api;
|
| VideoCaptureTransportType transport_type;
|
| };
|
|
|