Skip to content
Snippets Groups Projects
Unverified Commit 42831dfa authored by Sébastien Blin's avatar Sébastien Blin
Browse files

mediasettings: to_string is undefined for float

Change-Id: Id16ef7f6cdd1f1ce306ec896dbfd17d61a3d4d72
parent f680d74c
Branches
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ CppImpl::drawFramerates()
auto deviceSettings = avModel_->getDeviceSettings(currentDevice);
currentChannel = deviceSettings.channel;
currentRes = deviceSettings.size;
currentRate = std::to_string(deviceSettings.rate);
currentRate = std::to_string(static_cast<uint8_t>(deviceSettings.rate));
auto resRates = deviceCaps.at(currentChannel);
auto it = std::find_if(resRates.begin(), resRates.end(),
[&currentRes](const std::pair<video::Resolution, video::FrameratesList>& element) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment