diff --git a/FFMpegCore/FFMPEG/FFMpeg.cs b/FFMpegCore/FFMPEG/FFMpeg.cs index f6b3111..b6660b0 100644 --- a/FFMpegCore/FFMPEG/FFMpeg.cs +++ b/FFMpegCore/FFMPEG/FFMpeg.cs @@ -25,18 +25,12 @@ public class FFMpeg : FFBase /// /// Intializes the FFMPEG encoder. /// - 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); diff --git a/FFMpegCore/FFMPEG/FFProbe.cs b/FFMpegCore/FFMPEG/FFProbe.cs index 06801f6..421f29d 100644 --- a/FFMpegCore/FFMPEG/FFProbe.cs +++ b/FFMpegCore/FFMPEG/FFProbe.cs @@ -8,7 +8,7 @@ namespace FFMpegCore.FFMPEG { public sealed class FFProbe : FFBase { - public FFProbe() + public FFProbe(FFMpegOptions opts = null): base(opts) { FFProbeHelper.RootExceptionCheck(ConfiguredRoot); diff --git a/FFMpegCore/FFMpegCore.csproj b/FFMpegCore/FFMpegCore.csproj index 608fc81..73a5ff2 100644 --- a/FFMpegCore/FFMpegCore.csproj +++ b/FFMpegCore/FFMpegCore.csproj @@ -7,9 +7,9 @@ https://github.com/vladjerca/FFMpegCore Vlad Jerca 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. - 1.0.3 - 1.0.3.0 - 1.0.3.0 + 1.0.4 + 1.0.4.0 + 1.0.4.0