Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting / style Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
380d023351
commit
1eb3df1d6c
|
@ -166,7 +166,12 @@ namespace MediaBrowser.MediaEncoding.Attachments
|
||||||
|
|
||||||
Directory.CreateDirectory(Path.GetDirectoryName(outputPath));
|
Directory.CreateDirectory(Path.GetDirectoryName(outputPath));
|
||||||
|
|
||||||
var processArgs = string.Format("-dump_attachment:{1} {2} -i {0} -t 0 -f null null", inputPath, attachmentStreamIndex, outputPath);
|
var processArgs = string.Format(
|
||||||
|
CultureInfo.InvariantCulture,
|
||||||
|
"-dump_attachment:{1} {2} -i {0} -t 0 -f null null",
|
||||||
|
inputPath,
|
||||||
|
attachmentStreamIndex,
|
||||||
|
outputPath);
|
||||||
var process = _processFactory.Create(new ProcessOptions
|
var process = _processFactory.Create(new ProcessOptions
|
||||||
{
|
{
|
||||||
CreateNoWindow = true,
|
CreateNoWindow = true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user