mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +00:00
Improve resetting
This commit is contained in:
parent
65e8ba85e3
commit
0c467e3a05
3 changed files with 3 additions and 6 deletions
|
|
@ -1 +1 @@
|
||||||
[assembly: Parallelize]
|
[assembly: Parallelize(Scope = ExecutionScope.ClassLevel)]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
using FFMpegCore.Arguments;
|
namespace FFMpegCore.Test;
|
||||||
|
|
||||||
namespace FFMpegCore.Test;
|
|
||||||
|
|
||||||
[TestClass]
|
[TestClass]
|
||||||
public class FFMpegArgumentProcessorTest
|
public class FFMpegArgumentProcessorTest
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ public class FFMpegOptionsTest
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Options_Set_Programmatically()
|
public void Options_Set_Programmatically()
|
||||||
{
|
{
|
||||||
var original = GlobalFFOptions.Current;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
GlobalFFOptions.Configure(new FFOptions { BinaryFolder = "Whatever" });
|
GlobalFFOptions.Configure(new FFOptions { BinaryFolder = "Whatever" });
|
||||||
|
|
@ -40,7 +39,7 @@ public class FFMpegOptionsTest
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
GlobalFFOptions.Configure(original);
|
GlobalFFOptions.Configure(new FFOptions());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue