diff --git a/src/App.jsx b/src/App.jsx
index 1414af56..f3897b06 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -674,7 +674,7 @@ const App = memo(() => {
return { cancel: false, newCustomOutDir };
}, [customOutDir, setCustomOutDir]);
- const userConcatFiles = useCallback(async ({ paths, allStreams, fileFormat: fileFormat2, isCustomFormatSelected: isCustomFormatSelected2 }) => {
+ const userConcatFiles = useCallback(async ({ paths, includeAllStreams, fileFormat: fileFormat2, isCustomFormatSelected: isCustomFormatSelected2 }) => {
if (workingRef.current) return;
try {
setConcatDialogVisible(false);
@@ -695,7 +695,7 @@ const App = memo(() => {
}
// console.log('merge', paths);
- await ffmpegMergeFiles({ paths, outPath, outDir, fileFormat: fileFormat2, allStreams, ffmpegExperimental, onProgress: setCutProgress, preserveMovData, movFastStart, preserveMetadataOnMerge, chapters: chaptersFromSegments });
+ await ffmpegMergeFiles({ paths, outPath, outDir, fileFormat: fileFormat2, includeAllStreams, ffmpegExperimental, onProgress: setCutProgress, preserveMovData, movFastStart, preserveMetadataOnMerge, chapters: chaptersFromSegments });
openDirToast({ icon: 'success', dirPath: outDir, text: i18n.t('Files merged!') });
} catch (err) {
if (isOutOfSpaceError(err)) {
diff --git a/src/components/ConcatDialog.jsx b/src/components/ConcatDialog.jsx
index 3ebe5f09..4a2633fd 100644
--- a/src/components/ConcatDialog.jsx
+++ b/src/components/ConcatDialog.jsx
@@ -43,7 +43,7 @@ const ConcatDialog = memo(({
const { t } = useTranslation();
const [paths, setPaths] = useState(initialPaths);
- const [allStreams, setAllStreams] = useState(false);
+ const [includeAllStreams, setIncludeAllStreams] = useState(false);
const [sortDesc, setSortDesc] = useState();
const { fileFormat, setFileFormat, detectedFileFormat, setDetectedFileFormat, isCustomFormatSelected } = useFileFormatState();
@@ -90,7 +90,6 @@ const ConcatDialog = memo(({
title={t('Merge/concatenate files')}
isShown={isShown}
onCloseComplete={onHide}
- onConfirm={() => onConcat({ paths, allStreams, fileFormat, isCustomFormatSelected })}
topOffset="3vh"
width="90vw"
footer={(
@@ -98,7 +97,7 @@ const ConcatDialog = memo(({
{fileFormat && detectedFileFormat &&