mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
allow separate customization of ffmpeg/ffprobe paths
This commit is contained in:
parent
3061e6c876
commit
c6a01e0370
1 changed files with 10 additions and 0 deletions
|
@ -111,6 +111,16 @@ namespace MediaBrowser.Server.Startup.Common.FFMpeg
|
||||||
|
|
||||||
DeleteOlderFolders(Path.GetDirectoryName(versionedDirectoryPath), excludeFromDeletions);
|
DeleteOlderFolders(Path.GetDirectoryName(versionedDirectoryPath), excludeFromDeletions);
|
||||||
|
|
||||||
|
// Allow just one of these to be overridden, if desired.
|
||||||
|
if (!string.IsNullOrWhiteSpace(customffMpegPath))
|
||||||
|
{
|
||||||
|
info.EncoderPath = customffMpegPath;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrWhiteSpace(customffProbePath))
|
||||||
|
{
|
||||||
|
info.EncoderPath = customffProbePath;
|
||||||
|
}
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue