mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Options
This commit is contained in:
@@ -853,10 +853,14 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
{
|
||||
filterParam = "-vf \"" + fps + "\"";
|
||||
}
|
||||
else
|
||||
else if (filterParam.IndexOf("\"", StringComparison.Ordinal) != -1)
|
||||
{
|
||||
filterParam = filterParam.Insert(filterParam.IndexOf("\"", StringComparison.Ordinal) + 1, fps + ",");
|
||||
}
|
||||
else
|
||||
{
|
||||
filterParam += fps + ",";
|
||||
}
|
||||
|
||||
var targetDirectory = Path.Combine(_configurationManager.ApplicationPaths.TempDirectory, Guid.NewGuid().ToString("N"));
|
||||
Directory.CreateDirectory(targetDirectory);
|
||||
|
||||
Reference in New Issue
Block a user