Unwrapped OpenRead and CopyFile

This commit is contained in:
Erwin de Haan 2019-01-26 22:31:59 +01:00
parent d7c6d16250
commit a430568082
25 changed files with 35 additions and 34 deletions

View file

@ -146,7 +146,7 @@ namespace Emby.Server.Implementations.MediaEncoder
var container = video.Container;
var tempFile = await _encoder.ExtractVideoImage(inputPath, container, protocol, video.GetDefaultVideoStream(), video.Video3DFormat, time, cancellationToken).ConfigureAwait(false);
_fileSystem.CopyFile(tempFile, path, true);
File.Copy(tempFile, path, true);
try
{