| Index: media/capture/video_capture_types.h
|
| diff --git a/media/capture/video_capture_types.h b/media/capture/video_capture_types.h
|
| index 7a6246beaf6cd2af413654378a8a60475302feff..c9461b528296e8666739e713b578169efdcd518a 100644
|
| --- a/media/capture/video_capture_types.h
|
| +++ b/media/capture/video_capture_types.h
|
| @@ -28,6 +28,17 @@ enum VideoPixelStorage {
|
| PIXEL_STORAGE_MAX = PIXEL_STORAGE_CPU,
|
| };
|
|
|
| +enum class VideoFacingMode {
|
| + // The source is facing toward the user (a self-view camera).
|
| + USER = 0,
|
| + // The source is facing away from the user (viewing the environment).
|
| + ENVIRONMENT,
|
| + // The source is facing to the left of the user.
|
| + LEFT,
|
| + // The source is facing to the right of the user.
|
| + RIGHT,
|
| +};
|
| +
|
| // Policies for capture devices that have source content that varies in size.
|
| // It is up to the implementation how the captured content will be transformed
|
| // (e.g., scaling and/or letterboxing) in order to produce video frames that
|
|
|