Commit c75a7cd7 authored by Mohamed Fenjiro's avatar Mohamed Fenjiro Committed by Mohamed Fenjiro

video_device_impl: fixes

Change-Id: I54d78bab69ecc3ea5249336b492f88043b138e5d
parent cbdf0a13
......@@ -284,7 +284,7 @@ VideoV4l2Rate
VideoV4l2Size::getRate(const FrameRate& rate) const
{
for (const auto& item : rates_) {
if (std::fabs((item.frame_rate - rate).real()) < 0.0001d)
if (std::fabs((item.frame_rate - rate).real()) < 0.0001)
return item;
}
return rates_.back();
......
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