mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
6be9690527
commit
59e5ceb455
1 changed files with 0 additions and 19 deletions
|
@ -22,25 +22,6 @@ private FFMpegArguments() { }
|
|||
|
||||
private string GetText()
|
||||
{
|
||||
//var sb = new StringBuilder();
|
||||
//var appendSpace = false;
|
||||
|
||||
//foreach (var arg in _globalArguments.Arguments.Concat(Arguments))
|
||||
//{
|
||||
// if (appendSpace)
|
||||
// {
|
||||
// sb.Append(' ');
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// appendSpace = true;
|
||||
// }
|
||||
|
||||
// sb.Append(arg is IDynamicArgument dynArg ? dynArg.GetText(sb) : arg.Text);
|
||||
//}
|
||||
|
||||
//return sb.ToString();
|
||||
|
||||
var allArguments = _globalArguments.Arguments.Concat(Arguments).ToArray();
|
||||
return string.Join(" ", allArguments.Select(arg => arg is IDynamicArgument dynArg ? dynArg.GetText(allArguments) : arg.Text));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue