projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Protect playlist with a mutex so that we can add content safely from e.g. examine...
[dcpomatic.git]
/
src
/
lib
/
playlist.h
diff --git
a/src/lib/playlist.h
b/src/lib/playlist.h
index 7dbf416041d8bf4bfa555bf45341ee01e04af812..cd902d223d0f0944f5fd550f60805d2f8546dc12 100644
(file)
--- a/
src/lib/playlist.h
+++ b/
src/lib/playlist.h
@@
-90,6
+90,7
@@
private:
bool _sequence_video;
bool _sequencing_video;
std::list<boost::signals2::connection> _content_connections;
+ mutable boost::mutex _mutex;
};
#endif