1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 02:12:30 +01:00

Fix indentation

This commit is contained in:
Mikael Finstad 2017-09-14 19:30:34 +02:00
parent 61a13ceabe
commit 095ffd6229

View File

@ -262,16 +262,16 @@ class App extends React.Component {
progress => this.onCutProgress(progress), progress => this.onCutProgress(progress),
); );
} catch (err) { } catch (err) {
console.error('stdout:', err.stdout); console.error('stdout:', err.stdout);
console.error('stderr:', err.stderr); console.error('stderr:', err.stderr);
if (err.code === 1 || err.code === 'ENOENT') { if (err.code === 1 || err.code === 'ENOENT') {
return alert('Whoops! ffmpeg was unable to cut this video. It may be of an unknown format or codec combination'); return alert('Whoops! ffmpeg was unable to cut this video. It may be of an unknown format or codec combination');
} }
return ffmpeg.showFfmpegFail(err); return ffmpeg.showFfmpegFail(err);
} finally { } finally {
this.setState({ working: false }); this.setState({ working: false });
} }
} }
capture() { capture() {