aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/FFMpeg
diff options
context:
space:
mode:
authorPloughPuff <ploughpuff@protonmail.com>2019-01-28 13:41:37 +0000
committerBond-009 <bond.009@outlook.com>2019-01-31 18:56:34 +0100
commitfd361421b120b103b2abaf1e3b36c6715887afe4 (patch)
treef28959b8e3368d468df2ebce68f186ecc25e1bfb /Emby.Server.Implementations/FFMpeg
parentf7a46c7a56a76c644b5a6222df4e52371aeb27eb (diff)
Use CommandLineParser package for handling CLI args
Diffstat (limited to 'Emby.Server.Implementations/FFMpeg')
-rw-r--r--Emby.Server.Implementations/FFMpeg/FFMpegLoader.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/FFMpeg/FFMpegLoader.cs b/Emby.Server.Implementations/FFMpeg/FFMpegLoader.cs
index 79a42f294b..4c926b91a6 100644
--- a/Emby.Server.Implementations/FFMpeg/FFMpegLoader.cs
+++ b/Emby.Server.Implementations/FFMpeg/FFMpegLoader.cs
@@ -30,8 +30,8 @@ namespace Emby.Server.Implementations.FFMpeg
public FFMpegInfo GetFFMpegInfo(StartupOptions options)
{
- var customffMpegPath = options.GetOption("-ffmpeg");
- var customffProbePath = options.GetOption("-ffprobe");
+ var customffMpegPath = options.FFmpeg;
+ var customffProbePath = options.FFprobe;
if (!string.IsNullOrWhiteSpace(customffMpegPath) && !string.IsNullOrWhiteSpace(customffProbePath))
{