Update VideoTest.cs

Former-commit-id: d840f8d237
This commit is contained in:
Malte Rosenbjerg 2020-06-18 22:08:44 +02:00
parent 4e0ee69348
commit 8f66a8f4c2

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(VideoLibrary.LocalVideoWebm.FullName))
using (var inputStream = File.OpenRead(input.Path))
{
var pipeSource = new StreamPipeSource(inputStream);
var arguments = FFMpegArguments.FromPipe(pipeSource);