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

Unified Diff: media/capture/video/linux/v4l2_capture_delegate.cc

Issue 2787933002: ImageCapture: separate fillLightMode, redEyeReduction and Torch (Closed)
Patch Set: Created 3 years, 9 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
Index: media/capture/video/linux/v4l2_capture_delegate.cc
diff --git a/media/capture/video/linux/v4l2_capture_delegate.cc b/media/capture/video/linux/v4l2_capture_delegate.cc
index 18214b39bdef96c7605a8145cd988b6ed5a6aca9..322cb46c4f14d71bfbcc754fe26c3f0ec3b2a5f8 100644
--- a/media/capture/video/linux/v4l2_capture_delegate.cc
+++ b/media/capture/video/linux/v4l2_capture_delegate.cc
@@ -588,8 +588,8 @@ void V4L2CaptureDelegate::GetPhotoCapabilities(
photo_capabilities->height = mojom::Range::New();
photo_capabilities->width = mojom::Range::New();
photo_capabilities->exposure_compensation = mojom::Range::New();
- photo_capabilities->fill_light_mode = mojom::FillLightMode::NONE;
- photo_capabilities->red_eye_reduction = false;
+ photo_capabilities->red_eye_reduction = mojom::RedEyeReduction::NEVER;
+ photo_capabilities->torch = false;
photo_capabilities->brightness =
RetrieveUserControlRange(device_fd_.get(), V4L2_CID_BRIGHTNESS);

Powered by Google App Engine
This is Rietveld 408576698