Fix duplicate name of _mutex in ExceptionStore and some of its children.
[dcpomatic.git] / src / lib / writer.h
index 3455bfd839797c0444b26c3c0f4df708bc188700..be1d3f69ea623c935f40ad687008181bf5290865 100644 (file)
@@ -24,6 +24,7 @@
 #include "types.h"
 #include "player_subtitles.h"
 #include "data.h"
+#include "exception_store.h"
 #include <dcp/picture_asset_writer.h>
 #include <boost/shared_ptr.hpp>
 #include <boost/weak_ptr.hpp>
@@ -134,7 +135,7 @@ private:
        /** number of FULL frames whose JPEG200 data is currently held in RAM */
        int _queued_full_in_memory;
        /** mutex for thread state */
-       mutable boost::mutex _mutex;
+       mutable boost::mutex _state_mutex;
        /** condition to manage thread wakeups when we have nothing to do  */
        boost::condition _empty_condition;
        /** condition to manage thread wakeups when we have too much to do */