summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-23 15:00:56 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-23 15:00:56 +0200
commit4b7185e4eda53534c4d71a1f31ba33ca3dd8dc8d (patch)
treecdfd01b5b4eb7beaa2731af0c7c00aee9f0f51f8 /src/lib/player.h
parent86102d30bf0aad89115bbeb3d8aaa2a27a0aa432 (diff)
Add accessor for _playlist.
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index 82344604c..407f7651a 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -142,6 +142,7 @@ private:
void emit_video (boost::shared_ptr<PlayerVideo> pv, dcpomatic::DCPTime time);
void do_emit_video (boost::shared_ptr<PlayerVideo> pv, dcpomatic::DCPTime time);
void emit_audio (boost::shared_ptr<AudioBuffers> data, dcpomatic::DCPTime time);
+ boost::shared_ptr<const Playlist> playlist () const;
/** Mutex to protect the whole Player state. When it's used for the preview we have
seek() and pass() called from the Butler thread and lots of other stuff called