mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +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>
|
/// <summary>
|
||||||
/// Intializes the FFMPEG encoder.
|
/// Intializes the FFMPEG encoder.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public FFMpeg()
|
public FFMpeg(FFMpegOptions opts = null): base(opts)
|
||||||
{
|
{
|
||||||
_Init();
|
_Init();
|
||||||
ArgumentBuilder = new FFArgumentBuilder();
|
ArgumentBuilder = new FFArgumentBuilder();
|
||||||
}
|
}
|
||||||
|
|
||||||
public FFMpeg(IArgumentBuilder builder)
|
|
||||||
{
|
|
||||||
_Init();
|
|
||||||
ArgumentBuilder = builder;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void _Init()
|
private void _Init()
|
||||||
{
|
{
|
||||||
FFMpegHelper.RootExceptionCheck(ConfiguredRoot);
|
FFMpegHelper.RootExceptionCheck(ConfiguredRoot);
|
||||||
|
|
|
@ -8,7 +8,7 @@ namespace FFMpegCore.FFMPEG
|
||||||
{
|
{
|
||||||
public sealed class FFProbe : FFBase
|
public sealed class FFProbe : FFBase
|
||||||
{
|
{
|
||||||
public FFProbe()
|
public FFProbe(FFMpegOptions opts = null): base(opts)
|
||||||
{
|
{
|
||||||
FFProbeHelper.RootExceptionCheck(ConfiguredRoot);
|
FFProbeHelper.RootExceptionCheck(ConfiguredRoot);
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<PackageProjectUrl>https://github.com/vladjerca/FFMpegCore</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/vladjerca/FFMpegCore</PackageProjectUrl>
|
||||||
<Copyright>Vlad Jerca</Copyright>
|
<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>
|
<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>
|
<Version>1.0.4</Version>
|
||||||
<AssemblyVersion>1.0.3.0</AssemblyVersion>
|
<AssemblyVersion>1.0.4.0</AssemblyVersion>
|
||||||
<FileVersion>1.0.3.0</FileVersion>
|
<FileVersion>1.0.4.0</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue