aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-04 01:49:00 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-04 01:49:00 -0500
commit352074acd47e3ed63433b77ffcb34fe634fa36e6 (patch)
tree794e1c16186e524e2cd4924d7e2dc18ebd3d7e73
parent690906aa38a221692b16eaddd73f5cfeb408483a (diff)
update osd
-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);
}
}