Fix output_name not working

This commit is contained in:
Yukino Song
2025-01-20 20:13:28 +08:00
parent 55b76ed971
commit 791b25400a
2 changed files with 9 additions and 3 deletions

View File

@@ -1027,7 +1027,7 @@ namespace video {
current_display_index = 0;
if (current_display_name.empty()) {
current_display_name = config::video.output_name;
current_display_name = display_device::map_output_name(config::video.output_name);
}
// If we had a name previously, let's try to find it in the new list