Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / video_capture / android / device_info_android.h
index d277113..b8d838c 100644 (file)
@@ -53,10 +53,12 @@ class DeviceInfoAndroid : public DeviceInfoImpl {
   virtual int32_t GetOrientation(const char* deviceUniqueIdUTF8,
                                  VideoCaptureRotation& orientation);
 
-  // Populate |min_mfps| and |max_mfps| with the supported range of the device.
-  void GetFpsRange(const char* deviceUniqueIdUTF8,
-                   int* min_mfps,
-                   int* max_mfps);
+  // Populate |min_mfps| and |max_mfps| with the closest supported range of the
+  // device to |max_fps_to_match|.
+  void GetMFpsRange(const char* deviceUniqueIdUTF8,
+                    int max_fps_to_match,
+                    int* min_mfps,
+                    int* max_mfps);
 
  private:
   enum { kExpectedCaptureDelay = 190};