Skip muxing from input if input is frames, not a video

This commit is contained in:
N00MKRAD
2021-04-05 12:04:23 +02:00
parent 9287ec6b77
commit dae349460c
2 changed files with 9 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ using I = Flowframes.Interpolate;
using System.Diagnostics;
using Flowframes.Data;
using Flowframes.Media;
using Microsoft.VisualBasic.Logging;
namespace Flowframes.Main
{
@@ -231,6 +232,12 @@ namespace Flowframes.Main
bool muxFromInput = Config.GetInt("audioSubTransferMode") == 0;
if (muxFromInput && I.current.inputIsFrames)
{
Logger.Log("Skipping muxing from input step as there is no input video, only frames.", true);
return;
}
try
{
if (muxFromInput)