aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library
diff options
context:
space:
mode:
authorNoFear0411 <9083405+NoFear0411@users.noreply.github.com>2026-03-01 00:00:05 +0400
committerNoFear0411 <9083405+NoFear0411@users.noreply.github.com>2026-03-01 00:00:05 +0400
commitbc316b3dc855e93d4d11e2c0d73d70326c38b889 (patch)
tree02a37bcafd0465cced81f2fca26aa651098133de /MediaBrowser.Server.Implementations/Library
parente6d73ae367e9179779114c4e292dee1f5431a1d9 (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.Server.Implementations/Library')
0 files changed, 0 insertions, 0 deletions