Try to fix intermittent deadlocks with encoding servers.
authorCarl Hetherington <cth@carlh.net>
Wed, 20 Jul 2016 09:21:13 +0000 (10:21 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 20 Jul 2016 09:21:13 +0000 (10:21 +0100)
commitb34310b4e90af1442363fe09db082d68e1721130
tree5d0dc102a52bd02db6bbb1f2ff8e4a046a2d3b39
parentc7354c8f2052d63b3d4e00da6b57956150c25dbe
Try to fix intermittent deadlocks with encoding servers.

Before this commit all encoding threads could be removed and then
::encode would always wait on _full_condition no matter what the
queue size.
ChangeLog
src/lib/encoder.cc