Update VideoTest.cs

This commit is contained in:
Malte Rosenbjerg 2020-06-16 07:42:51 +02:00
parent 4e5d464753
commit f9a3197165

View file

@ -70,7 +70,7 @@ private void ConvertFromStreamPipe(ContainerFormat type, params IArgument[] inpu
try
{
var input = FFProbe.Analyse(VideoLibrary.LocalVideoWebm.FullName);
using (var inputStream = File.OpenRead(input.Path))
using (var inputStream = File.OpenRead(VideoLibrary.LocalVideoWebm.FullName))
{
var pipeSource = new StreamPipeSource(inputStream);
var arguments = FFMpegArguments.FromPipe(pipeSource);