Commit 38311416 authored by mcasas's avatar mcasas Committed by Commit bot

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}
parent 0993cd88
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment