improve video initialization, use more compatible and common format

This commit is contained in:
Ondrej Novak 2025-05-04 13:36:17 +02:00
parent c7b575821c
commit 5643814710
5 changed files with 196 additions and 38 deletions

View file

@ -47,9 +47,9 @@ std::string exception_to_string(const std::exception& e) {
try {
std::rethrow_if_nested(e);
} catch (const std::exception& nested) {
oss << " Reason: " << exception_to_string(nested);
oss << "\n\n Reason: " << exception_to_string(nested);
} catch (...) {
oss << " Reason: unknown exception of crash";
oss << "\n\n Reason: unknown exception of crash";
}
return std::move(oss).str();