summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-15 00:28:32 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-17 00:10:59 +0200
commit7d8d78c183656191ff44c9464e06b843bfadc54d (patch)
treefaaca79c98662546e6d41a14650780257344cf37 /src/lib/encoder.h
parentbfd6bd32b5e20c479170452a66cb44eff59feacd (diff)
Remove some more unnecessary use of shared_ptr.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 19c1120b3..24217b124 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -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;
};