Fix CC rendering area to be 80% of the window height, per FCC regulations
The FCC defines a "safe area" for caption rendering to be 80% of the
window height. This patch changes it from 75% to 80%, and fixes a
bug in the original math due to integer arithmetic (the result of
(100/16 got truncated):
Original math:
100 / 16 * 8 / 10 = 4.8
Fixed math:
100 * 8 / 10 / 16 = 5
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment