Drop try/except for set_refresh_rate

This commit is contained in:
Patrick Nicolas
2025-03-19 17:43:37 +01:00
parent 91d5046122
commit 9c96e169bd
2 changed files with 3 additions and 24 deletions
+1 -8
View File
@@ -71,14 +71,7 @@ void scenes::stream::operator()(to_headset::video_stream_description && desc)
void scenes::stream::operator()(to_headset::refresh_rate_change && rate)
{
try
{
session.set_refresh_rate(rate.fps);
}
catch (std::exception & e)
{
spdlog::warn("Failed to set refresh rate to {}: {}", rate.fps, e.what());
}
session.set_refresh_rate(rate.fps);
}
void scenes::stream::operator()(to_headset::timesync_query && query)