mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 06:40:03 +00:00
get_video_desc_from_string: fix 4k modes (3840 wide)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user