fix some hooks issues

pull/276/head
Mikael Finstad 6 years ago
parent 55131fde62
commit 6e9bb876f4

@ -657,8 +657,9 @@ const App = memo(() => {
} }
}, [ }, [
effectiveRotation, apparentCutSegments, invertCutSegments, inverseCutSegments, effectiveRotation, apparentCutSegments, invertCutSegments, inverseCutSegments,
working, duration, filePath, keyframeCut, detectedFileFormat, extraStreams, working, duration, filePath, keyframeCut, detectedFileFormat,
autoMerge, customOutDir, fileFormat, haveInvalidSegs, copyStreamIds, numStreamsToCopy, autoMerge, customOutDir, fileFormat, haveInvalidSegs, copyStreamIds, numStreamsToCopy,
exportExtraStreams, nonCopiedExtraStreams,
]); ]);
// TODO use ffmpeg to capture frame // TODO use ffmpeg to capture frame
@ -826,7 +827,7 @@ const App = memo(() => {
} finally { } finally {
setWorking(false); setWorking(false);
} }
}, [customOutDir, filePath]); }, [customOutDir, filePath, mainStreams]);
function onExtractAllStreamsPress() { function onExtractAllStreamsPress() {
extractAllStreams(); extractAllStreams();

Loading…
Cancel
Save