mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-20 14:52:09 +00:00
Normalize fix, apply in more places
This commit is contained in:
parent
a8da0664a3
commit
9ba91d4583
9 changed files with 76 additions and 29 deletions
|
|
@ -1318,7 +1318,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
arg.Append(canvasArgs);
|
||||
}
|
||||
|
||||
arg.Append(" -i file:\"").Append(subtitlePath.Replace("\"", "\\\"", StringComparison.Ordinal)).Append('\"');
|
||||
arg.Append(" -i file:\"").Append(subtitlePath.EscapeProcessArgument()).Append('\"');
|
||||
}
|
||||
|
||||
if (state.AudioStream is not null && state.AudioStream.IsExternal)
|
||||
|
|
@ -1330,7 +1330,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
arg.Append(' ').Append(seekAudioParam);
|
||||
}
|
||||
|
||||
arg.Append(" -i \"").Append(state.AudioStream.Path.Replace("\"", "\\\"", StringComparison.Ordinal)).Append('"');
|
||||
arg.Append(" -i \"").Append(state.AudioStream.Path.EscapeProcessArgument()).Append('"');
|
||||
}
|
||||
|
||||
// Disable auto inserted SW scaler for HW decoders in case of changed resolution.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue