diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-13 10:59:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-13 10:59:47 +0000 |
| commit | a1a96da90403c0a16a9d9dcde9fd8b66da2daffe (patch) | |
| tree | b40d761929c721f86c3004358f486dd9197e7dab /src/lib/playlist.h | |
| parent | c984f807703fb113c3e53d9a61d38e1cc83bf196 (diff) | |
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.
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<const Film> film); + mutable boost::mutex _mutex; /** List of content. Kept sorted in position order. */ ContentList _content; bool _sequence; |
