Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App freeze when output file exists #19

Closed
lkischler opened this issue Oct 10, 2017 · 1 comment
Closed

App freeze when output file exists #19

lkischler opened this issue Oct 10, 2017 · 1 comment
Labels

Comments

@lkischler
Copy link
Contributor

When I try to get snapshot and output file just exists conversion will freeze. I expect some exception or break with error.

@lkischler lkischler added the bug label Oct 10, 2017
@tomaszzmuda
Copy link
Owner

tomaszzmuda commented Oct 14, 2017

Done.
Now before the FFmpeg process starts, it's validate if output file exists.
If exists return IOException.
Commit link

EDIT
Added "-n" option to Conversion. It's added in every call except when your own params are passed in.
The "-n" flag defines if ffmpeg should immediately stop when destination file exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants