projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the _film member of Player a weak_ptr.
[dcpomatic.git]
/
src
/
lib
/
player.h
diff --git
a/src/lib/player.h
b/src/lib/player.h
index 0d288824e8d28eaf359ec9396fc54a362a01e17f..6e83da103df66d8444171025230c8912dc59e702 100644
(file)
--- a/
src/lib/player.h
+++ b/
src/lib/player.h
@@
-173,7
+173,7
@@
private:
*/
mutable boost::mutex _mutex;
- std::
shared
_ptr<const Film> const _film;
+ std::
weak
_ptr<const Film> const _film;
/** Playlist, or 0 if we are using the one from the _film */
std::shared_ptr<const Playlist> const _playlist;