Constraint size and alignment simultaneously
Previously, the size was scaled to fit the requested maximum size and then aligned. If the maximum size was not a multiple of the alignment, the resulting size was suboptimal as it preserved the aspect ratio less accurately. This also prepares for additional video constraints. PR #6766 <https://github.com/Genymobile/scrcpy/pull/6766>
R
Romain Vimont committed
3c3cfe8cc6e9ca0ff9f0a10eb03789e0abfc7812
Parent: 4f97e2e