Fix encoder thread interruption.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 Jun 2016 16:15:07 +0000 (17:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 Jun 2016 16:15:07 +0000 (17:15 +0100)
commit41737ca62d65bcd6c25ec1080c0c7e0e6e6ae9b2
treec88b9fbfdf63e08d761c6e594e05279d9e45d6f2
parent795e5d916707da498acc7079ae1fb10aa6af6973
Fix encoder thread interruption.

When an encoder thread is interrupted we just want it silently
to stop, so catch boost::thread_interrupted separately and don't
pass it on.

I believe the interruption of jobs and subsequent catch of
boost::thread_interrupted will still work as that's the job thread
rather than the encoder threads.
src/lib/encoder.cc