diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index 323782b3..8a434bc5 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -994,14 +994,7 @@ void scenes::stream::exit() void scenes::stream::setup(const to_headset::video_stream_description & description) { - try - { - session.set_refresh_rate(description.fps); - } - catch (std::exception & e) - { - spdlog::warn("Failed to set refresh rate to {}: {}", description.fps, e.what()); - } + session.set_refresh_rate(description.fps); std::unique_lock lock(decoder_mutex); decoders.clear(); @@ -1134,14 +1127,7 @@ void scenes::stream::setup_reprojection_swapchain() { std::unique_lock lock(decoder_mutex); device.waitIdle(); - try - { - session.set_refresh_rate(video_stream_description->fps); - } - catch (std::exception & e) - { - spdlog::warn("Failed to set refresh rate to {}: {}", video_stream_description->fps, e.what()); - } + session.set_refresh_rate(video_stream_description->fps); const uint32_t video_width = video_stream_description->width / view_count; const uint32_t video_height = video_stream_description->height; diff --git a/client/scenes/stream_network.cpp b/client/scenes/stream_network.cpp index bbef21fc..2c5eb0b8 100644 --- a/client/scenes/stream_network.cpp +++ b/client/scenes/stream_network.cpp @@ -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)