pull/554/head
Mikael Finstad 2020-12-11 16:41:59 +01:00
rodzic f481f21c36
commit 8c8fa8e4c9
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -632,10 +632,11 @@ const App = memo(() => {
const ext = extname(firstPath);
const outPath = getOutPath(newCustomOutDir, firstPath, `merged${ext}`);
const outDir = getOutDir(customOutDir, firstPath);
// console.log('merge', paths);
await ffmpegMergeFiles({ paths, outPath, allStreams, ffmpegExperimental, onProgress: setCutProgress, preserveMovData, preserveMetadataOnMerge });
openDirToast({ icon: 'success', dirPath: outputDir, text: i18n.t('Files merged!') });
openDirToast({ icon: 'success', dirPath: outDir, text: i18n.t('Files merged!') });
} catch (err) {
errorToast(i18n.t('Failed to merge files. Make sure they are all of the exact same codecs'));
console.error('Failed to merge files', err);