Fixes a bug with an invalid command for audio conversion
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2020-10-12 20:18:03 +02:00
parent 9f96c84b9e
commit 1fe99a0fa4

View File

@ -35,6 +35,7 @@ public class AudioConverter extends AbstractConverter {
//Gets the first audio stream from the file and adds it to the output file
AudioStream audioStream = getFirstAudioSteam(streams);
FFMpegHelper.addAudioStream(command, audioStream, false);
command.add(outFile);
return command.toArray(new String[0]);
}