#include "dcpomatic_time.h"
#include "rgba.h"
#include "ffmpeg_stream.h"
+#include <boost/thread/mutex.hpp>
#include <map>
class FFmpegSubtitleStream : public FFmpegStream
std::map<RGBA, RGBA> colours () const;
private:
+ /** mutex to protect _colours as it can be set from the "examine FFMpeg subtitles" job thread */
+ mutable boost::mutex _mutex;
std::map<RGBA, RGBA> _colours;
};