ofxFFmpegRecorder bugs

I guess @Furkanzmc is inactive, but this is a somewhat popular addon, right?

I was having the same issue as the person here and commented as well:

Sometimes crashes when stop is called · Issue #4 · Furkanzmc/ofxFFmpegRecorder (github.com)

Can anyone explain why this bug is happening and why sleeping for 100ms but not 50ms works? It seems to be related to threading… I imagine there’d be some variance if I ran in release mode instead of debug mode as well…