Don't share _terminate.
authorCarl Hetherington <cth@carlh.net>
Wed, 2 Sep 2015 16:03:50 +0000 (17:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 2 Sep 2015 16:03:50 +0000 (17:03 +0100)
commitb010bf3a39efe65db2251fbbf2640b2d9e539200
tree61ac0f5144e0f4dd6c8a19e8101271ca09b76e9c
parent73d54683d5e034b56e2edca968b477bb1b3a9603
Don't share _terminate.

_terminate was being shared between enqueue() and the encoding
threads so that when terminating and recreating the encoding
threads any pending enqueue() was dropped (#683).
ChangeLog
src/lib/encoder.cc
src/lib/encoder.h