Fix merging code #96

I don't know why I did that.
Sorting of segments can now be done from the menu
pull/523/head
Mikael Finstad 2020-11-26 21:17:00 +01:00
rodzic e593303411
commit 8ee924529e
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -292,11 +292,10 @@ function getOutFileExtension({ isCustomFormatSelected, outFormat, filePath }) {
}
export async function cutMultiple({
customOutDir, filePath, segments: segmentsUnsorted, videoDuration, rotation,
customOutDir, filePath, segments, videoDuration, rotation,
onProgress, keyframeCut, copyFileStreams, outFormat, isCustomFormatSelected,
appendFfmpegCommandLog, shortestFlag, ffmpegExperimental, preserveMovData, avoidNegativeTs,
}) {
const segments = sortBy(segmentsUnsorted, 'cutFrom');
const singleProgresses = {};
function onSingleProgress(id, singleProgress) {
singleProgresses[id] = singleProgress;