Change DemuxConcatArgument output to match FFmpeg format

This commit is contained in:
xxbiohazrdxx 2020-07-31 11:46:12 -04:00
parent ef49542de0
commit 91b39b41a8

View file

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
@ -15,7 +16,7 @@ public class DemuxConcatArgument : IInputArgument
public readonly IEnumerable<string> Values;
public DemuxConcatArgument(IEnumerable<string> values)
{
Values = values;
Values = values.Select(value => $"'file '{value}'");
}
private readonly string _tempFileName = Path.Combine(FFMpegOptions.Options.TempDirectory, Guid.NewGuid() + ".txt");