The Free Software Media System - Server Backend & API
update segment result
Luke Pulverenti1c0e23fd7ac3
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.csindex 3ead4626a7..bd4442a590 100644--- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs@@ -443,7 +443,7 @@ namespace MediaBrowser.Api.Playback.Hlsvar 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);}