Browse Source

Update FileStreamResponseHelpers.cs

BaronGreenback 4 years ago
parent
commit
25e965b85c
1 changed files with 0 additions and 5 deletions
  1. 0 5
      Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

+ 0 - 5
Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

@@ -126,11 +126,6 @@ namespace Jellyfin.Api.Helpers
                 await new ProgressiveFileCopier(outputPath, job, transcodingJobHelper, CancellationToken.None)
                     .WriteToAsync(httpContext.Response.Body, CancellationToken.None).ConfigureAwait(false);
                 return new FileStreamResult(httpContext.Response.Body, contentType);
-
-                // var memoryStream = new MemoryStream();
-                // await new ProgressiveFileCopier(outputPath, job, transcodingJobHelper, CancellationToken.None).WriteToAsync(memoryStream, CancellationToken.None).ConfigureAwait(false);
-                // memoryStream.Position = 0;
-                // return new FileStreamResult(memoryStream, contentType);
             }
             finally
             {