mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Fix all warnings in MediaBrowser.MediaEncoding (#9073)
This commit is contained in:
@@ -498,11 +498,12 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
_logger.LogInformation("Starting {ProcessFileName} with args {ProcessArgs}", _ffprobePath, args);
|
||||
|
||||
var memoryStream = new MemoryStream();
|
||||
await using (memoryStream.ConfigureAwait(false))
|
||||
using (var processWrapper = new ProcessWrapper(process, this))
|
||||
{
|
||||
await using var memoryStream = new MemoryStream();
|
||||
StartProcess(processWrapper);
|
||||
await process.StandardOutput.BaseStream.CopyToAsync(memoryStream, cancellationToken);
|
||||
await process.StandardOutput.BaseStream.CopyToAsync(memoryStream, cancellationToken).ConfigureAwait(false);
|
||||
memoryStream.Seek(0, SeekOrigin.Begin);
|
||||
InternalMediaInfoResult result;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user