mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-13 01:34: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)
|
.OutputToPipe(reader)
|
||||||
.CancellableThrough(out var cancel)
|
.CancellableThrough(out var cancel)
|
||||||
.ProcessAsynchronously(false);
|
.ProcessAsynchronously(false);
|
||||||
|
|
||||||
|
await Task.Delay(100);
|
||||||
cancel();
|
cancel();
|
||||||
|
|
||||||
var result = await task;
|
var result = await task;
|
||||||
|
|
Loading…
Reference in a new issue