mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
Add timeouts
This commit is contained in:
parent
dc30010725
commit
d923dace6c
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ public void Probe_Success()
|
||||||
Assert.AreEqual(13, info.Duration.Seconds);
|
Assert.AreEqual(13, info.Duration.Seconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod, Timeout(10000)]
|
||||||
public void Probe_Success_FromStream()
|
public void Probe_Success_FromStream()
|
||||||
{
|
{
|
||||||
var output = new FFProbe();
|
var output = new FFProbe();
|
||||||
|
@ -44,7 +44,7 @@ public void Probe_Success_FromStream()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod, Timeout(10000)]
|
||||||
public void Probe_Success_FromStream_Async()
|
public void Probe_Success_FromStream_Async()
|
||||||
{
|
{
|
||||||
var output = new FFProbe();
|
var output = new FFProbe();
|
||||||
|
|
|
@ -314,7 +314,7 @@ public void Video_ToMP4_Args_StreamOutputPipe_Async_Failure()
|
||||||
var pipeSource = new StreamPipeDataReader(ms);
|
var pipeSource = new StreamPipeDataReader(ms);
|
||||||
var container = new ArgumentContainer
|
var container = new ArgumentContainer
|
||||||
{
|
{
|
||||||
new InputArgument(VideoLibrary.LocalVideo),
|
new InputArgument(VideoLibrary.LocalVideoWebm),
|
||||||
new VideoCodecArgument(VideoCodec.LibX264),
|
new VideoCodecArgument(VideoCodec.LibX264),
|
||||||
new ForceFormatArgument("mkv"),
|
new ForceFormatArgument("mkv"),
|
||||||
new OutputPipeArgument(pipeSource)
|
new OutputPipeArgument(pipeSource)
|
||||||
|
|
Loading…
Reference in a new issue