From 93db09664e7f8c881b3cbbb716c038e9638942d0 Mon Sep 17 00:00:00 2001 From: John Andrews Date: Fri, 15 Nov 2024 08:52:11 +1300 Subject: [PATCH] - FF-1892: FFmpeg Builder Audio Add Track now has ability to set a filter on the new track --- .../Audio/FfmpegBuilderAudioAddTrack.cs | 18 +++++++++++++++--- VideoNodes/i18n/de.json | 2 ++ VideoNodes/i18n/en.json | 2 ++ VideoNodes/i18n/es.json | 2 ++ VideoNodes/i18n/fr.json | 2 ++ VideoNodes/i18n/it.json | 2 ++ VideoNodes/i18n/ja.json | 2 ++ VideoNodes/i18n/ko.json | 2 ++ VideoNodes/i18n/nl.json | 2 ++ VideoNodes/i18n/pt.json | 2 ++ VideoNodes/i18n/ru.json | 2 ++ VideoNodes/i18n/sv.json | 2 ++ VideoNodes/i18n/zh.json | 2 ++ VideoNodes/i18n/zht.json | 2 ++ 14 files changed, 41 insertions(+), 3 deletions(-) diff --git a/VideoNodes/FfmpegBuilderNodes/Audio/FfmpegBuilderAudioAddTrack.cs b/VideoNodes/FfmpegBuilderNodes/Audio/FfmpegBuilderAudioAddTrack.cs index 254a60ad..20d8096f 100644 --- a/VideoNodes/FfmpegBuilderNodes/Audio/FfmpegBuilderAudioAddTrack.cs +++ b/VideoNodes/FfmpegBuilderNodes/Audio/FfmpegBuilderAudioAddTrack.cs @@ -20,7 +20,6 @@ public class FfmpegBuilderAudioAddTrack : TrackSelectorFlowElement public override int Outputs => 2; - /// /// Gets or sets the index to insert this track /// @@ -164,14 +163,19 @@ public class FfmpegBuilderAudioAddTrack : TrackSelectorFlowElement + /// Gets or sets an optional filter for the new track + /// + [TextVariable(10)] + public string Filter { get; set; } + /// /// Gets or sets if the title of the new track should be removed /// - [Boolean(10)] + [Boolean(11)] public bool RemoveTitle { get; set; } /// /// Gets or sets the title of the new track /// - [TextVariable(11)] + [TextVariable(12)] [ConditionEquals(nameof(RemoveTitle), false)] public string NewTitle { get; set; } @@ -195,6 +199,7 @@ public class FfmpegBuilderAudioAddTrack : TrackSelectorFlowElement