Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(965)

Unified Diff: media/capture/video/video_capture_device_descriptor.cc

Issue 2634263002: Pass camera facing info to audio client (Closed)
Patch Set: Moved to chrome_browser_main_chromeos.cc Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/video_facing.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/video_capture_device_descriptor.cc
diff --git a/media/capture/video/video_capture_device_descriptor.cc b/media/capture/video/video_capture_device_descriptor.cc
index 3a259543979580ebe3b6680c2e9113136d1640db..701160846ac8924d1947af6009500be4328ea776 100644
--- a/media/capture/video/video_capture_device_descriptor.cc
+++ b/media/capture/video/video_capture_device_descriptor.cc
@@ -45,7 +45,7 @@ VideoCaptureDeviceDescriptor::VideoCaptureDeviceDescriptor(
bool VideoCaptureDeviceDescriptor::operator<(
const VideoCaptureDeviceDescriptor& other) const {
- static constexpr int kFacingMapping[NUM_MEDIA_VIDEO_FACING_MODE] = {0, 2, 1};
+ static constexpr int kFacingMapping[NUM_MEDIA_VIDEO_FACING_MODES] = {0, 2, 1};
static_assert(kFacingMapping[MEDIA_VIDEO_FACING_NONE] == 0,
"FACING_NONE has a wrong value");
static_assert(kFacingMapping[MEDIA_VIDEO_FACING_ENVIRONMENT] == 1,
« no previous file with comments | « media/base/video_facing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698