mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
Fix build and thread detection logic
This commit is contained in:
@@ -1329,7 +1329,7 @@ namespace Jellyfin.Api.Controllers
|
||||
{
|
||||
var videoCodec = _encodingHelper.GetVideoEncoder(state, encodingOptions);
|
||||
|
||||
var threads = _encodingHelper.GetNumberOfThreads(state, encodingOptions, videoCodec);
|
||||
var threads = EncodingHelper.GetNumberOfThreads(state, encodingOptions, videoCodec); // GetNumberOfThreads is static
|
||||
|
||||
if (state.BaseRequest.BreakOnNonKeyFrames)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user