aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/HlsHelpers.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-09-25 20:22:42 +0200
committerGitHub <noreply@github.com>2021-09-25 20:22:42 +0200
commite6f3531f403d0c895101ab0ad72e047f1905fde1 (patch)
tree0663fabcb48fa9f93ba4595b27b3f21499c5ae23 /Jellyfin.Api/Helpers/HlsHelpers.cs
parent2ee3e9e00f62ff8b0139f1273d7666d0f6c549a4 (diff)
parentf31224fa8f1dccb730703c048c26e14b5d14fa55 (diff)
Merge pull request #6612 from Bond-009/async3
Diffstat (limited to 'Jellyfin.Api/Helpers/HlsHelpers.cs')
-rw-r--r--Jellyfin.Api/Helpers/HlsHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/HlsHelpers.cs b/Jellyfin.Api/Helpers/HlsHelpers.cs
index f36769dc2..456762147 100644
--- a/Jellyfin.Api/Helpers/HlsHelpers.cs
+++ b/Jellyfin.Api/Helpers/HlsHelpers.cs
@@ -38,7 +38,7 @@ namespace Jellyfin.Api.Helpers
FileAccess.Read,
FileShare.ReadWrite,
IODefaults.FileStreamBufferSize,
- (AsyncFile.UseAsyncIO ? FileOptions.Asynchronous : FileOptions.None) | FileOptions.SequentialScan);
+ FileOptions.Asynchronous | FileOptions.SequentialScan);
await using (fileStream.ConfigureAwait(false))
{
using var reader = new StreamReader(fileStream);