mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-25 06:27:15 -04:00
Unwrapped OpenRead
and CopyFile
This commit is contained in:
parent
d7c6d16250
commit
a430568082
25 changed files with 35 additions and 34 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue