The Free Software Media System - Server Backend & API
update segment handler
Luke Pulverentifd71890247ca
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.csindex bd4442a590..3ead4626a7 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);}