Cleanup: handle Filter objects by value rather than by reference.
[dcpomatic.git] / src / lib / encoder.h
index 19c1120b360f789fd8af1ef76ccf85a97e494337..9b67720d361cc56931fa39867b20e70003bd08ae 100644 (file)
@@ -23,8 +23,8 @@
 #define DCPOMATIC_ENCODER_H
 
 
+#include "player.h"
 #include "player_text.h"
-#include "types.h"
 #include <boost/signals2.hpp>
 
 
@@ -62,7 +62,7 @@ public:
 protected:
        std::shared_ptr<const Film> _film;
        std::weak_ptr<Job> _job;
-       std::shared_ptr<Player> _player;
+       Player _player;
 };