aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-04-08 14:52:49 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-04-08 14:52:49 -0400
commit1c0e23fd7ac3dae97c82db781b189284b63ef0b3 (patch)
treebe3756ef969e6520644fd4ab746b3fbd073a9881
parent2f0c2b4c660260e1cc34e66fdf0ee6f22115b8b7 (diff)
update segment result
-rw-r--r--MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs
index 3ead4626a..bd4442a59 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);
}