aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-01-05 23:36:59 -0500
committerGitHub <noreply@github.com>2017-01-05 23:36:59 -0500
commit0a202a58f888c4d384a70c571e6d05d09b8020b2 (patch)
treefd06847cb48887d4bfc1087d70a42ea0e5efb6c9 /MediaBrowser.Api/Playback/Hls/BaseHlsService.cs
parent5ff78b5130d0b2712494f4830a9d4f025b09ede3 (diff)
parent424c83bda8c44c81eff62a26f4e2e65ceaf6de6f (diff)
Merge pull request #2381 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/Playback/Hls/BaseHlsService.cs')
-rw-r--r--MediaBrowser.Api/Playback/Hls/BaseHlsService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs b/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs
index 17a0eeb8e..299cb33fa 100644
--- a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs
+++ b/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs
@@ -103,7 +103,7 @@ namespace MediaBrowser.Api.Playback.Hls
throw;
}
- var waitForSegments = state.SegmentLength >= 10 ? 2 : (state.SegmentLength > 3 || !isLive ? 3 : 3);
+ var waitForSegments = state.SegmentLength >= 10 ? 2 : 3;
await WaitForMinimumSegmentCount(playlist, waitForSegments, cancellationTokenSource.Token).ConfigureAwait(false);
}
}