y4mdenoise would sometimes hang if an earlier process in the pipeline
quit unexpectedly, preventing the pipeline from cleaning up properly. The read-ahead thread just has to wake up its client before it exits with an error, and now it works.
Authored by: ulatec 2009-04-22
Parent: [r3243]
Child: [r3245]