A touch more debugging.
authorCarl Hetherington <cth@carlh.net>
Tue, 2 Oct 2012 23:31:47 +0000 (00:31 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 2 Oct 2012 23:31:47 +0000 (00:31 +0100)
src/lib/j2k_wav_encoder.cc

index e152a771b8daee1024275aff4da68e4b49235413..2f892948d314f62f0751707454b1952682b411b9 100644 (file)
@@ -206,6 +206,7 @@ J2KWAVEncoder::encoder_thread (ServerDescription* server)
                        frame_done (vf->frame ());
                } else {
                        lock.lock ();
+                       _log->log (String::compose ("Encoder thread %1 pushes frame %2 back onto queue after failure", pthread_self(), vf->frame()));
                        _queue.push_front (vf);
                        lock.unlock ();
                }