diff options
author | mcasas <mcasas@chromium.org> | 2014-09-01 09:38:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-01 16:42:42 +0000 |
commit | 3831141691e27d79130bc784e55e7ff34a75b099 (patch) | |
tree | d7d09c09f2029aecaa803ee1176f0af563ecb11e /media/video/capture/mac | |
parent | 0993cd88e93acc10e2d88bbb24ae527971b2939a (diff) | |
download | chromium_src-3831141691e27d79130bc784e55e7ff34a75b099.zip chromium_src-3831141691e27d79130bc784e55e7ff34a75b099.tar.gz chromium_src-3831141691e27d79130bc784e55e7ff34a75b099.tar.bz2 |
Mac Video Capture: correct float framerate wrongly casted to int
This migration int -> float was still missing.
BUG=380463, 394315
Review URL: https://codereview.chromium.org/485103006
Cr-Commit-Position: refs/heads/master@{#292881}
Diffstat (limited to 'media/video/capture/mac')
-rw-r--r-- | media/video/capture/mac/video_capture_device_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/video/capture/mac/video_capture_device_mac.mm b/media/video/capture/mac/video_capture_device_mac.mm index 66019b7..c150295 100644 --- a/media/video/capture/mac/video_capture_device_mac.mm +++ b/media/video/capture/mac/video_capture_device_mac.mm @@ -370,7 +370,7 @@ void VideoCaptureDeviceMac::AllocateAndStart( } int width = params.requested_format.frame_size.width(); int height = params.requested_format.frame_size.height(); - int frame_rate = params.requested_format.frame_rate; + float frame_rate = params.requested_format.frame_rate; // QTKit API can scale captured frame to any size requested, which would lead // to undesired aspect ratio changes. Try to open the camera with a known |