From a1a96da90403c0a16a9d9dcde9fd8b66da2daffe Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 13 Mar 2019 10:59:47 +0000 Subject: Fix locking of Playlist to protect against access from the GUI thread and at the same time traces like Butler -> Content::end -> Playlist::active_frame_rate_change. --- src/lib/playlist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/playlist.h') diff --git a/src/lib/playlist.h b/src/lib/playlist.h index dd43ed2e3..a5dce1498 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -86,6 +86,7 @@ private: void disconnect (); void reconnect (boost::shared_ptr film); + mutable boost::mutex _mutex; /** List of content. Kept sorted in position order. */ ContentList _content; bool _sequence; -- cgit v1.2.3