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

Unified Diff: media/capture/video/linux/video_capture_device_linux.h

Issue 1345993002: Change the functions in video_capture_device to pass around PowerLineFrequency enums instead of int… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed formatting issue pointed out of ajose Created 5 years, 3 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/video_capture_device_linux.h
diff --git a/media/capture/video/linux/video_capture_device_linux.h b/media/capture/video/linux/video_capture_device_linux.h
index 61e2cba6c273b481b3eeabcbe88fdcfeea032f3f..100d87f752928bd9ca2cf70ac806d58840158410 100644
--- a/media/capture/video/linux/video_capture_device_linux.h
+++ b/media/capture/video/linux/video_capture_device_linux.h
@@ -41,7 +41,7 @@ class VideoCaptureDeviceLinux : public VideoCaptureDevice {
void SetRotation(int rotation);
private:
- static int TranslatePowerLineFrequencyToV4L2(int frequency);
+ static int TranslatePowerLineFrequencyToV4L2(PowerLineFrequency frequency);
// Internal delegate doing the actual capture setting, buffer allocation and
// circulation with the V4L2 API. Created and deleted in the thread where

Powered by Google App Engine
This is Rietveld 408576698