beetbox / audioread

cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding for Python
MIT License
483 stars 108 forks source link

Fix deadlock in ffdec.available() #131

Closed mightbecharles closed 1 year ago

mightbecharles commented 1 year ago

Fixes #130 by changing wait() to communicate() to avoid deadlock

See https://docs.python.org/3/library/subprocess.html#subprocess.Popen.wait for context.

sampsyo commented 1 year ago

Perfect; thank you!