diff options
| author | NoFear0411 <9083405+NoFear0411@users.noreply.github.com> | 2026-03-01 00:00:05 +0400 |
|---|---|---|
| committer | NoFear0411 <9083405+NoFear0411@users.noreply.github.com> | 2026-03-01 00:00:05 +0400 |
| commit | bc316b3dc855e93d4d11e2c0d73d70326c38b889 (patch) | |
| tree | 02a37bcafd0465cced81f2fca26aa651098133de /MediaBrowser.Controller | |
| parent | e6d73ae367e9179779114c4e292dee1f5431a1d9 (diff) | |
Fix near-1:1 SAR values falsely flagged as anamorphic
Encoders sometimes produce sample aspect ratios like 3201:3200
(0.03% off square) for content that has effectively square pixels.
The exact string comparison against "1:1" marks these as anamorphic,
which triggers unnecessary transcoding on clients that require
non-anamorphic video.
Parse the SAR ratio numerically and treat values within 1% of 1:1
as square pixels. This threshold is well clear of the nearest real
anamorphic SAR (PAL 4:3 at 16:15 = 6.67% off).
Diffstat (limited to 'MediaBrowser.Controller')
0 files changed, 0 insertions, 0 deletions
