From ef64263899cf16483fec690dcd454d5882330a5b Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Wed, 13 May 2020 00:00:02 +0200 Subject: [PATCH] Add delay --- FFMpegCore.Test/VideoTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FFMpegCore.Test/VideoTest.cs b/FFMpegCore.Test/VideoTest.cs index 19f7b0d..644476f 100644 --- a/FFMpegCore.Test/VideoTest.cs +++ b/FFMpegCore.Test/VideoTest.cs @@ -652,7 +652,8 @@ public async Task Video_Cancel_Async() .OutputToPipe(reader) .CancellableThrough(out var cancel) .ProcessAsynchronously(false); - + + await Task.Delay(100); cancel(); var result = await task;