aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/VideosController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-17 15:54:40 -0600
committercrobibero <cody@robibe.ro>2020-08-17 15:54:40 -0600
commit29d8e3816135b1af926eaf9c44f96638ce5956fe (patch)
tree813280744e6e5542fc595287d7991c2a7bdf1779 /Jellyfin.Api/Controllers/VideosController.cs
parent7861c72754172a1d2ebaffdde861fd614fa65488 (diff)
parentd0f49b39945424e5d2a8697ea551055ce26cf758 (diff)
Merge remote-tracking branch 'upstream/master' into fixes
Diffstat (limited to 'Jellyfin.Api/Controllers/VideosController.cs')
-rw-r--r--Jellyfin.Api/Controllers/VideosController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.cs
index 8eee51c2c..de9813c58 100644
--- a/Jellyfin.Api/Controllers/VideosController.cs
+++ b/Jellyfin.Api/Controllers/VideosController.cs
@@ -470,8 +470,8 @@ namespace Jellyfin.Api.Controllers
{
StreamingHelpers.AddDlnaHeaders(state, Response.Headers, true, startTimeTicks, Request, _dlnaManager);
- using var httpClient = _httpClientFactory.CreateClient();
- return await FileStreamResponseHelpers.GetStaticRemoteStreamResult(state, isHeadRequest, httpClient, HttpContext).ConfigureAwait(false);
+ var httpClient = _httpClientFactory.CreateClient();
+ return await FileStreamResponseHelpers.GetStaticRemoteStreamResult(state, isHeadRequest, this, httpClient).ConfigureAwait(false);
}
if (@static.HasValue && @static.Value && state.InputProtocol != MediaProtocol.File)