diff options
| author | NoFear0411 <9083405+NoFear0411@users.noreply.github.com> | 2026-03-01 18:51:27 +0400 |
|---|---|---|
| committer | NoFear0411 <9083405+NoFear0411@users.noreply.github.com> | 2026-03-01 18:51:27 +0400 |
| commit | d87fe973f3516e20ae4c4ecd8036286deeb4b51d (patch) | |
| tree | 62b41d9c94bd824e10975ed8c20079cf4d50e827 /MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | |
| parent | bc316b3dc855e93d4d11e2c0d73d70326c38b889 (diff) | |
Fix StyleCop and xUnit analyzer errors
- Add missing param and returns XML doc tags (SA1611, SA1615)
- Remove trailing alignment whitespace in test attributes (SA1025)
- Use nullable string parameter for null test case (xUnit1012)
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs index 471df369b..127bdd380 100644 --- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs +++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs @@ -1161,6 +1161,8 @@ namespace MediaBrowser.MediaEncoding.Probing /// A 1% tolerance safely covers encoder rounding artifacts while preserving detection /// of genuine anamorphic content (closest standard is PAL 4:3 at 16:15 = 6.67% off). /// </summary> + /// <param name="sar">The sample aspect ratio string in "N:D" format.</param> + /// <returns><c>true</c> if the SAR is within 1% of 1:1; otherwise <c>false</c>.</returns> internal static bool IsNearSquarePixelSar(string sar) { if (string.IsNullOrEmpty(sar)) |
