Skip to content

Commit 994c8ea

Browse files
committed
get_video_desc_from_string: fix 4k modes (3840 wide)
1 parent 4715de7 commit 994c8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ struct video_desc get_video_desc_from_string(const char *string)
380380
ret.height = 1080;
381381
} else if (strncasecmp(string, "4k", 2) == 0 ||
382382
STARTS_WITH(string, "2160p")) {
383-
ret.width = 3860;
383+
ret.width = 3840;
384384
ret.height = 2160;
385385
} else if (strncasecmp(string, "4d", 2) == 0) {
386386
ret.width = 4096;

0 commit comments

Comments
 (0)