|
|
@ -1104,7 +1104,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
// https://ffmpeg.org/ffmpeg-filters.html#Notes-on-filtergraph-escaping
|
|
|
|
// https://ffmpeg.org/ffmpeg-filters.html#Notes-on-filtergraph-escaping
|
|
|
|
// We need to double escape
|
|
|
|
// We need to double escape
|
|
|
|
|
|
|
|
|
|
|
|
return path.Replace('\\', '/').Replace(":", "\\:", StringComparison.Ordinal).Replace("'", @"'\\\''", StringComparison.Ordinal);
|
|
|
|
return path
|
|
|
|
|
|
|
|
.Replace('\\', '/')
|
|
|
|
|
|
|
|
.Replace(":", "\\:", StringComparison.Ordinal)
|
|
|
|
|
|
|
|
.Replace("'", @"'\\\''", StringComparison.Ordinal)
|
|
|
|
|
|
|
|
.Replace("\"", "\\\"", StringComparison.Ordinal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
/// <inheritdoc />
|
|
|
|