mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
add configurable encoding params
This commit is contained in:
@@ -928,7 +928,12 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
{
|
||||
StartProcess(processWrapper);
|
||||
|
||||
ranToCompletion = process.WaitForExit(10000);
|
||||
var timeoutMs = ConfigurationManager.Configuration.ImageExtractionTimeoutMs;
|
||||
if (timeoutMs <= 0)
|
||||
{
|
||||
timeoutMs = 10000;
|
||||
}
|
||||
ranToCompletion = process.WaitForExit(timeoutMs);
|
||||
|
||||
if (!ranToCompletion)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user