kopia lustrzana https://github.com/mifi/lossless-cut
Fix merging code #96
I don't know why I did that. Sorting of segments can now be done from the menupull/523/head
rodzic
e593303411
commit
8ee924529e
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue