From 91b39b41a8067249d0f7a5f6bd5caefc88609cad Mon Sep 17 00:00:00 2001 From: xxbiohazrdxx Date: Fri, 31 Jul 2020 11:46:12 -0400 Subject: [PATCH] Change DemuxConcatArgument output to match FFmpeg format --- FFMpegCore/FFMpeg/Arguments/DemuxConcatArgument.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FFMpegCore/FFMpeg/Arguments/DemuxConcatArgument.cs b/FFMpegCore/FFMpeg/Arguments/DemuxConcatArgument.cs index 1378359..6975252 100644 --- a/FFMpegCore/FFMpeg/Arguments/DemuxConcatArgument.cs +++ b/FFMpegCore/FFMpeg/Arguments/DemuxConcatArgument.cs @@ -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 Values; public DemuxConcatArgument(IEnumerable values) { - Values = values; + Values = values.Select(value => $"'file '{value}'"); } private readonly string _tempFileName = Path.Combine(FFMpegOptions.Options.TempDirectory, Guid.NewGuid() + ".txt");