bramp / ffmpeg-cli-wrapper

Java wrapper around the FFmpeg command line tool
BSD 2-Clause "Simplified" License
1.73k stars 413 forks source link

Passlog files not deleted when custom pass directory is set #287

Open jakubzieba opened 1 year ago

jakubzieba commented 1 year ago

Describe the bug When you set custom pass directory via builder (FFmpegBuilder().setPassDirectory()), generated passlog files is not deleted because in deletPassLog function https://github.com/bramp/ffmpeg-cli-wrapper/blob/master/src/main/java/net/bramp/ffmpeg/job/TwoPassFFmpegJob.java#L41 this directory is not use but always "" is set

Expected behavior All passlog files should be deleted when custom pass directory is set

Version (if applicable):