Update VideoTest.cs

Former-commit-id: f9a3197165
This commit is contained in:
Malte Rosenbjerg 2020-06-16 07:42:51 +02:00
parent 9b7bebfd84
commit e1422c94c8

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);