Make it quicker to cancel an analyse subtitle job (#2486).
[dcpomatic.git] / src / lib / audio_analyser.cc
index e4dfc6bdeeea6744adee49a3e07534f5b71c9d43..687da9cef1741d8b26648264d067a5362cae5d60 100644 (file)
@@ -30,7 +30,6 @@
 #include "film.h"
 #include "filter.h"
 #include "playlist.h"
-#include "types.h"
 #include <dcp/warnings.h>
 extern "C" {
 #include <leqm_nrt.h>
@@ -136,7 +135,7 @@ AudioAnalyser::~AudioAnalyser ()
 void
 AudioAnalyser::analyse (shared_ptr<AudioBuffers> b, DCPTime time)
 {
-       LOG_DEBUG_AUDIO_ANALYSIS("Received %1 frames at %2", b->frames(), to_string(time));
+       LOG_DEBUG_AUDIO_ANALYSIS("AudioAnalyser received %1 frames at %2", b->frames(), to_string(time));
        DCPOMATIC_ASSERT (time >= _start);
        /* In bug #2364 we had a lot of frames arriving here (~47s worth) which
         * caused an OOM error on Windows.  Check for the number of frames being