mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 00:24:14 +01:00
HotFix: propagate ctor options in child classes
Former-commit-id: 1c8ab3b1da
This commit is contained in:
parent
7c25a5e8e7
commit
e24c0a523a
3 changed files with 6 additions and 12 deletions
|
@ -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);
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace FFMpegCore.FFMPEG
|
|||
{
|
||||
public sealed class FFProbe : FFBase
|
||||
{
|
||||
public FFProbe()
|
||||
public FFProbe(FFMpegOptions opts = null): base(opts)
|
||||
{
|
||||
FFProbeHelper.RootExceptionCheck(ConfiguredRoot);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue