Skip to content

Commit

Permalink
[vtvda] Make max supported resolution 4096 x 4096.
Browse files Browse the repository at this point in the history
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: Dan Sanders <sandersd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799201}
  • Loading branch information
dalecurtis authored and Commit Bot committed Aug 18, 2020
1 parent 7cf6d18 commit 74f0118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/gpu/mac/vt_video_decode_accelerator_mac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74f0118

Please sign in to comment.