Remove some more unnecessary use of shared_ptr.
[dcpomatic.git] / src / lib / encoder.h
index 19c1120b360f789fd8af1ef76ccf85a97e494337..24217b1244179648e0e55cfa85298836734e711c 100644 (file)
@@ -23,6 +23,7 @@
 #define DCPOMATIC_ENCODER_H
 
 
+#include "player.h"
 #include "player_text.h"
 #include "types.h"
 #include <boost/signals2.hpp>
@@ -62,7 +63,7 @@ public:
 protected:
        std::shared_ptr<const Film> _film;
        std::weak_ptr<Job> _job;
-       std::shared_ptr<Player> _player;
+       Player _player;
 };