mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-24 21:32:31 +00:00
Fix GHSA-wwwm-px48-fpvq
# Conflicts: # MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs
This commit is contained in:
parent
d6bcad3b59
commit
a8da0664a3
2 changed files with 6 additions and 5 deletions
|
|
@ -1318,7 +1318,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
arg.Append(canvasArgs);
|
||||
}
|
||||
|
||||
arg.Append(" -i file:\"").Append(subtitlePath).Append('\"');
|
||||
arg.Append(" -i file:\"").Append(subtitlePath.Replace("\"", "\\\"", StringComparison.Ordinal)).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).Append('"');
|
||||
arg.Append(" -i \"").Append(state.AudioStream.Path.Replace("\"", "\\\"", StringComparison.Ordinal)).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