From 1c0e23fd7ac3dae97c82db781b189284b63ef0b3 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 8 Apr 2017 14:52:49 -0400 Subject: [PATCH] update segment result --- MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs index 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.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); }