Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

getLastCommandOutput() returns incomplete result after execution  #211

@iammert

Description

@iammert

Description
FFmpeg.getLastCommandOutput() returns incomplete result after execution. But Config.enableLogCallback{ } still emitting values and complete values after execution is completed.

Expected behavior
I think FFmpeg.getLastCommandOutput() should return complete result if it is called after FFmpeg.execute() operation is complete. And also Config.enableLogCallback{ } should stop emitting value after FFmpeg.execute() operation returns a value.

Code Sample

Config.enableLogCallback {
        Log.v(TAG, "Logging: ${FFmpeg.getLastCommandOutput().contains("Audio")"}
}
        
val result = FFmpeg.execute(command)
Log.v(TAG, "Result: ${FFmpeg.getLastCommandOutput().contains("Audio")"}

Output:

Logging: false
...
Logging: false
Result: false
Logging: false
...
Logging: true
...
Logging: true

Environment

  • Platform: Android
  • Architecture: arm64-v8a

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions