| Index: media/capture/video/video_capture_device_client.h
|
| diff --git a/media/capture/video/video_capture_device_client.h b/media/capture/video/video_capture_device_client.h
|
| index b36ebe5dd04245b972d4c7415d41b366f609c502..012bd5ad140aa8f4fed1495f3acee633e7330cbb 100644
|
| --- a/media/capture/video/video_capture_device_client.h
|
| +++ b/media/capture/video/video_capture_device_client.h
|
| @@ -75,6 +75,7 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
|
| const std::string& reason) override;
|
| void OnLog(const std::string& message) override;
|
| double GetBufferPoolUtilization() const override;
|
| + void SetCameraFacing(bool is_back_camera) override;
|
|
|
| private:
|
| // Reserve output buffer into which I420 contents can be copied directly.
|
| @@ -113,6 +114,9 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
|
| // The pool of shared-memory buffers used for capturing.
|
| const scoped_refptr<VideoCaptureBufferPool> buffer_pool_;
|
|
|
| + // Whether the capture device is back camera.
|
| + bool is_back_camera_;
|
| +
|
| #if DCHECK_IS_ON()
|
| // Counter used to track the number of times consecutive capture buffers are
|
| // dropped.
|
|
|