Simplifies and improves code. Removes some duplication
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
2020-05-12 00:19:01 +02:00
parent 9673266c09
commit e1256f61c7
10 changed files with 237 additions and 221 deletions

View File

@ -35,7 +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);
addAudioStreams(command, audioStream, false);
FFMpegHelper.addAudioStreams(command, audioStream, false);
return command.toArray(new String[0]);
}