
20 Aug
2005
20 Aug
'05
3:28 a.m.
Christopher Kohlhoff wrote:
There's a simpler way to do what you want. Just call demuxer.work_started() before calling demuxer.run(), and then call demuxer.work_finished() when you're ready to shut down.
These functions are provided to ensure that demuxer.run() does not exit when an asynchronous operation (the "work") is being carried out by something external to the demuxer (such as a thread).
I see, thanks!