Ignore network error in refresh rate change

This commit is contained in:
Patrick Nicolas
2026-03-31 09:06:27 +02:00
parent 23689abaa7
commit 796ec69728
+1 -2
View File
@@ -506,13 +506,12 @@ xrt_result_t compositor::request_display_refresh_rate(float hz)
try try
{ {
session.send_control(to_headset::refresh_rate_change{.fps = hz}); session.send_control(to_headset::refresh_rate_change{.fps = hz});
return XRT_SUCCESS;
} }
catch (std::exception & e) catch (std::exception & e)
{ {
U_LOG_W("refresh rate change failed: %s", e.what()); U_LOG_W("refresh rate change failed: %s", e.what());
return XRT_ERROR_IPC_FAILURE;
} }
return XRT_SUCCESS;
} }
int compositor::acquire_image() int compositor::acquire_image()