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

FFmpegLoadLibraryAsyncTask.onPostExecute never gets called #368

Open
fmmarzoa opened this issue Jan 25, 2021 · 0 comments
Open

FFmpegLoadLibraryAsyncTask.onPostExecute never gets called #368

fmmarzoa opened this issue Jan 25, 2021 · 0 comments

Comments

@fmmarzoa
Copy link

fmmarzoa commented Jan 25, 2021

Hi,

I'm writing an app in Kotlin, using an Android 9 device for debugging, and when I try to load the ffmpeg executable the onPostExecute method of the FFmpegLoadLibraryAsyncTask never gets called for unknown reasons.

I have set up breakpoints here and there and I see that the doInBackground method is executed as expected and it must be returning true at the end (return ffmpegFile.exists() && ffmpegFile.canExecute() since both of these are true), but then the onPostExecute method of the AsyncTask is never called and so my own FFmpegLoadBinaryResponseHandler callbacks that should be called from there aren't neither.

Any ideas on how to fix this?

I'm thinking that maybe something to do with using Kotlin, since I'm using this same library in other project with Java and running it in the same phone works as expected.

Thanks,
Fran

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

No branches or pull requests

1 participant