Skip to content

The Free Software Media System - Server Backend & API

update as per suggestions

Nyanmisaka5c83dbd0c44e
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.cs
index fec7f25799..eb2f61c77e 100644
--- a/Jellyfin.Api/Controllers/DynamicHlsController.cs
+++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs
@@ -1354,7 +1354,7 @@ namespace Jellyfin.Api.Controllers
segmentFormat = "mpegts";
}
- var maxMuxingQueueSize = encodingOptions.MaxMuxingQueueSize >= 128 && encodingOptions.MaxMuxingQueueSize <= int.MaxValue
+ var maxMuxingQueueSize = encodingOptions.MaxMuxingQueueSize >= 128
? encodingOptions.MaxMuxingQueueSize.ToString(CultureInfo.InvariantCulture)
: "128";