get_video_desc_from_string: fix 4k modes (3840 wide)

This commit is contained in:
Martin Pulec
2025-09-29 15:52:30 +02:00
parent 4715de7aef
commit 994c8ea693

View File

@@ -380,7 +380,7 @@ struct video_desc get_video_desc_from_string(const char *string)
ret.height = 1080;
} else if (strncasecmp(string, "4k", 2) == 0 ||
STARTS_WITH(string, "2160p")) {
ret.width = 3860;
ret.width = 3840;
ret.height = 2160;
} else if (strncasecmp(string, "4d", 2) == 0) {
ret.width = 4096;