Backport pull request #18243 from jellyfin/release-12.z

Fix crash probing streams without frame size

Original-merge: 8e50df32e7

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
myristate authored and Bond_009 committed 2026-10-13 13:36:10 -04:00
1 parent 619eb231b4
commit 054706333d
5 files changed
+192

No files matched your search

@@ -1110,6 +1110,12 @@ namespace MediaBrowser.MediaEncoding.Probing
&& width > 0
&& height > 0))
{
// Live TV and other early probes can report neither a usable display aspect ratio nor the frame size
if (info.Width is not > 0 || info.Height is not > 0)
{
return original;
}
width = info.Width.Value;
height = info.Height.Value;
}