aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DynamicHlsController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-10-03 17:17:56 +0200
committerGitHub <noreply@github.com>2021-10-03 17:17:56 +0200
commit9718c0b2eeb3ff2c2d0f613bfb51db6a025b0a07 (patch)
tree998e25880a88c8f49b7ba490c5d00c9f19bfca67 /Jellyfin.Api/Controllers/DynamicHlsController.cs
parent6a575b3f77d2d1a304bb8b80e09d2b26b50bba5d (diff)
parent6cbfdea4c018a88864f1c7aa8f5b2535a9952b31 (diff)
Merge pull request #6651 from KonH/fix_common_warnings
Diffstat (limited to 'Jellyfin.Api/Controllers/DynamicHlsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DynamicHlsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.cs
index a54003357..42e82dd5b 100644
--- a/Jellyfin.Api/Controllers/DynamicHlsController.cs
+++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs
@@ -1709,7 +1709,7 @@ namespace Jellyfin.Api.Controllers
return Task.CompletedTask;
});
- return FileStreamResponseHelpers.GetStaticFileResult(segmentPath, MimeTypes.GetMimeType(segmentPath)!, false, HttpContext);
+ return FileStreamResponseHelpers.GetStaticFileResult(segmentPath, MimeTypes.GetMimeType(segmentPath), false, HttpContext);
}
private long GetEndPositionTicks(StreamState state, int requestedIndex)