update ffmpeg path config
This commit is contained in:
parent
fb07b4640c
commit
39ed3696ad
|
@ -127,6 +127,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
|
||||
var appPath = GetEncodingOptions().EncoderAppPath;
|
||||
|
||||
if (string.IsNullOrWhiteSpace(appPath))
|
||||
{
|
||||
appPath = Path.Combine(ConfigurationManager.ApplicationPaths.ProgramDataPath, "ffmpeg");
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(appPath))
|
||||
{
|
||||
if (Directory.Exists(appPath))
|
||||
|
|
Loading…
Reference in New Issue
Block a user