Renamed Init() to SetFFmpegPath()

This commit is contained in:
PloughPuff authored and Ploughpuff committed 2019-03-05 21:29:15 +00:00
1 parent 656bffbbb2
commit 2617a49b78
3 files changed
+5 -5

No files matched your search

@@ -84,7 +84,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
/// Sets global variables FFmpegPath.
/// Precedence is: Config > CLI > $PATH
/// </summary>
public void Init()
public void SetFFmpegPath()
{
// ToDo - Finalise removal of the --ffprobe switch
if (!string.IsNullOrEmpty(StartupOptionFFprobePath))
@@ -169,8 +169,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
config.EncoderAppPath = newPath;
ConfigurationManager.SaveConfiguration("encoding", config);
// Trigger Init so we validate the new path and setup probe path
Init();
// Trigger SetFFmpegPath so we validate the new path and setup probe path
SetFFmpegPath();
}
/// <summary>