mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
update segment result
This commit is contained in:
parent
2f0c2b4c66
commit
1c0e23fd7a
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
var currentTranscodingIndex = GetCurrentTranscodingIndex(playlistPath, segmentExtension);
|
||||
|
||||
// If requested segment is less than transcoding position, we can't transcode backwards, so assume it's ready
|
||||
if (segmentIndex != currentTranscodingIndex)
|
||||
if (segmentIndex < currentTranscodingIndex)
|
||||
{
|
||||
return await GetSegmentResult(state, segmentPath, segmentIndex, transcodingJob).ConfigureAwait(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue