Esempio n. 1
0
        private string PrepareScript()
        {
            if (RenderTarget == null)
            {
                throw new InvalidOperationException(nameof(RenderTarget));
            }

            string content = _presetBuilderService.Build(RenderTarget,
                                                         _session.CurrentPreset,
                                                         _session.InputFiles,
                                                         OutputPath,
                                                         FFmpegPath,
                                                         FileHandlingMode);

            return(content);
        }