|
|
|
@ -848,6 +848,12 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
inputArg = "-threads " + threads + " " + inputArg; // HW accel args set a different input thread count, only set if disabled
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (vidEncoder.Contains("videotoolbox", StringComparison.InvariantCultureIgnoreCase))
|
|
|
|
|
{
|
|
|
|
|
// VideoToolbox supports low priority decoding, which is useful for trickplay
|
|
|
|
|
inputArg = "-hwaccel_flags +low_priority " + inputArg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var filterParam = encodingHelper.GetVideoProcessingFilterParam(jobState, options, vidEncoder).Trim();
|
|
|
|
|
if (string.IsNullOrWhiteSpace(filterParam))
|
|
|
|
|
{
|
|
|
|
|