Adjust subtitle overlay max-height from 35% to 50%
Tim Falken authored 6 months ago
The previous fix removed max-height constraints entirely to allow upscaling
of downscaled subtitle frames (rendered at 0.5 scale). However, this caused
subtitles to become excessively large, filling up to 100% of the overlay
height and falling off screen edges.
Revised approach: keep max-width and max-height constraints but increase
max-height from 35% to 50% of the overlay container. This allows server-side
downscaled frames (0.5 scale) to upscale sufficiently for visibility while
maintaining reasonable bounds that prevent overflow in both normal and
fullscreen modes.