Show server error on GUI (encoders currently)

This commit is contained in:
Patrick Nicolas
2025-10-05 20:26:07 +02:00
parent 98fc4ad4bb
commit aca45420dd
7 changed files with 152 additions and 101 deletions
+4
View File
@@ -326,6 +326,10 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer
}
catch (const std::exception & e)
{
wivrn_ipc_socket_monado->send(from_monado::server_error{
.where = "Error creating encoder",
.message = e.what(),
});
U_LOG_E("Failed to create video encoder: %s", e.what());
return false;
}