Commit 74f01181 authored by Dale Curtis's avatar Dale Curtis Committed by Commit Bot

[vtvda] Make max supported resolution 4096 x 4096.

This ensures that portrait 4k videos get hardware accelerated decoding.

R=sandersd

Bug: 1103432
Change-Id: I6ac1c75eac7d21c6cd2c57edac368b84c56ffa85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2361183
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Dan Sanders <sandersd@chromium.org>
Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799201}
parent 7cf6d186
......@@ -1639,7 +1639,7 @@ VTVideoDecodeAccelerator::GetSupportedProfiles() {
SupportedProfile profile;
profile.profile = supported_profile;
profile.min_resolution.SetSize(16, 16);
profile.max_resolution.SetSize(4096, 2160);
profile.max_resolution.SetSize(4096, 4096);
profiles.push_back(profile);
}
return profiles;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment