Closed RyanMarcus closed 6 years ago
So we can refer back to it later, what sort of resource leak warnings were you getting? Are they Python messages? Or something from ffmpeg?
The errors were Python errors, coming from an execution of a unit test with python3 -m unittest. I think it enables these sorts of warning if an FD is left open after a test finishes.
I will copy/paste an error later tonight.
Awesome; thanks for clarifying! I merged the changes. :sparkles:
This change is triggering a segfault in Beets, see https://github.com/beetbox/audioread/issues/62
Hello!
Thanks for all the hard work putting this library together! It made quickly combining two audio files I had super easy.
This PR just closes the /dev/null, stdout, and stderr FDs when in FFmpeg mode to avoid resource leak warnings.
Let me know if there are any issues,
Ryan