Skip to content

Commit 39b2f82

Browse files
authored
fixed isFFmpegCommandRunning()
1 parent 73af55a commit 39b2f82

File tree

1 file changed

+1
-1
lines changed
  • FFmpegAndroid/src/main/java/com/github/hiteshsondhi88/libffmpeg

1 file changed

+1
-1
lines changed

FFmpegAndroid/src/main/java/com/github/hiteshsondhi88/libffmpeg/FFmpeg.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public String getLibraryFFmpegVersion() {
120120

121121
@Override
122122
public boolean isFFmpegCommandRunning() {
123-
return ffmpegExecuteAsyncTask != null && !ffmpegExecuteAsyncTask.isProcessCompleted();
123+
return ffmpegExecuteAsyncTask != null || !ffmpegExecuteAsyncTask.isProcessCompleted();
124124
}
125125

126126
@Override

0 commit comments

Comments
 (0)