HotFix: propagate ctor options in child classes

Former-commit-id: 1c8ab3b1da
This commit is contained in:
Vlad Jerca 2019-03-03 01:16:42 +02:00
parent 7c25a5e8e7
commit e24c0a523a
3 changed files with 6 additions and 12 deletions

View file

@ -25,18 +25,12 @@ public class FFMpeg : FFBase
/// <summary>
/// Intializes the FFMPEG encoder.
/// </summary>
public FFMpeg()
public FFMpeg(FFMpegOptions opts = null): base(opts)
{
_Init();
ArgumentBuilder = new FFArgumentBuilder();
}
public FFMpeg(IArgumentBuilder builder)
{
_Init();
ArgumentBuilder = builder;
}
private void _Init()
{
FFMpegHelper.RootExceptionCheck(ConfiguredRoot);

View file

@ -8,7 +8,7 @@ namespace FFMpegCore.FFMPEG
{
public sealed class FFProbe : FFBase
{
public FFProbe()
public FFProbe(FFMpegOptions opts = null): base(opts)
{
FFProbeHelper.RootExceptionCheck(ConfiguredRoot);

View file

@ -7,9 +7,9 @@
<PackageProjectUrl>https://github.com/vladjerca/FFMpegCore</PackageProjectUrl>
<Copyright>Vlad Jerca</Copyright>
<Description>A great way to use FFMpeg encoding when writing video applications, client-side and server-side. It has wrapper methods that allow conversion to all web formats: MP4, OGV, TS and methods of capturing screens from the videos.</Description>
<Version>1.0.3</Version>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<FileVersion>1.0.3.0</FileVersion>
<Version>1.0.4</Version>
<AssemblyVersion>1.0.4.0</AssemblyVersion>
<FileVersion>1.0.4.0</FileVersion>
</PropertyGroup>
<ItemGroup>