OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/capture/video_capturer_source.h" | 5 #include "media/capture/video_capturer_source.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 | 8 |
9 // TODO(mcasas): VideoCapturerSource is implemented in other .dll(s) (e.g. | 9 // TODO(mcasas): VideoCapturerSource is implemented in other .dll(s) (e.g. |
10 // content) in Windows component build. The current compiler fails to generate | 10 // content) in Windows component build. The current compiler fails to generate |
11 // object files for this destructor if it's defined in the header file and that | 11 // object files for this destructor if it's defined in the header file and that |
12 // breaks linking. Consider removing this file when the compiler+linker is able | 12 // breaks linking. Consider removing this file when the compiler+linker is able |
13 // to generate symbols across linking units. | 13 // to generate symbols across linking units. |
14 VideoCapturerSource::~VideoCapturerSource() {} | 14 VideoCapturerSource::~VideoCapturerSource() {} |
15 | 15 |
16 VideoFacingMode VideoCapturerSource::GetVideoFacing() const { | |
17 return VideoFacingMode::USER; | |
mcasas
2017/01/11 22:24:59
Here I would return VideoFacingMode::NONE;
shenghao
2017/01/12 08:10:48
Done.
| |
18 } | |
19 | |
16 } // namespace media | 20 } // namespace media |
OLD | NEW |