diff options
Diffstat (limited to 'src/lib/ffmpeg_subtitle_stream.h')
| -rw-r--r-- | src/lib/ffmpeg_subtitle_stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_subtitle_stream.h b/src/lib/ffmpeg_subtitle_stream.h index 064c72f8d..85c4df889 100644 --- a/src/lib/ffmpeg_subtitle_stream.h +++ b/src/lib/ffmpeg_subtitle_stream.h @@ -38,5 +38,7 @@ public: 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; }; |
