Remove in-place translations support.
[dcpomatic.git] / src / lib / butler.h
index bac94a74297e8f785ed38211d59683564aea8ae6..6bb0467af1f526ed5670dde6237511c47cc0f8df 100644 (file)
@@ -28,6 +28,7 @@
 #include "change_signaller.h"
 #include "exception_store.h"
 #include "text_ring_buffers.h"
+#include "text_type.h"
 #include "video_ring_buffers.h"
 #include <boost/asio.hpp>
 #include <boost/signals2.hpp>
@@ -50,7 +51,7 @@ public:
 
        Butler (
                std::weak_ptr<const Film> film,
-               std::shared_ptr<Player> player,
+               Player& player,
                AudioMapping map,
                int audio_channels,
                std::function<AVPixelFormat (AVPixelFormat)> pixel_format,
@@ -105,7 +106,7 @@ private:
        void seek_unlocked (dcpomatic::DCPTime position, bool accurate);
 
        std::weak_ptr<const Film> _film;
-       std::shared_ptr<Player> _player;
+       Player& _player;
        boost::thread _thread;
 
        VideoRingBuffers _video;