Skip to content
Snippets Groups Projects
Commit c75a7cd7 authored by Mohamed Fenjiro's avatar Mohamed Fenjiro Committed by Mohamed Fenjiro
Browse files

video_device_impl: fixes

Change-Id: I54d78bab69ecc3ea5249336b492f88043b138e5d
parent cbdf0a13
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment