diff --git a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandRorderStreams/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandRorderStreams/1.0.0/index.ts index 758818c..a1f3a11 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandRorderStreams/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandRorderStreams/1.0.0/index.ts @@ -111,13 +111,13 @@ const plugin = (args: IpluginInputArgs): IpluginOutputArgs => { let streams: IffmpegCommandStream[] = JSON.parse(JSON.stringify(args.variables.ffmpegCommand.streams)); - const originalStreams = JSON.stringify(streams); - streams.forEach((stream, index) => { // eslint-disable-next-line no-param-reassign stream.typeIndex = index; }); + const originalStreams = JSON.stringify(streams); + const sortStreams = (sortType: { inputs: string, getValue: (stream: Istreams) => string,