mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
Fix parameters
This commit is contained in:
parent
74b3416963
commit
24c5016f48
@ -209,12 +209,12 @@ namespace Jellyfin.Api.Controllers
|
|||||||
transcodingProfile.AudioCodec,
|
transcodingProfile.AudioCodec,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
null,
|
||||||
transcodingProfile.BreakOnNonKeyFrames,
|
transcodingProfile.BreakOnNonKeyFrames,
|
||||||
maxAudioSampleRate,
|
maxAudioSampleRate,
|
||||||
maxAudioBitDepth,
|
maxAudioBitDepth,
|
||||||
null,
|
null,
|
||||||
isStatic ? (int?)null : Convert.ToInt32(Math.Min(maxStreamingBitrate ?? 192000, int.MaxValue)),
|
isStatic ? (int?)null : Convert.ToInt32(Math.Min(maxStreamingBitrate ?? 192000, int.MaxValue)),
|
||||||
null,
|
|
||||||
maxAudioChannels,
|
maxAudioChannels,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
@ -226,6 +226,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
SubtitleDeliveryMethod.Hls,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
@ -240,10 +241,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
mediaSource.TranscodeReasons == null ? null : string.Join(",", mediaSource.TranscodeReasons.Select(i => i.ToString()).ToArray()),
|
mediaSource.TranscodeReasons == null ? null : string.Join(",", mediaSource.TranscodeReasons.Select(i => i.ToString()).ToArray()),
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
EncodingContext.Static,
|
||||||
null,
|
new Dictionary<string, string>())
|
||||||
null,
|
|
||||||
null)
|
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -264,12 +263,12 @@ namespace Jellyfin.Api.Controllers
|
|||||||
transcodingProfile.AudioCodec,
|
transcodingProfile.AudioCodec,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
null,
|
||||||
transcodingProfile.BreakOnNonKeyFrames,
|
transcodingProfile.BreakOnNonKeyFrames,
|
||||||
maxAudioSampleRate,
|
maxAudioSampleRate,
|
||||||
maxAudioBitDepth,
|
maxAudioBitDepth,
|
||||||
null,
|
null,
|
||||||
isStatic ? (int?)null : Convert.ToInt32(Math.Min(maxStreamingBitrate ?? 192000, int.MaxValue)),
|
isStatic ? (int?)null : Convert.ToInt32(Math.Min(maxStreamingBitrate ?? 192000, int.MaxValue)),
|
||||||
null,
|
|
||||||
maxAudioChannels,
|
maxAudioChannels,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
@ -281,6 +280,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
SubtitleDeliveryMethod.Hls,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
@ -295,10 +295,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
mediaSource.TranscodeReasons == null ? null : string.Join(",", mediaSource.TranscodeReasons.Select(i => i.ToString()).ToArray()),
|
mediaSource.TranscodeReasons == null ? null : string.Join(",", mediaSource.TranscodeReasons.Select(i => i.ToString()).ToArray()),
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
null,
|
EncodingContext.Static,
|
||||||
null,
|
new Dictionary<string, string>())
|
||||||
null,
|
|
||||||
null)
|
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user