Open EkslV opened 5 years ago
Maybe my question related to this issue https://github.com/bravobit/FFmpeg-Android/issues/90
I have followed the logic of sendQuitSignal() FFcommandExecuteAsyncTask.java class line 129.
sendQuitSignal()
At this time work while checkAndUpdateProcess() and it cames to line 106 where you make:
process = null; return;
it goes to line 49 where I get:
Error running FFmpeg binary java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Process.exitValue()' on a null object reference
because CommandResult.getOutputFromProcess(process) on process that is null.
CommandResult.getOutputFromProcess(process)
and after it goes to finally Util.destroyProcess(process); on a null so process.destroy() not happend.
Util.destroyProcess(process);
process.destroy()
did you have the opportunity to fix it? or give me some advice how I can fix it?
To add a little bit about this issue, I've also got this error, here are my step
Maybe my question related to this issue https://github.com/bravobit/FFmpeg-Android/issues/90
I have followed the logic of
sendQuitSignal()
FFcommandExecuteAsyncTask.java class line 129.At this time work while checkAndUpdateProcess() and it cames to line 106 where you make:
it goes to line 49 where I get:
because
CommandResult.getOutputFromProcess(process)
on process that is null.and after it goes to finally
Util.destroyProcess(process);
on a null soprocess.destroy()
not happend.did you have the opportunity to fix it? or give me some advice how I can fix it?