update as per suggestions

This commit is contained in:
Nyanmisaka 2020-09-01 23:39:19 +08:00 committed by GitHub
parent d7caf88df6
commit 5c83dbd0c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";