diff options
| author | Bond_009 <bond.009@outlook.com> | 2026-03-29 14:16:26 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2026-03-29 14:27:49 +0200 |
| commit | a6da575785e678e64ed03978d1f4f60a80423121 (patch) | |
| tree | 9331b938f8609e1175c0e4a814d67b1c42e9dd69 /tests | |
| parent | ea206f43a25700904bc9c909d6616dfe55ab8671 (diff) | |
Only set IsAvc for video streams
Also enables nullable for MediaStreamInfo
Makes more properties nullable that aren't always present
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs b/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs index 8ebbd029ac..3369af0e84 100644 --- a/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs +++ b/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs @@ -209,8 +209,8 @@ namespace Jellyfin.MediaEncoding.Tests.Probing Assert.Equal("mkv,webm", res.Container); Assert.Equal(2, res.MediaStreams.Count); - - Assert.False(res.MediaStreams[0].IsAVC); + Assert.Equal(540, res.MediaStreams[0].Width); + Assert.Equal(360, res.MediaStreams[0].Height); } [Fact] |
