Protect playlist with a mutex so that we can add content safely from e.g. examine...
[dcpomatic.git] / src / lib / playlist.h
index e39e9f51f96aa13148a4c4b48c8066ca9c135904..cd902d223d0f0944f5fd550f60805d2f8546dc12 100644 (file)
@@ -29,8 +29,8 @@
 class Content;
 class FFmpegContent;
 class FFmpegDecoder;
-class ImageMagickContent;
-class ImageMagickDecoder;
+class StillImageMagickContent;
+class StillImageMagickDecoder;
 class SndfileContent;
 class SndfileDecoder;
 class Job;
@@ -90,6 +90,7 @@ private:
        bool _sequence_video;
        bool _sequencing_video;
        std::list<boost::signals2::connection> _content_connections;
+       mutable boost::mutex _mutex;
 };
 
 #endif