-
Notifications
You must be signed in to change notification settings - Fork 627
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
file descriptor leak #35
Comments
@tanersener the same application using mobile-ffmpeg instead of ffmpegkit does not have this problem |
In |
you should run lsof using the user of the app using run-as |
Thanks for reporting this issue. My tests confirm that there is a problem there. This issue originates from |
Fixed in |
Expected behavior
file should be closed
Current behavior
dont close files after command execution
To Reproduce
compile and install a debuggable application that use ffmpegkit
ex:
FFmpegKit.executeAsync("-hide_banner -y -f s16le -ar 16000 -i $pcmPath -ac 1 -c:a libvorbis -f ogg $oggPath")
now:
adb shell
run-as [package name]
lsof | grep [package name]
you will see that the input and output files remain open after command execution
Screenshots
^^leaked file descriptor
Environment
The text was updated successfully, but these errors were encountered: