From 6e9bb876f48d70df8c2cb9c36b03770c83d272a6 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Thu, 20 Feb 2020 12:07:05 +0800 Subject: [PATCH] fix some hooks issues --- src/renderer.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer.jsx b/src/renderer.jsx index 31901843..17c3eb24 100644 --- a/src/renderer.jsx +++ b/src/renderer.jsx @@ -657,8 +657,9 @@ const App = memo(() => { } }, [ effectiveRotation, apparentCutSegments, invertCutSegments, inverseCutSegments, - working, duration, filePath, keyframeCut, detectedFileFormat, extraStreams, + working, duration, filePath, keyframeCut, detectedFileFormat, autoMerge, customOutDir, fileFormat, haveInvalidSegs, copyStreamIds, numStreamsToCopy, + exportExtraStreams, nonCopiedExtraStreams, ]); // TODO use ffmpeg to capture frame @@ -826,7 +827,7 @@ const App = memo(() => { } finally { setWorking(false); } - }, [customOutDir, filePath]); + }, [customOutDir, filePath, mainStreams]); function onExtractAllStreamsPress() { extractAllStreams();