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..5bdeb1b6f04de47dd28faf3e6b06332a74bfb839 100644 |
--- a/media/capture/video_capture_types.h |
+++ b/media/capture/video_capture_types.h |
@@ -28,6 +28,12 @@ enum VideoPixelStorage { |
PIXEL_STORAGE_MAX = PIXEL_STORAGE_CPU, |
}; |
+enum CameraFacing { |
mcasas
2017/01/05 20:26:37
This should be an enum class, right?
shenghao
2017/01/06 09:43:01
Done.
|
+ FRONT = 0, |
+ BACK = 1, |
+ DEFAULT = FRONT, |
miu
2017/01/05 21:55:33
This is not correct for the screen capture devices
shenghao
2017/01/06 09:43:01
Done.
|
+}; |
+ |
// 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 |