We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403cd0c commit 96d8ccfCopy full SHA for 96d8ccf
FFmpegAndroid/src/main/java/com/github/hiteshsondhi88/libffmpeg/FFmpeg.java
@@ -120,7 +120,10 @@ public String getLibraryFFmpegVersion() {
120
121
@Override
122
public boolean isFFmpegCommandRunning() {
123
- return ffmpegExecuteAsyncTask != null || !ffmpegExecuteAsyncTask.isProcessCompleted();
+ if (ffmpegExecuteAsyncTask == null)
124
+ return false;
125
+ else
126
+ return !ffmpegExecuteAsyncTask.isProcessCompleted();
127
}
128
129
0 commit comments