Probe supported codecs only once

This commit is contained in:
Patrick Nicolas
2026-03-02 11:07:03 +01:00
parent 6859db7c34
commit 33fac50895
5 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -747,7 +747,7 @@ void scenes::lobby::gui_settings()
config.codec = std::nullopt;
config.save();
}
for (auto codec: supported_codecs)
for (auto codec: decoder::supported_codecs())
{
// don't show raw in GUI
if (codec == wivrn::raw)