mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 00:24:14 +01:00
Add delay
This commit is contained in:
parent
b2085c4a8b
commit
ef64263899
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue