Make the previous compile.
authorCarl Hetherington <cth@carlh.net>
Fri, 11 Jan 2013 19:30:44 +0000 (19:30 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 11 Jan 2013 19:30:44 +0000 (19:30 +0000)
src/lib/encoder.cc

index ef886689772397e9117f653f58d26c46f2d6a522..731a39042ea0a8be2993aee073a75334192eb5a7 100644 (file)
@@ -577,8 +577,8 @@ Encoder::writer_thread ()
 {
        while (1)
        {
-               TIMING ("writer sleeps");
                boost::mutex::scoped_lock lock (_writer_mutex);
+               TIMING ("writer sleeps with a queue of %1", _write_queue.size());
                while (_write_queue.empty() && !_terminate_writer) {
                        _writer_condition.wait (lock);
                }