mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-09 01:42:41 +00:00
Options
This commit is contained in:
parent
16ea7baad4
commit
6c649a7e72
3 changed files with 84 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue