mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-08 07:12:56 +01:00
improve ffmpeg killing
This commit is contained in:
@@ -1706,7 +1706,7 @@ namespace MediaBrowser.Api.Playback
|
||||
state.OutputAudioCodec = "copy";
|
||||
}
|
||||
|
||||
if (string.Equals(state.OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase))
|
||||
if (string.Equals(state.OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase) && TranscodingJobType == TranscodingJobType.Hls)
|
||||
{
|
||||
var segmentLength = GetSegmentLength(state);
|
||||
if (segmentLength.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user