mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-29 20:24:47 +03:00
fix: move trickplay specific option into TrickplayOptions (#11229)
This commit is contained in:
@@ -800,6 +800,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
int maxWidth,
|
||||
TimeSpan interval,
|
||||
bool allowHwAccel,
|
||||
bool enableHwEncoding,
|
||||
int? threads,
|
||||
int? qualityScale,
|
||||
ProcessPriorityClass? priority,
|
||||
@@ -828,7 +829,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
MediaPath = inputFile,
|
||||
OutputVideoCodec = "mjpeg"
|
||||
};
|
||||
var vidEncoder = options.AllowMjpegEncoding ? encodingHelper.GetVideoEncoder(jobState, options) : jobState.OutputVideoCodec;
|
||||
var vidEncoder = enableHwEncoding ? encodingHelper.GetVideoEncoder(jobState, options) : jobState.OutputVideoCodec;
|
||||
|
||||
// Get input and filter arguments
|
||||
var inputArg = encodingHelper.GetInputArgument(jobState, options, container).Trim();
|
||||
|
||||
Reference in New Issue
Block a user